Skip to content

Commit fb5b80d

Browse files
author
Dongdong She
committed
Allow larger memory usage for tested binary when running afl-showmap.
1 parent 8bb8b5d commit fb5b80d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nn.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ def process_data():
7777
try:
7878
# append "-o tmp_file" to strip's arguments to avoid tampering tested binary.
7979
if argvv[0] == './strip':
80-
out = call(['./afl-showmap', '-q', '-e', '-o', '/dev/stdout'] + argvv + [f] + ['-o', 'tmp_file'])
80+
out = call(['./afl-showmap', '-q', '-e', '-o', '/dev/stdout', '-m', '512'] + argvv + [f] + ['-o', 'tmp_file'])
8181
else:
82-
out = call(['./afl-showmap', '-q', '-e', '-o', '/dev/stdout'] + argvv + [f])
82+
out = call(['./afl-showmap', '-q', '-e', '-o', '/dev/stdout', '-m', '512'] + argvv + [f])
8383
except subprocess.CalledProcessError:
8484
print("find a crash")
8585
for line in out.splitlines():

0 commit comments

Comments
 (0)