Map extram to same fuzz buffer

This commit is contained in:
Toby Jaffey 2025-12-14 19:28:15 +00:00
parent 28ce517710
commit 1e7343d385

View file

@ -18,6 +18,9 @@ int main(int argc, char *argv[]) {
uvm32_init(vmst); uvm32_init(vmst);
unsigned char *rom = __AFL_FUZZ_TESTCASE_BUF; unsigned char *rom = __AFL_FUZZ_TESTCASE_BUF;
uvm32_load(vmst, rom, __AFL_FUZZ_TESTCASE_LEN); uvm32_load(vmst, rom, __AFL_FUZZ_TESTCASE_LEN);
uvm32_extram(vmst, rom, __AFL_FUZZ_TESTCASE_LEN);
memset(&evt, 0x00, sizeof(evt)); memset(&evt, 0x00, sizeof(evt));
for (int i=0;i<10;i++) { for (int i=0;i<10;i++) {
uvm32_run(vmst, &evt, 1000); uvm32_run(vmst, &evt, 1000);