mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
Map extram to same fuzz buffer
This commit is contained in:
parent
28ce517710
commit
1e7343d385
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue