This commit is contained in:
vanhauser-thc 2021-04-28 21:05:21 +02:00
parent 3a0d4fe0d0
commit dedeb01ffa
2 changed files with 1 additions and 2 deletions

View File

@ -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 $<

View File

@ -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); }