diff options
Diffstat (limited to 'c/README.txt')
-rw-r--r-- | c/README.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/c/README.txt b/c/README.txt new file mode 100644 index 0000000..50450aa --- /dev/null +++ b/c/README.txt @@ -0,0 +1,18 @@ +C library for building dietcc passes + +Example of using a pass: + + The examples/zero_init pass zero-initializes all local variables. + + $ which dietcc + [make sure it's on your path!] + $ cd examples/zero_init + $ make -B + $ ./default + Foo return value: 0 + Foo return value: 32765 + Foo return value: 32765 + $ ./instrumented + Foo return value: 0 + Foo return value: 0 + Foo return value: 0 |