Installation:
1. Install OpenSMT2 as a library to be used in HiFrog binary; configure & install OpenSMT2 as follows:
OpenSMT2 depends on the libraries: zlib, gmp,gmpxx, readline, flex. If you do not have them installed, please first check installation guide for libraries, then continue the following steps:
To compile OpenSMT2 simply do the following:
$ git clone --branch lpar18 $ https://github.com/usi-verification-and-security/opensmt.git --single-branch $ cd opensmt2 && mkdir build && cd build $ cmake -DPRODUCE_PROOF=ON -DCMAKE_BUILD_TYPE=Release .. $ make $ make install
2. Compile hifrog source code:
$ git clone --branch lpar18 https://scm.ti-edu.ch/repogit/hifrog
$ cd hifrog/trunk/cprover && mkdir build && cd build
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ make
Run HiFrog to use summary & theory refinement algorithm.
./hifrog --sum-theoref --unwind <n> filename.c |
** If you need any assistance, please contact us **
sepideh.a65[at]gmail.com