Commit Graph

16 Commits

Author SHA1 Message Date
avsm
c0ed955730 update to cil-1.3.5, lots of nice fixes to parsing gcc/msvc code 2006-05-28 15:44:14 +00:00
espie
14b8289bb7 needless use of pre-fake 2005-10-18 19:09:46 +00:00
pvalchev
49beac3f28 move #ifdef __i386__ to actually include the inline x86 asm too
so this compiles on other arches, no binary change; ok avsm
2005-10-16 21:55:15 +00:00
avsm
2ca7d14245 - remove patch that is duplicated in distro
- trim configure patch for dup
- bump PKGNAME
From <andreas@zzlevo.net>
2005-10-16 15:52:31 +00:00
pvalchev
a494bb763b sync patches (linenumbers) 2005-10-08 08:06:52 +00:00
avsm
ce05143106 update to cil-1.3.3 2005-09-22 12:53:15 +00:00
avsm
3409fdf14f Add in a --dorandomvars which sets local variables to values other than
0 to try and find bugs which depend on them being initalized to 0.

Also turn off the other transformations by default (use --dokerneltrace
or --donullint)

Go get em Chad.
2005-05-27 21:46:23 +00:00
avsm
a06c692333 Add a 'kernel function call tracer' to automatically insert a call to
log() to certain functions in the kernel to help debugging.

An example use when building a kernel would be:
$ make CC='/usr/local/bin/cilly --trace-regexp=^cache_ --trace-level=0'
to instrument all functions starting with cache_* to notify syslog at
emergency log level.  The output also includes the contents of any
char/int/long arguments (pointers and structs not followed yet, too
verbose).

A full kernel build doesnt quite work with CIL yet so use selectively.
2005-05-27 06:31:52 +00:00
avsm
651641fb5a update to cil-1.3.2 2005-05-09 13:52:38 +00:00
naddy
3f04f8f321 SIZE 2005-01-05 16:22:24 +00:00
espie
6bec6cc34b WANTLIB markers 2004-11-23 11:22:00 +00:00
espie
f28f2a833d switch to new plist, killing a few install scripts along the way. 2004-09-14 23:43:54 +00:00
xsa
8f584f432e more new-style MODULES. 2004-08-10 20:41:47 +00:00
avsm
fa45ecd6a6 CIL also works on macppc now, hurrah 2004-06-22 20:57:25 +00:00
avsm
f92a5cd283 add a simple NULL/int comparison checker to CIL 2004-06-21 18:53:12 +00:00
avsm
b613748f78 initial import of cil-1.2.5
--
CIL (C Intermediate Language) is a high-level representation along
with a set of tools that permit easy analysis and source-to-source
transformation of C programs.

CIL is both lower-level than abstract-syntax trees, by clarifying
ambiguous constructs and removing redundant ones, and also higher-level
than typical intermediate languages designed for compilation, by
maintaining types and a close relationship with the source program.
The main advantage of CIL is that it compiles all valid C programs
into a few core constructs with a very clean semantics. Also CIL
has a syntax-directed type system that makes it easy to analyze and
manipulate C programs. Furthermore, the CIL front-end is able to
process not only ANSI-C programs but also those using Microsoft C
or GNU C extensions.
2004-06-20 16:08:28 +00:00