diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-12-26 15:08:43 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-12-26 15:52:06 -0800 |
commit | 34278eef421e19e0df84195aeaf28724b9fccead (patch) | |
tree | 68244eb7ce3660fecc870c11d527faceda7e4a7d /src/relooper/fuzzer.py | |
parent | 39165e9e511da3c041865d7e343c81e6d7cafd6c (diff) |
support for optional complete emulation in relooper1.7.9
Diffstat (limited to 'src/relooper/fuzzer.py')
-rw-r--r-- | src/relooper/fuzzer.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/relooper/fuzzer.py b/src/relooper/fuzzer.py index 50846d10..fa47583e 100644 --- a/src/relooper/fuzzer.py +++ b/src/relooper/fuzzer.py @@ -87,6 +87,12 @@ int main() { Relooper r; ''' + if random.random() < 0.1: + print 'emulate' + fast += ''' + r.SetEmulate(true); +''' + for i in range(num): fast += ''' r.AddBlock(b%d); ''' % i |