tinycc/tests
Michael Matz be6d8ffc10 Fix access-after-free with statement expressions
The return value of statement expressions might refer to local
symbols, so those can't be popped.  The old error message always
was just a band-aid, and since disabling it for pointer types it
wasn't effective anyway.  It also never considered that also the
vtop->sym member might have referred to such symbols (see the
testcase with the local static, that used to segfault).

For fixing this (can be seen better with valgrind and SYM_DEBUG)
simply leave local symbols of stmt exprs on the stack.
2016-12-15 17:47:10 +01:00
..
pp tccpp: Fix macro_is_equal 2016-12-15 17:47:05 +01:00
tests2 struct-init: Support range inits for local vars 2016-12-15 17:47:09 +01:00
42test.h tccpp: Allow computed include like 42.h 2016-12-15 17:47:10 +01:00
abitest.c Revert "fix-mixed-struct (patch by Pip Cet)" 2015-07-29 16:57:41 -04:00
asmtest.S x86-64-asm: Implement cmpxchg16b 2016-12-15 17:47:10 +01:00
boundtest.c a bounds checking code for the ARCH=x86_64 2015-04-10 15:17:22 +03:00
gcctestsuite.sh Fix bashims in configure and gcctestsuite.sh. 2010-05-26 14:08:29 +02:00
libtcc_test.c tccelf: some linker cleanup 2016-12-15 17:01:22 +01:00
Makefile tests: add .so/.dll creation test 2016-12-15 17:04:07 +01:00
tcctest.c Fix access-after-free with statement expressions 2016-12-15 17:47:10 +01:00
tcctest.h tccpp: Implement __BASE_FILE__ macro 2016-12-15 17:47:08 +01:00
tcctest.py Added cross compilation to CMake build system. 2013-04-25 01:08:18 +01:00
testfp.c Remove misc. files 2016-10-01 20:27:41 +02:00
vla_test.c Improved variable length array support. 2013-04-27 22:58:52 +01:00