This is a verification tool for JavaScript programs.
Prerequisites:
[opam 1.2.1 or higher] (https://opam.ocaml.org)
ocaml 4.03 or higher Install OCaml using opam:
opam install ocaml
[make init] Get the project dependencies:
make init
Z3 Install Z3 with the OCaml bindings.
To compile:
make
To run:
./setup_environment.sh
If inside the environment folder:
./remake.shInside the environment folder after step 1:
JSIL Interpreter:
./jsil.native -file <file_name>.jsil
The output of the execution is written to the console.
JS2JSIL:
./js2jsil.native -file <file_name>.js
Use the flag -logic if the compiled JSIL file will be given as input to JSILVerify.
The compiled code is written to <file_name>.jsil.
JSILVerify:
./jsilverify.native -file <file_name>.jsil
Use the flag -js if the JSIL program resulted from the compilation of a JavaScript program.
The symbolic execution traces are written to the console.
Content type
Image
Digest
Size
485.6 MB
Last updated
about 9 years ago
docker pull resourcereasoning/javascriptverification:build