1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00
llvm-mirror/lib/Demangle
Nico Weber 48d7e19e9e llvm-undname: Make demangling of MD5 names more robust
Demangler::parse() for MD5 names would:

1. Put all remaining text into the MD5 name sight unseen
2. Not modify MangledName

This meant that if the demangler recursively called parse() (e.g. in
demangleLocallyScopedNamePiece()), every recursive call that started on
an MD5 name would add all remaining bytes to the output buffer but
only advance the input by a byte.  For valid inputs, MD5 types are
never (well, see comments for 2 exceptions) nested, but for invalid
input this could cause memory use quadratic in the input size.

llvm-svn: 361744
2019-05-27 00:48:59 +00:00
..
CMakeLists.txt Move demangling function from llvm-objdump to Demangle library 2019-01-17 15:18:44 +00:00
Demangle.cpp Add missing include (cstdlib) to Demangle.h 2019-01-22 19:18:18 +00:00
ItaniumDemangle.cpp Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MicrosoftDemangle.cpp llvm-undname: Make demangling of MD5 names more robust 2019-05-27 00:48:59 +00:00
MicrosoftDemangleNodes.cpp llvm-undname: Support demangling the spaceship operator 2019-04-23 16:20:27 +00:00