From 06afa48e02b220d1f3656b2c1191f0de7797ed1c Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Sun, 18 May 2025 14:07:03 +0200 Subject: [PATCH] code format --- utils/aflpp_driver/aflpp_driver.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/utils/aflpp_driver/aflpp_driver.c b/utils/aflpp_driver/aflpp_driver.c index 46670630..88f7413c 100644 --- a/utils/aflpp_driver/aflpp_driver.c +++ b/utils/aflpp_driver/aflpp_driver.c @@ -65,9 +65,12 @@ extern "C" { #endif #if defined(__APPLE__) && defined(__MACH__) - #define SECTION_RODATA __attribute__((used, retain)) __attribute__((section ("__RODATA,__rodata"))) + #define SECTION_RODATA \ + __attribute__((used, retain)) __attribute__((section("__RODATA,__" \ + "rodata"))) #else - #define SECTION_RODATA __attribute__((used, retain)) __attribute__((section (".rodata"))) + #define SECTION_RODATA \ + __attribute__((used, retain)) __attribute__((section(".rodata"))) #endif // AFL++ shared memory fuzz cases @@ -112,9 +115,8 @@ __attribute__((weak)) void __asan_unpoison_memory_region( __attribute__((weak)) void *__asan_region_is_poisoned(void *beg, size_t size); // Notify AFL about persistent mode. -SECTION_RODATA static const char AFL_PERSISTENT[] = - "##SIG_AFL_PERSISTENT##"; -int __afl_persistent_loop(unsigned int); +SECTION_RODATA static const char AFL_PERSISTENT[] = "##SIG_AFL_PERSISTENT##"; +int __afl_persistent_loop(unsigned int); // Notify AFL about deferred forkserver. SECTION_RODATA static const char AFL_DEFER_FORKSVR[] =