62 Commits

Author SHA1 Message Date
pancake
32a38d7c9b Remove the use of -ggdb 2017-02-01 22:32:11 +01:00
pancake
6ef17225de Fix warning 2017-01-16 01:55:03 +01:00
pancake
50d73d1547 Fix a lot of memleaks, null derefs and undef behaviour thanks to clang-analyzer 2016-12-19 16:44:51 +01:00
pancake
113fc640ea Cache asm.dwarf.* and clean warnings 2016-11-23 10:30:44 +01:00
pancake
be9df39f6f Fixed 40 null derefs reported by coverity 2016-10-20 15:02:25 +02:00
BlueC0re
00d74d68e1 fixed array types in parsing routines + added special case for char[] (#5696)
Interpret char[] as char* in the pf format (use z instead of c).
2016-09-05 12:17:01 +02:00
pancake
90e9ac8f69 Fix tcc build 2016-05-09 11:51:53 +02:00
Damien Zammit
351df0c2b7 Fix OSX build (#4810) 2016-05-09 09:52:54 +02:00
pancake
bbbe3a2519 This should fix #4360 - not tested because t seems broken 2016-03-22 21:09:56 +01:00
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
pancake
f09f4770b3 Update configure script and fix type punned issues in tcc 2016-02-06 23:14:05 +01:00
pancake
ccfee9fcca Fix many important issues reported by clang-analyzer 2015-11-22 11:27:45 +01:00
pancake
b0ab964303 More vulnfixes reported by clang-analyzer 2015-11-02 12:44:06 +01:00
XVilka
720341c2df Improve -fPIC handling, take 2 2015-10-09 22:24:15 +03:00
Anton Kochkov
1b3f471920 Fix a typo for shlr/tcc compilation 2015-10-05 19:02:30 +03:00
pancake
cd767ccaf4 Fix Android build 2015-09-24 03:36:06 +02:00
pancake
fbdf0e8fde Fix some more COVs 2015-07-25 02:10:31 +02:00
Álvaro Felipe Melchor
78d5a78609 Fix COVS 2015-06-04 21:27:41 +02:00
pancake
08d7137ef1 Fix #2212 - TinyCC struct parse crash 2015-03-23 01:14:44 +01:00
pancake
515b2e77bc Fix about 40 COVs related to memleaks and buffer overflows 2015-03-21 01:27:54 +01:00
Jeffrey Crowell
193c9dece0 Fix COV CID 1271010 2015-02-21 11:02:21 -05:00
pancake
25854f7f5f Honor original filepath and /usr/include for include files
- This must be configurable (-I)
2015-02-20 03:18:36 +01:00
jvoisin
b8cdd7c0f7 Even more coverifix 2015-02-11 21:51:13 +01:00
pancake
a2c3647ad0 Somewhat better BoostJam support 2014-10-26 02:47:08 +02:00
pancake
c9754da05f Initial support for function declarations in Cparse (loaded into sdb) 2014-10-14 11:55:02 +02:00
pancake
d6aeae624f Implement te,tb,tk and pf E, pf B to handle enum and bitfields 2014-09-21 01:39:18 +02:00
pancake
78570590dc Add reverse resolution for cmd_types 2014-08-10 15:52:00 +02:00
jvoisin
7bc61c81ef Fix last tcc coverity warn 2014-08-04 02:09:01 +02:00
Anton Kochkov
445dde9ba8 More improvements for cygwin and mingw32 building 2014-07-10 02:21:41 +04:00
pancake
b3b5bfe8f3 Minor fix 2014-06-25 04:33:42 +02:00
pancake
377b5bb2fe Clean a huge list of warnings 2014-06-25 02:07:38 +02:00
jvoisin
cd07e58b10 Fix CID 1134611 2014-05-22 12:57:03 +02:00
pancake
7c709ff79a Fix 64bit tcc issue with enum32 on clang (trash init) 2014-05-22 12:37:21 +02:00
Anton Kochkov
6dfb761448 Fix CID 968205 2014-05-15 05:04:41 +04:00
pancake
a18a8748f3 Fix enum64 for windows 2014-03-28 16:22:41 +01:00
Fedor Sakharov
6a13979535 Support 64 bit enum values in tcc.
Fixes #209.
2014-03-28 11:12:00 +04:00
pancake
fad24ba146 Remove some warnings and unused code 2014-03-21 12:28:34 +01:00
pancake
e3b77a26ee Update return value of sdb_foreach callbacks 2014-03-08 01:06:31 +01:00
pancake
04826d8064 Some fixes to sync cparse with latest sdb 2014-02-18 01:59:40 +01:00
pancake
8b40a53080 Update sdb from git and fix 'test.cparse' 2014-02-08 03:09:03 +01:00
pancake
271824e65e Fix two minor warnings 2014-01-24 11:53:04 +01:00
David Martínez Moreno
11606b9e16 Removed .hgtags, remnant from a distant past.
Fixed the ifeq line.  Oops.
2014-01-01 21:11:07 -08:00
David Martínez Moreno
1fbeae231d Add .so as a suffix for libtcc on Linux, even when it's not being
installed.
2014-01-01 00:04:40 -08:00
David Martínez Moreno
06ed8553c6 Properly propagate LDFLAGS in libraries.
Debian fills up LDFLAGS with hardening flgs but for some libraries this
 parameter is not additive to the value from the environment but hardcoded.
2013-12-31 23:56:59 -08:00
pancake
13ea5e467d More Jamroot files and move vm out 2013-12-31 15:57:52 +01:00
pancake
79946ef2da Add @capi_x patch to fix Haiku's build 2013-11-12 23:55:57 +01:00
Anton Kochkov
172eb79fe7 Added 64bit C enum types support [stage 1] 2013-11-05 10:18:14 +04:00
Anton Kochkov
68844ea0f3 Removed sections stuff from C parsing code 2013-10-20 22:37:39 +04:00
Anton Kochkov
04e8ebff19 Removed unused code 2013-10-20 04:25:52 +04:00
pancake
ae97789986 Fix lot of warnings 2013-09-14 14:04:08 +02:00