From b5eb201a39703369c428fe197ed249ff98a68582 Mon Sep 17 00:00:00 2001 From: Romain Malmain Date: Wed, 17 Apr 2024 16:29:18 +0200 Subject: [PATCH] Revert: libafl_guest_page_size --- include/libafl/utils.h | 1 - libafl/utils.c | 5 ----- 2 files changed, 6 deletions(-) diff --git a/include/libafl/utils.h b/include/libafl/utils.h index 07b6628526..b663de8107 100644 --- a/include/libafl/utils.h +++ b/include/libafl/utils.h @@ -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); diff --git a/libafl/utils.c b/libafl/utils.c index 9dc50903fd..4aa9457bc6 100644 --- a/libafl/utils.c +++ b/libafl/utils.c @@ -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; } \ No newline at end of file