googleprojectzero / Jackalope

Binary, coverage-guided fuzzer for Windows, macOS, Linux and Android
Apache License 2.0
1.1k stars 128 forks source link

Error allocating remote code buffer #17

Open hardik05 opened 3 years ago

hardik05 commented 3 years ago

Getting this error after few hours: [-] PROGRAM ABORT : Error allocating remote code buffer Location : TinyInst::InstrumentModule(), D:\Research\Jackalope\TinyInst\tinyinst.cpp:1685

looks like its not able to allocate memory: module->instrumented_code_remote = (char *)RemoteAllocateNear((uint64_t)module->min_address, (uint64_t)module->max_address, module->instrumented_code_size, READEXECUTE);

if (!module->instrumented_code_remote) { // TODO also try allocating after the module FATAL("Error allocating remote code buffer\n"); }

ifratric commented 2 years ago

If the target is heavy on initialization, which uses up memory needed by the code buffer, -instrument_modules_on_load could help.