- Install opam: https://opam.ocaml.org/doc/Install.html
- Install OCaml 4.05.0:
opam switch create 4.05.0 - Install Dune, CIL and other dependencies:
opam install dune cil num csv ocamlbuild ocamlfind menhir - If you want to use
ocaml-lsp-serverwith an IDE such as Visual Studio Code or Emacs, you need to install OCaml >= 4.06.0 and compile and install CIL from https://github.com/letonchanh/cil. vtraceinstrumentation:The instrumentation result is the filedune exec -- src/instr.exe -dig input.c [-nopre] [-nonla]input_instr.cin the same folder asinput.c.- Validation instrumentation:
The instrumentation result is the file
dune exec -- src/instr.exe -val input.c -inv inv.csv [-pre cond] [-case label]input_validate.cin the same folder asinput.c. Note thatinput.cmust be the same source file in thevtraceinstrumentation.
-
Notifications
You must be signed in to change notification settings - Fork 1
letonchanh/dyn_instr
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published