about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-04-28 21:05:21 +0200
committervanhauser-thc <vh@thc.org>2021-04-28 21:05:21 +0200
commitdedeb01ffa94e9179a88c684c7cfa615982e1f8a (patch)
treedb36c74b671052617ed768bc924a5cf86d9680f7
parent3a0d4fe0d0a585d152a59ca4601d1981cedbf113 (diff)
downloadafl++-dedeb01ffa94e9179a88c684c7cfa615982e1f8a.tar.gz
nits
-rw-r--r--frida_mode/GNUmakefile1
-rw-r--r--frida_mode/src/lib.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/frida_mode/GNUmakefile b/frida_mode/GNUmakefile
index e317237a..8983ff86 100644
--- a/frida_mode/GNUmakefile
+++ b/frida_mode/GNUmakefile
@@ -89,7 +89,6 @@ $(AFL_COMPILER_RT_OBJ): $(AFL_COMPILER_RT_SRC)
 		-Wno-unused-parameter \
 		-Wno-sign-compare \
 		-Wno-unused-function \
-		-Wno-prio-ctor-dtor \
 		-Wno-unused-result \
 		-o $@ \
 		-c $<
diff --git a/frida_mode/src/lib.c b/frida_mode/src/lib.c
index 6e27c170..feeb6541 100644
--- a/frida_mode/src/lib.c
+++ b/frida_mode/src/lib.c
@@ -129,7 +129,7 @@ static void lib_get_text_section(lib_details_t *details) {
 
   if (len == (off_t)-1) { FATAL("Failed to lseek %s", details->path); }
 
-  OKF("len: %ld\n", len);
+  OKF("len: %ld", len);
 
   hdr = (Elf_Ehdr *)mmap(NULL, len, PROT_READ, MAP_PRIVATE, fd, 0);
   if (hdr == MAP_FAILED) { FATAL("Failed to map %s", details->path); }