about summary refs log tree commit diff
path: root/utils/aflpp_driver/aflpp_qemu_driver_hook.c
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2024-08-19 16:25:32 +0200
committervanhauser-thc <vh@thc.org>2024-08-19 16:25:32 +0200
commit1689a8e053c1f73e16331bfeda28c79e1ed4bbd0 (patch)
tree8e1dbb1b8454c470aa5e0093f6d89c5cc86e9200 /utils/aflpp_driver/aflpp_qemu_driver_hook.c
parent6edc3b51ba81d577eeb4a64299916c1eaadfdd70 (diff)
downloadafl++-1689a8e053c1f73e16331bfeda28c79e1ed4bbd0.tar.gz
code format, llvm 18
Diffstat (limited to 'utils/aflpp_driver/aflpp_qemu_driver_hook.c')
-rw-r--r--utils/aflpp_driver/aflpp_qemu_driver_hook.c2
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) {