aboutsummaryrefslogtreecommitdiff
path: root/src/relooper/fuzzer.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/relooper/fuzzer.py')
-rw-r--r--src/relooper/fuzzer.py6
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