]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - libiberty/testsuite/demangle-expected
* cp-demangle.h: Add comment explaining what to do to avoid
[thirdparty/binutils-gdb.git] / libiberty / testsuite / demangle-expected
index 3f5622f79b75a19371b905bc99efea2266212e63..56d9f8991557f004dab06c1be2554aaf27f1fba2 100644 (file)
@@ -3816,3 +3816,25 @@ f
 SASDASDFASDF_sdfsdf
 SASDASDFASDF_sdfsdf
 SASDASDFASDF_sdfsdf
+# These are all cases of invalid manglings where the demangler would read
+# past the end of the string.
+# d_name wasn't honouring a NULL from d_substitution
+--format=gnu-v3
+_ZSA
+_ZSA
+# d_expr_primary wasn't honouring NULL from cplus_demangle_mangled_name
+--format=gnu-v3
+_ZN1fIL_
+_ZN1fIL_
+# d_operator_name was taking two characters in a row
+--format=gnu-v3
+_Za
+_Za
+# d_prefix wasn't honouring NULL from d_substitution
+--format=gnu-v3
+_ZNSA
+_ZNSA
+# d_prefix wasn't honouring NULL from d_template_param
+--format=gnu-v3
+_ZNT
+_ZNT