gcc/libiberty/testsuite
Marcel Böhme bfbc839a0b Demangler integer overflow fixes from Marcel Böhme.
PR c++/70498
	* cp-demangle.c: Parse numbers as integer instead of long to avoid
	overflow after sanity checks. Include <limits.h> if available.
	(INT_MAX): Define if necessary.
	(d_make_template_param): Takes integer argument instead of long.
	(d_make_function_param): Likewise.
	(d_append_num): Likewise.
	(d_identifier): Likewise.
	(d_number): Parse as and return integer.
	(d_compact_number): Handle overflow.
	(d_source_name): Change variable type to integer for parsed number.
	(d_java_resource): Likewise.
	(d_special_name): Likewise.
	(d_discriminator): Likewise.
	(d_unnamed_type): Likewise.
	* testsuite/demangle-expected: Add regression test cases.

From-SVN: r235767
2016-05-02 17:06:40 +00:00
..
d-demangle-expected d-demangle.c (dlang_call_convention): Handle extern Objective-C function calling convention. 2016-01-27 01:07:26 +00:00
demangle-expected Demangler integer overflow fixes from Marcel Böhme. 2016-05-02 17:06:40 +00:00
demangler-fuzzer.c
Makefile.in Makefile.tpl (EXTRA_HOST_EXPORTS): New variables. 2015-04-14 19:14:04 +03:00
test-demangle.c
test-expandargv.c
test-pexecute.c
test-strtol.c Cast strtol return to unsigned long 2014-11-12 08:24:30 -08:00