diff options
author | vanhauser-thc <vh@thc.org> | 2021-04-14 18:24:05 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-04-14 18:24:05 +0200 |
commit | 92a308133797a1926507361e71b84f8b1eacc754 (patch) | |
tree | 054a60de6614bcd5f6fc2597d23d113da69fe90c /utils/aflpp_driver/aflpp_qemu_driver_hook.c | |
parent | 5e72568a455bde8ac389b8b234cbdbbb0d33e015 (diff) | |
download | afl++-92a308133797a1926507361e71b84f8b1eacc754.tar.gz |
fix aflpp qemu hook
Diffstat (limited to 'utils/aflpp_driver/aflpp_qemu_driver_hook.c')
-rw-r--r-- | utils/aflpp_driver/aflpp_qemu_driver_hook.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/aflpp_driver/aflpp_qemu_driver_hook.c b/utils/aflpp_driver/aflpp_qemu_driver_hook.c index 823cc42d..dc58d852 100644 --- a/utils/aflpp_driver/aflpp_qemu_driver_hook.c +++ b/utils/aflpp_driver/aflpp_qemu_driver_hook.c @@ -3,8 +3,8 @@ #define g2h(x) ((void *)((unsigned long)(x) + guest_base)) -#define REGS_RDI 7 -#define REGS_RSI 6 +#define REGS_RDI 4 +#define REGS_RSI 5 void afl_persistent_hook(uint64_t *regs, uint64_t guest_base, uint8_t *input_buf, uint32_t input_len) { |