1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/test/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
..
invalid-manglings.test llvm-undname: Fix an assert-on-invalid, found by oss-fuzz 2019-05-22 15:53:23 +00:00
ms-arg-qualifiers.test [MS Demangler] Fix some tests that are no longer broken. 2018-08-02 22:37:40 +00:00
ms-back-references.test [MS Demangler] Fix several crashes and demangling bugs. 2018-08-29 23:56:09 +00:00
ms-basic.test llvm-undname: add a missing CHECK: to a passing test 2019-04-16 13:30:50 +00:00
ms-conversion-operators.test Resubmit r339450 - [MS Demangler] Add conversion operator tests 2018-08-10 20:08:46 +00:00
ms-cxx11.test [MS Demangler] Print public:, protected:, private: if set in FunctionClass or a variable's StorageClass. 2018-11-13 20:18:26 +00:00
ms-cxx14.test [MS Demangler] Print public:, protected:, private: if set in FunctionClass or a variable's StorageClass. 2018-11-13 20:18:26 +00:00
ms-cxx17-noexcept.test [llvm-undname] Add support for demangling msvc's noexcept types. 2019-01-08 21:05:51 +00:00
ms-cxx20.test llvm-undname: Support demangling the spaceship operator 2019-04-23 16:20:27 +00:00
ms-mangle.test [MS Demangler] Fix a few more edge cases. 2018-08-21 21:23:49 +00:00
ms-md5.test llvm-undname: Make demangling of MD5 names more robust 2019-05-27 00:48:59 +00:00
ms-nested-scopes.test llvm-undname: Tweak arena allocator 2019-04-16 13:52:30 +00:00
ms-operators.test [MS Demangler] Print public:, protected:, private: if set in FunctionClass or a variable's StorageClass. 2018-11-13 20:18:26 +00:00
ms-return-qualifiers.test [MS Demangler] Fix some minor formatting bugs. 2018-08-14 18:54:28 +00:00
ms-string-literals.test llvm-undname: Fix assert-on->4GiB-string-literal, found by oss-fuzz 2019-04-24 16:09:38 +00:00
ms-template-callback.test [MS Demangler] Print public:, protected:, private: if set in FunctionClass or a variable's StorageClass. 2018-11-13 20:18:26 +00:00
ms-templates-memptrs-2.test [MS Demangler] Re-write the Microsoft demangler. 2018-08-27 03:48:03 +00:00
ms-templates-memptrs.test [MS Demangler] Print public:, protected:, private: if set in FunctionClass or a variable's StorageClass. 2018-11-13 20:18:26 +00:00
ms-templates.test [MS Demangler] Print public:, protected:, private: if set in FunctionClass or a variable's StorageClass. 2018-11-13 20:18:26 +00:00
ms-thunks.test [MS Demangler] Print public:, protected:, private: if set in FunctionClass or a variable's StorageClass. 2018-11-13 20:18:26 +00:00
ms-windows.test Add a Microsoft Demangler. 2018-07-20 17:27:48 +00:00