make dominik more happy - no auto map size for qemu+unicorn

This commit is contained in:
van Hauser
2021-02-01 13:04:39 +01:00
parent d808a8401e
commit 88155d2c3b
4 changed files with 67 additions and 48 deletions

View File

@ -1536,7 +1536,8 @@ int main(int argc, char **argv_orig, char **envp) {
afl->fsrv.trace_bits =
afl_shm_init(&afl->shm, afl->fsrv.map_size, afl->non_instrumented_mode);
if (!afl->non_instrumented_mode) {
if (!afl->non_instrumented_mode && !afl->fsrv.qemu_mode &&
!afl->unicorn_mode) {
afl->fsrv.map_size = 4194304; // dummy temporary value