about summary refs log tree commit diff
path: root/utils
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-04-29 09:12:21 +0200
committervanhauser-thc <vh@thc.org>2021-04-29 09:12:21 +0200
commit29dbe665a7a7dc6b2232487dbc6c1ebecbbdfb06 (patch)
treed13b47e95462a11b70f30b315c93968261ea262a /utils
parent26b84e3521936ec11b7615bb833310d62795020e (diff)
downloadafl++-29dbe665a7a7dc6b2232487dbc6c1ebecbbdfb06.tar.gz
nits
Diffstat (limited to 'utils')
-rw-r--r--utils/libdislocator/libdislocator.so.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/libdislocator/libdislocator.so.c b/utils/libdislocator/libdislocator.so.c
index 7c651afd..dde78f7b 100644
--- a/utils/libdislocator/libdislocator.so.c
+++ b/utils/libdislocator/libdislocator.so.c
@@ -145,7 +145,7 @@ typedef struct {
 /* Configurable stuff (use AFL_LD_* to set): */
 
 static size_t max_mem = MAX_ALLOC;      /* Max heap usage to permit         */
-static u8  alloc_verbose,               /* Additional debug messages        */
+static u8     alloc_verbose,            /* Additional debug messages        */
     hard_fail,                          /* abort() when max_mem exceeded?   */
     no_calloc_over,                     /* abort() on calloc() overflows?   */
     align_allocations;                  /* Force alignment to sizeof(void*) */
@@ -504,7 +504,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");
@@ -550,3 +550,4 @@ void *erealloc(void *ptr, size_t len) {
   return realloc(ptr, len);
 
 }
+