mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-10 01:01:33 +00:00
nits
This commit is contained in:
parent
3a0d4fe0d0
commit
dedeb01ffa
@ -89,7 +89,6 @@ $(AFL_COMPILER_RT_OBJ): $(AFL_COMPILER_RT_SRC)
|
|||||||
-Wno-unused-parameter \
|
-Wno-unused-parameter \
|
||||||
-Wno-sign-compare \
|
-Wno-sign-compare \
|
||||||
-Wno-unused-function \
|
-Wno-unused-function \
|
||||||
-Wno-prio-ctor-dtor \
|
|
||||||
-Wno-unused-result \
|
-Wno-unused-result \
|
||||||
-o $@ \
|
-o $@ \
|
||||||
-c $<
|
-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); }
|
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);
|
hdr = (Elf_Ehdr *)mmap(NULL, len, PROT_READ, MAP_PRIVATE, fd, 0);
|
||||||
if (hdr == MAP_FAILED) { FATAL("Failed to map %s", details->path); }
|
if (hdr == MAP_FAILED) { FATAL("Failed to map %s", details->path); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user