- 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-server
with 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. vtrace
instrumentation:The instrumentation result is the filedune exec -- src/instr.exe -dig input.c [-nopre] [-nonla]
input_instr.c
in 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.c
in the same folder asinput.c
. Note thatinput.c
must be the same source file in thevtrace
instrumentation.
forked from letonchanh/dyn_instr
-
Notifications
You must be signed in to change notification settings - Fork 0
dynaroar/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
Languages
- OCaml 95.6%
- C 3.4%
- Standard ML 1.0%