From 4a1cf0b9af5f14b5899520ef9abc442c8f1087b6 Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Mon, 7 Oct 2024 13:43:19 +0200 Subject: [PATCH] code format --- include/forkserver.h | 1 - utils/libdislocator/libdislocator.so.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/include/forkserver.h b/include/forkserver.h index db1832c4..d3d0e086 100644 --- a/include/forkserver.h +++ b/include/forkserver.h @@ -249,7 +249,6 @@ void afl_fsrv_kill(afl_forkserver_t *fsrv); void nyx_load_target_hash(afl_forkserver_t *fsrv); #endif - #ifdef __APPLE__ #define MSG_FORK_ON_APPLE \ " - On MacOS X, the semantics of fork() syscalls are non-standard and " \ diff --git a/utils/libdislocator/libdislocator.so.c b/utils/libdislocator/libdislocator.so.c index f41491b1..b125f628 100644 --- a/utils/libdislocator/libdislocator.so.c +++ b/utils/libdislocator/libdislocator.so.c @@ -580,11 +580,10 @@ __attribute__((constructor)) void __dislocator_init(void) { __attribute__((destructor)) void __dislocator_fini(void) { - alloc_canary = ALLOC_CANARY; // restore to default canary value + alloc_canary = ALLOC_CANARY; // restore to default canary value } - /* NetBSD fault handler specific api subset */ void (*esetfunc(void (*fn)(int, const char *, ...)))(int, const char *, ...) {