Skip to content

Latest commit

 

History

56 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ModelFuzz (CS4720)

Prerequisites

  • Install go
  • Install java
  • Install ant
  • Install maven

Build

modelfuzz-java

Set current working directory to modelfuzz-java.

go build

tlc-server

Set current working directory to tlc-controlled-with-benchmarks/tlc-controlled.

ant -f customBuild.xml compile
ant -f customBuild.xml compile-test
ant -f customBuild.xml dist

ratis-fuzzing

Set current working directory to ratis-fuzzing.

mvn clean package -DskipTests

Run

First, run the TLC server. Run the following command from tlc-controlled-with-benchmarks/tlc-controlled:

    java -jar dist/tla2tools_server.jar -controlled <path-to-tla-file> -config <path-to-cfg-file> -mapperparams "name=raft"

where <path-to-a-tla-file> can be one of the files inside tla-benchmarks/Raft/model. For example:

java -jar dist/tla2tools_server.jar -controlled ..\tla-benchmarks\Raft\model\RAFT_1_3.tla -config ..\tla-benchmarks\Raft\model\RAFT_1_3.cfg -mapperparams "name=raft"

Now, within the modelfuzz directory, run the fuzzer using:

./modelfuzz-java

The seed is not included in the comand, instead it can be specified in main.go


Fir further information check analysis folder and README.md

About

Automatic test case generation for Apache Retis using ModelFuzz

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages