diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2021-04-14 18:24:55 +0200 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2021-04-14 18:24:55 +0200 |
commit | 6069cac313f4f8f4e696e815d4fe2f8bcaccccf4 (patch) | |
tree | 829dbb75114be19d3b4662bc7872678f1c4a81d1 /utils/qemu_persistent_hook | |
parent | 5e72568a455bde8ac389b8b234cbdbbb0d33e015 (diff) | |
download | afl++-6069cac313f4f8f4e696e815d4fe2f8bcaccccf4.tar.gz |
qemu driver new api
Diffstat (limited to 'utils/qemu_persistent_hook')
-rw-r--r-- | utils/qemu_persistent_hook/read_into_rdi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/qemu_persistent_hook/read_into_rdi.c b/utils/qemu_persistent_hook/read_into_rdi.c index f4a8ae59..c1c6642f 100644 --- a/utils/qemu_persistent_hook/read_into_rdi.c +++ b/utils/qemu_persistent_hook/read_into_rdi.c @@ -5,7 +5,7 @@ void afl_persistent_hook(struct x86_64_regs *regs, uint64_t guest_base, uint8_t *input_buf, uint32_t input_buf_len) { -\ + #define g2h(x) ((void *)((unsigned long)(x) + guest_base)) #define h2g(x) ((uint64_t)(x)-guest_base) |