This project holds several experimental tools developed during our ({yahave,nimi}@cs.technion.ac.il) research into differential analysis i.e. finding semantic differences and proving equivalence of programs.
Research papers:
- http://www.cs.technion.ac.il/~nimi/publications/dizy.pdf
- http://www.cs.technion.ac.il/~nimi/publications/score.pdf
Developed tools:
ccc is an experimental tool for transforming C programs to a normal form thats easier for our DIZY analyzers to analyze (take a look at our SAS'13 paper for more details and background). To build it, get the code from the github repository and make ccc (you will need to setup an environment according to the INSTALL file, but can ignore the part about APRON).
ccc features:
- Guarding - transforms code to a guarded command form. Useful for many applications. Fairly tested, may be lacking some language features.
- Tagging - adds a "T_" prefix to all variables in the code. This is an important stage in creating the correlating program.
- Correlating - Creates a correlating program out of a guarded program and a tagged guarded program. Correlation is done at the function level such that functions keep their original prototypes. Caveats exist mainly for looping programs, in case loops do not align.
make dizy
to build. Further details (for now :) can be found in the paper.
make score
to build. Further details (for now :) can be found in the paper.
** All tools accept command line arguments for include libraries and defining macros.