diff options
author | Yann Herklotz <git@yannherklotz.com> | 2019-05-25 20:00:04 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2019-05-25 20:00:04 +0100 |
commit | 03755364ff17e5bd6cf6408d982df748fa13376c (patch) | |
tree | 7edbc9c9fea1076123215225d59db140c56ffd8c /scripts/swarm | |
parent | e323bbeab91f8f6f56b5cec1def1f5e8638736d1 (diff) | |
download | verismith-03755364ff17e5bd6cf6408d982df748fa13376c.tar.gz verismith-03755364ff17e5bd6cf6408d982df748fa13376c.zip |
Add scripts to run verifuzz
Diffstat (limited to 'scripts/swarm')
-rwxr-xr-x | scripts/swarm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/swarm b/scripts/swarm new file mode 100755 index 0000000..526fb30 --- /dev/null +++ b/scripts/swarm @@ -0,0 +1,16 @@ +#!/usr/bin/env python3 + +import subprocess + +def main(): + i = 0 + name = "output_large_rand" + config = "experiments/config_large.toml" + iterations = 20 + while True: + subprocess.call(["verifuzz", "config", "-c", config, "-o", "config_random.toml", "--randomise"]) + subprocess.call(["verifuzz", "fuzz", "-o", name + str(i), "-c", "config_random.toml", "-n", str(iterations)]) + i += 1 + +if __name__ == '__main__': + main() |