radare2/shlr/tcc
oddcoder 19992a16c1 treating #error as if it was #warning in to
added test https://github.com/radare/radare2-regressions/pull/335
the bug can be re generated by parsing header with a #error in there
the compile in the normal case will issue an error and terminate
but since no compilation is done we need to proceed parsign the file
and treating the errors as warning just to be able to get all the types
in the given file.
2016-03-16 10:41:49 +01:00
..
config.h Initial import of libr_tcc (make -C shlr tcc-sync) 2013-06-05 01:13:05 +02:00
COPYING Initial import of libr_tcc (make -C shlr tcc-sync) 2013-06-05 01:13:05 +02:00
Jamroot Somewhat better BoostJam support 2014-10-26 02:47:08 +02:00
libr_tcc.h Removed unused code 2013-10-20 04:25:52 +04:00
libtcc.c More vulnfixes reported by clang-analyzer 2015-11-02 12:44:06 +01:00
libtcc.h Initial import of the new cparse engine using sdb and tcc 2013-08-01 00:39:19 +02:00
Makefile Update configure script and fix type punned issues in tcc 2016-02-06 23:14:05 +01:00
README.md Implement te,tb,tk and pf E, pf B to handle enum and bitfields 2014-09-21 01:39:18 +02:00
stab.def Initial import of libr_tcc (make -C shlr tcc-sync) 2013-06-05 01:13:05 +02:00
stab.h Initial import of libr_tcc (make -C shlr tcc-sync) 2013-06-05 01:13:05 +02:00
tcc.h Update configure script and fix type punned issues in tcc 2016-02-06 23:14:05 +01:00
tccgen.c Fix many important issues reported by clang-analyzer 2015-11-22 11:27:45 +01:00
tcclib.h Initial import of libr_tcc (make -C shlr tcc-sync) 2013-06-05 01:13:05 +02:00
tccpp.c treating #error as if it was #warning in to 2016-03-16 10:41:49 +01:00
tcctok.h Initial import of libr_tcc (make -C shlr tcc-sync) 2013-06-05 01:13:05 +02:00
test.cparse Initial support for function declarations in Cparse (loaded into sdb) 2014-10-14 11:55:02 +02:00
VERSION Initial import of libr_tcc (make -C shlr tcc-sync) 2013-06-05 01:13:05 +02:00

TCC

This is a stripped down version of tcc without the code generators. So, we only use the C parser for loading structures, enums and function signatures into r2.

Main IO function:

tcc_appendf()

Appends sdb queries to be executed from the core anal.