mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-07 07:41:33 +00:00
code format
This commit is contained in:
parent
816334000a
commit
06afa48e02
@ -65,9 +65,12 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__APPLE__) && defined(__MACH__)
|
#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
|
#else
|
||||||
#define SECTION_RODATA __attribute__((used, retain)) __attribute__((section (".rodata")))
|
#define SECTION_RODATA \
|
||||||
|
__attribute__((used, retain)) __attribute__((section(".rodata")))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// AFL++ shared memory fuzz cases
|
// 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);
|
__attribute__((weak)) void *__asan_region_is_poisoned(void *beg, size_t size);
|
||||||
|
|
||||||
// Notify AFL about persistent mode.
|
// Notify AFL about persistent mode.
|
||||||
SECTION_RODATA static const char AFL_PERSISTENT[] =
|
SECTION_RODATA static const char AFL_PERSISTENT[] = "##SIG_AFL_PERSISTENT##";
|
||||||
"##SIG_AFL_PERSISTENT##";
|
int __afl_persistent_loop(unsigned int);
|
||||||
int __afl_persistent_loop(unsigned int);
|
|
||||||
|
|
||||||
// Notify AFL about deferred forkserver.
|
// Notify AFL about deferred forkserver.
|
||||||
SECTION_RODATA static const char AFL_DEFER_FORKSVR[] =
|
SECTION_RODATA static const char AFL_DEFER_FORKSVR[] =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user