| 1 |
-------------------------------------------------------------------- |
| 2 |
|
| 3 |
Normally clang_delta is invoked from C-Reduce. But if you wish to |
| 4 |
invoke it manually: |
| 5 |
|
| 6 |
./clang_delta --transformation=xx --counter=xx foo.c |
| 7 |
|
| 8 |
For detailed options: |
| 9 |
./clang_delta --help |
| 10 |
|
| 11 |
-------------------------------------------------------------------- |
| 12 |
|
| 13 |
Testing clang_delta: |
| 14 |
|
| 15 |
* clang_delta/tests is the place for adding unittests for clang_delta |
| 16 |
To run the tests, please follow the steps below: |
| 17 |
|
| 18 |
If you use make: |
| 19 |
$ cd /creduce/top/dir |
| 20 |
$ ./configure |
| 21 |
$ make |
| 22 |
$ cd clang_delta |
| 23 |
$ make check-clang-delta |
| 24 |
|
| 25 |
If you use cmake: |
| 26 |
$ /creduce/top/dir |
| 27 |
$ mkdir build |
| 28 |
$ cd build |
| 29 |
$ cmake .. |
| 30 |
$ make |
| 31 |
$ make check-clang-delta |
| 32 |
|
| 33 |
* test_transformation |
| 34 |
`test_transformation' is designed to test clang_delta |
| 35 |
`test_transformation -help' gives detailed information. |
| 36 |
|
| 37 |
-------------------------------------------------------------------- |
| 38 |
|
| 39 |
Known bugs: |
| 40 |
|
| 41 |
* bad transformation on functions involved with function pointers |
| 42 |
|
| 43 |
-------------------------------------------------------------------- |
| 44 |
|