diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2017-04-27 10:44:28 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2017-04-27 10:44:28 +0100 |
commit | de3b531c9aa93592f98ebd99c6b35be632e3c1b3 (patch) | |
tree | 663a245b3b7b8a12f360f4e61851e6af2521dfde /libiberty/testsuite/demangle-expected | |
parent | e77e24291b85bcb1ae1c7c48d8194a66ba642974 (diff) | |
download | gcc-de3b531c9aa93592f98ebd99c6b35be632e3c1b3.zip gcc-de3b531c9aa93592f98ebd99c6b35be632e3c1b3.tar.gz gcc-de3b531c9aa93592f98ebd99c6b35be632e3c1b3.tar.bz2 |
PR demangler/80513 check for overflows and invalid characters in thunks
PR demangler/80513
* cp-demangle.c (d_number): Check for overflow.
* cplus-dem.c (consume_count): Fix overflow check.
(gnu_special): Check for underscore after thunk delta.
* testsuite/demangle-expected: Add tests for overflows and invalid
characters in thunks.
From-SVN: r247300
Diffstat (limited to 'libiberty/testsuite/demangle-expected')
-rw-r--r-- | libiberty/testsuite/demangle-expected | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected index 45c5722..f2a12b9 100644 --- a/libiberty/testsuite/demangle-expected +++ b/libiberty/testsuite/demangle-expected @@ -4720,3 +4720,18 @@ _ZdvMMMMMMMMMMMMMrrrrA_DTdvfp_fp_Eededilfdfdfdfd _Z1MA_aMMMMA_MMA_MMMMMMMMSt1MS_o11T0000000000t2M0oooozoooo _Z1MA_aMMMMA_MMA_MMMMMMMMSt1MS_o11T0000000000t2M0oooozoooo + +# +# demangler/80513 Test for overflow in d_number +_Z4294967297x +_Z4294967297x + +# +# demangler/80513 Test for bogus characters after __thunk_ +__thunk_16a_$_1x +__thunk_16a_$_1x + +# +# demangler/80513 Test for overflow in consume_count +__thunk_4294967297__$_1x +__thunk_4294967297__$_1x |