fix aflpp qemu hook
MODIFY
docs/Changelog.md
docs/Changelog.md
@@ -31,6 +31,7 @@ sending a mail to <afl-users+subscribe@googlegroups.com>.
- Leak Sanitizer support (AFL_USE_LSAN) added by Joshua Rogers, thanks!
- Removed InsTrim instrumentation as it is not as good as PCGUARD
- Removed automatic linking with -lc++ for LTO mode
+ - utils/aflpp_driver/aflpp_qemu_driver_hook fixed to work with qemu mode
- add -d (dead fuzzer stats) to afl-whatsup
### Version ++3.12c (release)

MODIFY
utils/aflpp_driver/aflpp_qemu_driver_hook.c
utils/aflpp_driver/aflpp_qemu_driver_hook.c
#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) {

fix aflpp qemu hook