diff options
author | van Hauser <vh@thc.org> | 2024-08-19 16:51:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-19 16:51:42 +0200 |
commit | f27cbdb79349d6f4f6e859a356758b634be72652 (patch) | |
tree | 8e1dbb1b8454c470aa5e0093f6d89c5cc86e9200 /utils/aflpp_driver/aflpp_qemu_driver_hook.c | |
parent | db23931e7c1727ddac8691a6241c97b2203ec6fc (diff) | |
parent | 1689a8e053c1f73e16331bfeda28c79e1ed4bbd0 (diff) | |
download | afl++-f27cbdb79349d6f4f6e859a356758b634be72652.tar.gz |
Merge pull request #2190 from AFLplusplus/dev
push to stable
Diffstat (limited to 'utils/aflpp_driver/aflpp_qemu_driver_hook.c')
-rw-r--r-- | utils/aflpp_driver/aflpp_qemu_driver_hook.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/aflpp_driver/aflpp_qemu_driver_hook.c b/utils/aflpp_driver/aflpp_qemu_driver_hook.c index 2979fadc..d75de539 100644 --- a/utils/aflpp_driver/aflpp_qemu_driver_hook.c +++ b/utils/aflpp_driver/aflpp_qemu_driver_hook.c @@ -4,7 +4,7 @@ #include <string.h> #define g2h(x) ((void *)((unsigned long)(x) + guest_base)) -#define h2g(x) ((uint64_t)(x)-guest_base) +#define h2g(x) ((uint64_t)(x) - guest_base) void afl_persistent_hook(struct x86_64_regs *regs, uint64_t guest_base, uint8_t *input_buf, uint32_t input_buf_len) { |