diff options
| author | vanhauser-thc <vh@thc.org> | 2022-07-12 09:04:54 +0200 |
|---|---|---|
| committer | vanhauser-thc <vh@thc.org> | 2022-07-12 09:04:54 +0200 |
| commit | b847e0f414e7b310e1a68bc501d4e2453bfce70e (patch) | |
| tree | 1ea5ebbb0b47e8d55b1950e9b787ec9f254655af /utils/libdislocator | |
| parent | 338f1ae2f85dffe7daa88fa78cd1d078a986d0d5 (diff) | |
| download | afl++-b847e0f414e7b310e1a68bc501d4e2453bfce70e.tar.gz | |
clang format 14
Diffstat (limited to 'utils/libdislocator')
| -rw-r--r-- | utils/libdislocator/libdislocator.so.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/libdislocator/libdislocator.so.c b/utils/libdislocator/libdislocator.so.c index c821a8f7..149b910e 100644 --- a/utils/libdislocator/libdislocator.so.c +++ b/utils/libdislocator/libdislocator.so.c @@ -171,7 +171,7 @@ static u32 alloc_canary; static void *__dislocator_alloc(size_t len) { - u8 * ret, *base; + u8 *ret, *base; size_t tlen; int flags, protflags, fd, sp; @@ -488,7 +488,7 @@ void *reallocarray(void *ptr, size_t elem_len, size_t elem_cnt) { const size_t elem_lim = 1UL << (sizeof(size_t) * 4); const size_t elem_tot = elem_len * elem_cnt; - void * ret = NULL; + void *ret = NULL; if ((elem_len >= elem_lim || elem_cnt >= elem_lim) && elem_len > 0 && elem_cnt > (SIZE_MAX / elem_len)) { @@ -535,7 +535,7 @@ __attribute__((constructor)) void __dislocator_init(void) { if (tmp) { - char * tok; + char *tok; unsigned long long mmem = strtoull(tmp, &tok, 10); if (*tok != '\0' || errno == ERANGE || mmem > SIZE_MAX / 1024 / 1024) FATAL("Bad value for AFL_LD_LIMIT_MB"); |
