Skip to content

Commit

Permalink
Revert: libafl_guest_page_size
Browse files Browse the repository at this point in the history
  • Loading branch information
rmalmain committed Apr 17, 2024
1 parent 05dcd6d commit b5eb201
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion include/libafl/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
#include "qemu/osdep.h"

uint8_t* libafl_paddr2host(CPUState* cpu, hwaddr addr, bool is_write);
uint64_t libafl_guest_page_size(void);
5 changes: 0 additions & 5 deletions libafl/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,4 @@ uint8_t* libafl_paddr2host(CPUState* cpu, hwaddr addr, bool is_write)
}

return qemu_map_ram_ptr(mr->ram_block, xlat);
}

uint64_t libafl_guest_page_size(void)
{
return TARGET_PAGE_SIZE;
}

0 comments on commit b5eb201

Please sign in to comment.