=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for afl++-2.62cnb2 Python 2.7.18 [!] Note: skipping x86 compilation checks (AFL_NO_X86 set). [+] shmat seems to be working. [+] Everything seems to be working, ready to compile. gcc -O2 -I/usr/include -I/usr/pkg/include -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/pkg/lib/afl\" -DBIN_PATH=\"/usr/pkg/bin\" -DDOC_PATH=\"/usr/pkg/share/doc/afl\" -Wno-unused-function -fcommon src/afl-gcc.c -o afl-gcc -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpthread [+] support seems to be working. gcc -O2 -I/usr/include -I/usr/pkg/include -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/pkg/lib/afl\" -DBIN_PATH=\"/usr/pkg/bin\" -DDOC_PATH=\"/usr/pkg/share/doc/afl\" -Wno-unused-function -fcommon -flto -c src/afl-common.c -o src/afl-common.o gcc -O2 -I/usr/include -I/usr/pkg/include -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/pkg/lib/afl\" -DBIN_PATH=\"/usr/pkg/bin\" -DDOC_PATH=\"/usr/pkg/share/doc/afl\" -Wno-unused-function -fcommon -flto -c src/afl-sharedmem.c -o src/afl-sharedmem.o gcc -O2 -I/usr/include -I/usr/pkg/include -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/pkg/lib/afl\" -DBIN_PATH=\"/usr/pkg/bin\" -DDOC_PATH=\"/usr/pkg/share/doc/afl\" -Wno-unused-function -fcommon -flto -c src/afl-forkserver.c -o src/afl-forkserver.o gcc -O2 -I/usr/include -I/usr/pkg/include -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/pkg/lib/afl\" -DBIN_PATH=\"/usr/pkg/bin\" -DDOC_PATH=\"/usr/pkg/share/doc/afl\" -Wno-unused-function -fcommon src/afl-gotcpu.c -o afl-gotcpu -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpthread In file included from /usr/include/stdio.h:595, from src/afl-forkserver.c:32: src/afl-forkserver.c: In function 'forkserver_DMS': src/afl-forkserver.c:84:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] 74 | sprintf(tmp[cur], _fmt, ((_cast)val) / (_divisor)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int ...... 84 | CHK_FORMAT(1, 10000, "%llu B", u64); | ^~~~~~~~ src/afl-forkserver.c:84:3: note: in expansion of macro 'CHK_FORMAT' 84 | CHK_FORMAT(1, 10000, "%llu B", u64); | ^~~~~~~~~~ src/afl-forkserver.c:84:28: note: format string is defined here 84 | CHK_FORMAT(1, 10000, "%llu B", u64); | ~~~^ | | | long long unsigned int | %lu In file included from /usr/include/stdio.h:595, from src/afl-forkserver.c:32: src/afl-forkserver.c:90:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] 74 | sprintf(tmp[cur], _fmt, ((_cast)val) / (_divisor)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int ...... 90 | CHK_FORMAT(1024, 1000, "%llu kB", u64); | ^~~~~~~~~ src/afl-forkserver.c:90:3: note: in expansion of macro 'CHK_FORMAT' 90 | CHK_FORMAT(1024, 1000, "%llu kB", u64); | ^~~~~~~~~~ src/afl-forkserver.c:90:30: note: format string is defined here 90 | CHK_FORMAT(1024, 1000, "%llu kB", u64); | ~~~^ | | | long long unsigned int | %lu In file included from /usr/include/stdio.h:595, from src/afl-forkserver.c:32: src/afl-forkserver.c:99:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] 74 | sprintf(tmp[cur], _fmt, ((_cast)val) / (_divisor)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int ...... 99 | CHK_FORMAT(1024 * 1024, 1000, "%llu MB", u64); | ^~~~~~~~~ src/afl-forkserver.c:99:3: note: in expansion of macro 'CHK_FORMAT' 99 | CHK_FORMAT(1024 * 1024, 1000, "%llu MB", u64); | ^~~~~~~~~~ src/afl-forkserver.c:99:37: note: format string is defined here 99 | CHK_FORMAT(1024 * 1024, 1000, "%llu MB", u64); | ~~~^ | | | long long unsigned int | %lu In file included from src/afl-forkserver.c:29: src/afl-forkserver.c: In function 'init_forkserver': src/afl-forkserver.c:359:12: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 359 | SAYF("\n" cLRD "[-] " cRST | ^~~~ ...... 391 | forkserver_DMS(mem_limit << 20), mem_limit - 1); | ~~~~~~~~~~~~~ | | | u64 {aka long unsigned int} include/debug.h:171:36: note: in definition of macro 'SAYF' 171 | #define SAYF(x...) fprintf(stderr, x) | ^ src/afl-forkserver.c:427:9: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 427 | "\n" cLRD "[-] " cRST | ^~~~ ...... 457 | forkserver_DMS(mem_limit << 20), mem_limit - 1); | ~~~~~~~~~~~~~ | | | u64 {aka long unsigned int} include/debug.h:171:36: note: in definition of macro 'SAYF' 171 | #define SAYF(x...) fprintf(stderr, x) | ^ gcc -O2 -I/usr/include -I/usr/pkg/include -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/pkg/lib/afl\" -DBIN_PATH=\"/usr/pkg/bin\" -DDOC_PATH=\"/usr/pkg/share/doc/afl\" -Wno-unused-function -fcommon -flto src/afl-analyze.c src/afl-common.o src/afl-sharedmem.o -o afl-analyze -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpthread set -e; for i in afl-g++ afl-clang afl-clang++; do ln -sf afl-gcc $i; done gcc -O2 -I/usr/include -I/usr/pkg/include -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/pkg/lib/afl\" -DBIN_PATH=\"/usr/pkg/bin\" -DDOC_PATH=\"/usr/pkg/share/doc/afl\" -Wno-unused-function -fcommon src/afl-as.c -o afl-as -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpthread src/afl-analyze.c: In function 'main': src/afl-analyze.c:923:32: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type 'u64 *' {aka 'long unsigned int *'} [-Wformat=] 923 | if (sscanf(optarg, "%llu%c", &mem_limit, &suffix) < 1 || | ~~~^ ~~~~~~~~~~ | | | | | u64 * {aka long unsigned int *} | long long unsigned int * | %lu In file included from src/afl-analyze.c:34: include/debug.h:48:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 48 | #define cLBL "\x1b[1;94m" | ^~~~~~~~~~~~ include/debug.h:171:36: note: in definition of macro 'SAYF' 171 | #define SAYF(x...) fprintf(stderr, x) | ^ include/debug.h:189:10: note: in expansion of macro 'cLBL' 189 | SAYF(cLBL "[*] " cRST x); \ | ^~~~ src/afl-analyze.c:1023:3: note: in expansion of macro 'ACTF' 1023 | ACTF("Performing dry run (mem limit = %llu MB, timeout = %u ms%s)...", | ^~~~ gcc -O2 -I/usr/include -I/usr/pkg/include -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/pkg/lib/afl\" -DBIN_PATH=\"/usr/pkg/bin\" -DDOC_PATH=\"/usr/pkg/share/doc/afl\" -Wno-unused-function -fcommon -flto src/afl-fuzz-bitmap.c src/afl-fuzz-cmplog.c src/afl-fuzz-extras.c src/afl-fuzz-globals.c src/afl-fuzz-init.c src/afl-fuzz-misc.c src/afl-fuzz-one.c src/afl-fuzz-python.c src/afl-fuzz-queue.c src/afl-fuzz-redqueen.c src/afl-fuzz-run.c src/afl-fuzz-stats.c src/afl-fuzz.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o -o afl-fuzz -DUSE_PYTHON -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpthread -lpython2.7 -lintl -lutil -lm -Wl,--export-dynamic -DPYTHON_VERSION="\"\"" -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpthread In file included from /usr/include/stdio.h:595, from include/alloc-inl.h:29, from include/afl-fuzz.h:44, from src/afl-fuzz-bitmap.c:26: src/afl-fuzz-bitmap.c: In function 'describe_op': src/afl-fuzz-bitmap.c:430:32: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 430 | sprintf(ret + strlen(ret), ",time:%llu", get_cur_time() - start_time); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u64 {aka long unsigned int} src/afl-fuzz-bitmap.c:430:42: note: format string is defined here 430 | sprintf(ret + strlen(ret), ",time:%llu", get_cur_time() - start_time); | ~~~^ | | | long long unsigned int | %lu In file included from /usr/include/stdio.h:595, from include/alloc-inl.h:29, from include/afl-fuzz.h:44, from src/afl-fuzz-bitmap.c:26: src/afl-fuzz-bitmap.c: In function 'save_if_interesting': src/afl-fuzz-bitmap.c:637:25: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 637 | fn = alloc_printf("%s/hangs/id:%06llu,%s", out_dir, unique_hangs, | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ | | | u64 {aka long unsigned int} src/afl-fuzz-bitmap.c:637:12: note: in expansion of macro 'alloc_printf' 637 | fn = alloc_printf("%s/hangs/id:%06llu,%s", out_dir, unique_hangs, | ^~~~~~~~~~~~ src/afl-fuzz-bitmap.c:637:43: note: format string is defined here 637 | fn = alloc_printf("%s/hangs/id:%06llu,%s", out_dir, unique_hangs, | ~~~~~^ | | | long long unsigned int | %06lu In file included from /usr/include/stdio.h:595, from include/alloc-inl.h:29, from include/afl-fuzz.h:44, from src/afl-fuzz-bitmap.c:26: src/afl-fuzz-bitmap.c:637:25: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 637 | fn = alloc_printf("%s/hangs/id:%06llu,%s", out_dir, unique_hangs, | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ | | | u64 {aka long unsigned int} src/afl-fuzz-bitmap.c:637:12: note: in expansion of macro 'alloc_printf' 637 | fn = alloc_printf("%s/hangs/id:%06llu,%s", out_dir, unique_hangs, | ^~~~~~~~~~~~ src/afl-fuzz-bitmap.c:637:43: note: format string is defined here 637 | fn = alloc_printf("%s/hangs/id:%06llu,%s", out_dir, unique_hangs, | ~~~~~^ | | | long long unsigned int | %06lu In file included from /usr/include/stdio.h:595, from include/alloc-inl.h:29, from include/afl-fuzz.h:44, from src/afl-fuzz-bitmap.c:26: src/afl-fuzz-bitmap.c:680:25: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 680 | fn = alloc_printf("%s/crashes/id:%06llu,sig:%02u,%s", out_dir, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | unique_crashes, kill_signal, describe_op(0)); | ~~~~~~~~~~~~~~ | | | u64 {aka long unsigned int} src/afl-fuzz-bitmap.c:680:12: note: in expansion of macro 'alloc_printf' 680 | fn = alloc_printf("%s/crashes/id:%06llu,sig:%02u,%s", out_dir, | ^~~~~~~~~~~~ src/afl-fuzz-bitmap.c:680:45: note: format string is defined here 680 | fn = alloc_printf("%s/crashes/id:%06llu,sig:%02u,%s", out_dir, | ~~~~~^ | | | long long unsigned int | %06lu In file included from /usr/include/stdio.h:595, from include/alloc-inl.h:29, from include/afl-fuzz.h:44, from src/afl-fuzz-bitmap.c:26: src/afl-fuzz-bitmap.c:680:25: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 680 | fn = alloc_printf("%s/crashes/id:%06llu,sig:%02u,%s", out_dir, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | unique_crashes, kill_signal, describe_op(0)); | ~~~~~~~~~~~~~~ | | | u64 {aka long unsigned int} src/afl-fuzz-bitmap.c:680:12: note: in expansion of macro 'alloc_printf' 680 | fn = alloc_printf("%s/crashes/id:%06llu,sig:%02u,%s", out_dir, | ^~~~~~~~~~~~ src/afl-fuzz-bitmap.c:680:45: note: format string is defined here 680 | fn = alloc_printf("%s/crashes/id:%06llu,sig:%02u,%s", out_dir, | ~~~~~^ | | | long long unsigned int | %06lu In file included from include/afl-fuzz.h:43, from src/afl-fuzz-cmplog.c:27: src/afl-fuzz-cmplog.c: In function 'init_cmplog_forkserver': src/afl-fuzz-cmplog.c:246:12: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 246 | SAYF("\n" cLRD "[-] " cRST | ^~~~ ...... 278 | DMS(mem_limit << 20), mem_limit - 1); | ~~~~~~~~~~~~~ | | | u64 {aka long unsigned int} include/debug.h:169:27: note: in definition of macro 'SAYF' 169 | #define SAYF(x...) printf(x) | ^ src/afl-fuzz-cmplog.c:314:9: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 314 | "\n" cLRD "[-] " cRST | ^~~~ ...... 344 | DMS(mem_limit << 20), mem_limit - 1); | ~~~~~~~~~~~~~ | | | u64 {aka long unsigned int} include/debug.h:169:27: note: in definition of macro 'SAYF' 169 | #define SAYF(x...) printf(x) | ^ src/afl-fuzz-cmplog.c: In function 'run_cmplog_target': src/afl-fuzz-cmplog.c:510:11: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 510 | "\n" cLRD "[-] " cRST | ^~~~ ...... 523 | mem_limit); | ~~~~~~~~~ | | | u64 {aka long unsigned int} include/debug.h:169:27: note: in definition of macro 'SAYF' 169 | #define SAYF(x...) printf(x) | ^ ln -sf afl-as as gcc -O2 -I/usr/include -I/usr/pkg/include -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/pkg/lib/afl\" -DBIN_PATH=\"/usr/pkg/bin\" -DDOC_PATH=\"/usr/pkg/share/doc/afl\" -Wno-unused-function -fcommon -flto src/afl-showmap.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o -o afl-showmap -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpthread src/afl-showmap.c: In function 'main': src/afl-showmap.c:752:32: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type 'u64 *' {aka 'long unsigned int *'} [-Wformat=] 752 | if (sscanf(optarg, "%llu%c", &mem_limit, &suffix) < 1 || | ~~~^ ~~~~~~~~~~ | | | | | u64 * {aka long unsigned int *} | long long unsigned int * | %lu In file included from include/afl-fuzz.h:43, from src/afl-fuzz-init.c:26: src/afl-fuzz-init.c: In function 'perform_dry_run': include/debug.h:44:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 44 | #define cGRA "\x1b[1;90m" | ^~~~~~~~~~~~ include/debug.h:169:27: note: in definition of macro 'SAYF' 169 | #define SAYF(x...) printf(x) | ^ src/afl-fuzz-init.c:507:12: note: in expansion of macro 'cGRA' 507 | SAYF(cGRA " len = %u, map size = %u, exec speed = %llu us\n" cRST, | ^~~~ src/afl-fuzz-init.c:584:16: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 584 | SAYF("\n" cLRD "[-] " cRST | ^~~~ ...... 624 | DMS(mem_limit << 20), mem_limit - 1, doc_path); | ~~~~~~~~~~~~~ | | | u64 {aka long unsigned int} include/debug.h:169:27: note: in definition of macro 'SAYF' 169 | #define SAYF(x...) printf(x) | ^ src/afl-fuzz-init.c: In function 'maybe_delete_out_dir': src/afl-fuzz-init.c:1059:37: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type 'u64 *' {aka 'long unsigned int *'} [-Wformat=] 1059 | "start_time : %llu\n" | ~~~^ | | | long long unsigned int * | %lu 1060 | "last_update : %llu\n", 1061 | &start_time2, &last_update) != 2) | ~~~~~~~~~~~~ | | | u64 * {aka long unsigned int *} src/afl-fuzz-init.c:1059:16: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 4 has type 'u64 *' {aka 'long unsigned int *'} [-Wformat=] 1059 | "start_time : %llu\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~ 1060 | "last_update : %llu\n", 1061 | &start_time2, &last_update) != 2) | ~~~~~~~~~~~~ | | | u64 * {aka long unsigned int *} src/afl-fuzz-init.c:1060:37: note: format string is defined here 1060 | "last_update : %llu\n", | ~~~^ | | | long long unsigned int * | %lu In file included from /usr/include/stdio.h:595, from include/alloc-inl.h:29, from include/afl-fuzz.h:44, from src/afl-fuzz-misc.c:26: src/afl-fuzz-misc.c: In function 'DI': src/afl-fuzz-misc.c:52:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] 44 | sprintf(tmp[cur], _fmt, ((_cast)val) / (_divisor)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int ...... 52 | CHK_FORMAT(1, 10000, "%llu", u64); | ^~~~~~ src/afl-fuzz-misc.c:52:3: note: in expansion of macro 'CHK_FORMAT' 52 | CHK_FORMAT(1, 10000, "%llu", u64); | ^~~~~~~~~~ src/afl-fuzz-misc.c:52:28: note: format string is defined here 52 | CHK_FORMAT(1, 10000, "%llu", u64); | ~~~^ | | | long long unsigned int | %lu In file included from /usr/include/stdio.h:595, from include/alloc-inl.h:29, from include/afl-fuzz.h:44, from src/afl-fuzz-misc.c:26: src/afl-fuzz-misc.c:58:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] 44 | sprintf(tmp[cur], _fmt, ((_cast)val) / (_divisor)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int ...... 58 | CHK_FORMAT(1000, 1000, "%lluk", u64); | ^~~~~~~ src/afl-fuzz-misc.c:58:3: note: in expansion of macro 'CHK_FORMAT' 58 | CHK_FORMAT(1000, 1000, "%lluk", u64); | ^~~~~~~~~~ src/afl-fuzz-misc.c:58:30: note: format string is defined here 58 | CHK_FORMAT(1000, 1000, "%lluk", u64); | ~~~^ | | | long long unsigned int | %lu In file included from /usr/include/stdio.h:595, from include/alloc-inl.h:29, from include/afl-fuzz.h:44, from src/afl-fuzz-misc.c:26: src/afl-fuzz-misc.c:67:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] 44 | sprintf(tmp[cur], _fmt, ((_cast)val) / (_divisor)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int ...... 67 | CHK_FORMAT(1000 * 1000, 1000, "%lluM", u64); | ^~~~~~~ src/afl-fuzz-misc.c:67:3: note: in expansion of macro 'CHK_FORMAT' 67 | CHK_FORMAT(1000 * 1000, 1000, "%lluM", u64); | ^~~~~~~~~~ src/afl-fuzz-misc.c:67:37: note: format string is defined here 67 | CHK_FORMAT(1000 * 1000, 1000, "%lluM", u64); | ~~~^ | | | long long unsigned int | %lu In file included from /usr/include/stdio.h:595, from include/alloc-inl.h:29, from include/afl-fuzz.h:44, from src/afl-fuzz-misc.c:26: src/afl-fuzz-misc.c: In function 'DMS': src/afl-fuzz-misc.c:125:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] 44 | sprintf(tmp[cur], _fmt, ((_cast)val) / (_divisor)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int ...... 125 | CHK_FORMAT(1, 10000, "%llu B", u64); | ^~~~~~~~ src/afl-fuzz-misc.c:125:3: note: in expansion of macro 'CHK_FORMAT' 125 | CHK_FORMAT(1, 10000, "%llu B", u64); | ^~~~~~~~~~ src/afl-fuzz-misc.c:125:28: note: format string is defined here 125 | CHK_FORMAT(1, 10000, "%llu B", u64); | ~~~^ | | | long long unsigned int | %lu In file included from /usr/include/stdio.h:595, from include/alloc-inl.h:29, from include/afl-fuzz.h:44, from src/afl-fuzz-misc.c:26: src/afl-fuzz-misc.c:131:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] 44 | sprintf(tmp[cur], _fmt, ((_cast)val) / (_divisor)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int ...... 131 | CHK_FORMAT(1024, 1000, "%llu kB", u64); | ^~~~~~~~~ src/afl-fuzz-misc.c:131:3: note: in expansion of macro 'CHK_FORMAT' 131 | CHK_FORMAT(1024, 1000, "%llu kB", u64); | ^~~~~~~~~~ src/afl-fuzz-misc.c:131:30: note: format string is defined here 131 | CHK_FORMAT(1024, 1000, "%llu kB", u64); | ~~~^ | | | long long unsigned int | %lu In file included from /usr/include/stdio.h:595, from include/alloc-inl.h:29, from include/afl-fuzz.h:44, from src/afl-fuzz-misc.c:26: src/afl-fuzz-misc.c:140:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] 44 | sprintf(tmp[cur], _fmt, ((_cast)val) / (_divisor)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int ...... 140 | CHK_FORMAT(1024 * 1024, 1000, "%llu MB", u64); | ^~~~~~~~~ src/afl-fuzz-misc.c:140:3: note: in expansion of macro 'CHK_FORMAT' 140 | CHK_FORMAT(1024 * 1024, 1000, "%llu MB", u64); | ^~~~~~~~~~ src/afl-fuzz-misc.c:140:37: note: format string is defined here 140 | CHK_FORMAT(1024 * 1024, 1000, "%llu MB", u64); | ~~~^ | | | long long unsigned int | %lu In file included from include/afl-fuzz.h:43, from src/afl-fuzz-one.c:26: src/afl-fuzz-one.c: In function 'fuzz_one_original': include/debug.h:48:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 48 | #define cLBL "\x1b[1;94m" | ^~~~~~~~~~~~ include/debug.h:169:27: note: in definition of macro 'SAYF' 169 | #define SAYF(x...) printf(x) | ^ include/debug.h:189:10: note: in expansion of macro 'cLBL' 189 | SAYF(cLBL "[*] " cRST x); \ | ^~~~ src/afl-fuzz-one.c:392:5: note: in expansion of macro 'ACTF' 392 | ACTF("Fuzzing test case #%u (%u total, %llu uniq crashes found)...", | ^~~~ src/afl-fuzz-one.c: In function 'common_fuzzing': include/debug.h:48:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 48 | #define cLBL "\x1b[1;94m" | ^~~~~~~~~~~~ include/debug.h:169:27: note: in definition of macro 'SAYF' 169 | #define SAYF(x...) printf(x) | ^ include/debug.h:189:10: note: in expansion of macro 'cLBL' 189 | SAYF(cLBL "[*] " cRST x); \ | ^~~~ src/afl-fuzz-one.c:2480:5: note: in expansion of macro 'ACTF' 2480 | ACTF("Fuzzing test case #%u (%u total, %llu uniq crashes found)...", | ^~~~ gcc -O2 -I/usr/include -I/usr/pkg/include -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/pkg/lib/afl\" -DBIN_PATH=\"/usr/pkg/bin\" -DDOC_PATH=\"/usr/pkg/share/doc/afl\" -Wno-unused-function -fcommon -flto src/afl-tmin.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o -o afl-tmin -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpthread src/afl-tmin.c: In function 'main': src/afl-tmin.c:1127:32: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type 'u64 *' {aka 'long unsigned int *'} [-Wformat=] 1127 | if (sscanf(optarg, "%llu%c", &mem_limit, &suffix) < 1 || | ~~~^ ~~~~~~~~~~ | | | | | u64 * {aka long unsigned int *} | long long unsigned int * | %lu In file included from src/afl-tmin.c:37: include/debug.h:48:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 48 | #define cLBL "\x1b[1;94m" | ^~~~~~~~~~~~ include/debug.h:171:36: note: in definition of macro 'SAYF' 171 | #define SAYF(x...) fprintf(stderr, x) | ^ include/debug.h:189:10: note: in expansion of macro 'cLBL' 189 | SAYF(cLBL "[*] " cRST x); \ | ^~~~ src/afl-tmin.c:1249:3: note: in expansion of macro 'ACTF' 1249 | ACTF("Performing dry run (mem limit = %llu MB, timeout = %u ms%s)...", | ^~~~ [!] Note: skipping build tests (you may need to use LLVM or QEMU mode). [+] LLVM users: see llvm_mode/README.md for a faster alternative to afl-gcc. [+] All done! Be sure to review the README.md - it's pretty short and useful. In file included from include/afl-fuzz.h:43, from src/afl-fuzz-run.c:26: src/afl-fuzz-run.c: In function 'run_target': src/afl-fuzz-run.c:182:11: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 182 | "\n" cLRD "[-] " cRST | ^~~~ ...... 199 | mem_limit); | ~~~~~~~~~ | | | u64 {aka long unsigned int} include/debug.h:169:27: note: in definition of macro 'SAYF' 169 | #define SAYF(x...) printf(x) | ^ src/afl-fuzz-stats.c: In function 'write_stats_file': src/afl-fuzz-stats.c:70:31: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 70 | "start_time : %llu\n" | ~~~^ | | | long long unsigned int | %lu ...... 102 | start_time / 1000, get_cur_time() / 1000, getpid(), | ~~~~~~~~~~~~~~~~~ | | | u64 {aka long unsigned int} src/afl-fuzz-stats.c:70:7: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 70 | "start_time : %llu\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 102 | start_time / 1000, get_cur_time() / 1000, getpid(), | ~~~~~~~~~~~~~~~~~~~~~ | | | u64 {aka long unsigned int} src/afl-fuzz-stats.c:71:31: note: format string is defined here 71 | "last_update : %llu\n" | ~~~^ | | | long long unsigned int | %lu src/afl-fuzz-stats.c:70:7: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 70 | "start_time : %llu\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 103 | queue_cycle ? (queue_cycle - 1) : 0, total_execs, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u64 {aka long unsigned int} src/afl-fuzz-stats.c:73:31: note: format string is defined here 73 | "cycles_done : %llu\n" | ~~~^ | | | long long unsigned int | %lu src/afl-fuzz-stats.c:70:7: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 70 | "start_time : %llu\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 103 | queue_cycle ? (queue_cycle - 1) : 0, total_execs, | ~~~~~~~~~~~ | | | u64 {aka long unsigned int} src/afl-fuzz-stats.c:74:31: note: format string is defined here 74 | "execs_done : %llu\n" | ~~~^ | | | long long unsigned int | %lu src/afl-fuzz-stats.c:70:7: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 20 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 70 | "start_time : %llu\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 107 | queued_variable, stability, bitmap_cvg, unique_crashes, unique_hangs, | ~~~~~~~~~~~~~~ | | | u64 {aka long unsigned int} src/afl-fuzz-stats.c:88:31: note: format string is defined here 88 | "unique_crashes : %llu\n" | ~~~^ | | | long long unsigned int | %lu src/afl-fuzz-stats.c:70:7: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 21 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 70 | "start_time : %llu\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 107 | queued_variable, stability, bitmap_cvg, unique_crashes, unique_hangs, | ~~~~~~~~~~~~ | | | u64 {aka long unsigned int} src/afl-fuzz-stats.c:89:31: note: format string is defined here 89 | "unique_hangs : %llu\n" | ~~~^ | | | long long unsigned int | %lu src/afl-fuzz-stats.c:70:7: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 22 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 70 | "start_time : %llu\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 108 | last_path_time / 1000, last_crash_time / 1000, last_hang_time / 1000, | ~~~~~~~~~~~~~~~~~~~~~ | | | u64 {aka long unsigned int} src/afl-fuzz-stats.c:90:31: note: format string is defined here 90 | "last_path : %llu\n" | ~~~^ | | | long long unsigned int | %lu src/afl-fuzz-stats.c:70:7: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 23 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 70 | "start_time : %llu\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 108 | last_path_time / 1000, last_crash_time / 1000, last_hang_time / 1000, | ~~~~~~~~~~~~~~~~~~~~~~ | | | u64 {aka long unsigned int} src/afl-fuzz-stats.c:91:31: note: format string is defined here 91 | "last_crash : %llu\n" | ~~~^ | | | long long unsigned int | %lu src/afl-fuzz-stats.c:70:7: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 24 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 70 | "start_time : %llu\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 108 | last_path_time / 1000, last_crash_time / 1000, last_hang_time / 1000, | ~~~~~~~~~~~~~~~~~~~~~ | | | u64 {aka long unsigned int} src/afl-fuzz-stats.c:92:31: note: format string is defined here 92 | "last_hang : %llu\n" | ~~~^ | | | long long unsigned int | %lu src/afl-fuzz-stats.c:70:7: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 25 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 70 | "start_time : %llu\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 109 | total_execs - last_crash_execs, exec_tmout, slowest_exec_ms, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u64 {aka long unsigned int} src/afl-fuzz-stats.c:93:31: note: format string is defined here 93 | "execs_since_crash : %llu\n" | ~~~^ | | | long long unsigned int | %lu src/afl-fuzz-stats.c:70:7: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 27 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 70 | "start_time : %llu\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 109 | total_execs - last_crash_execs, exec_tmout, slowest_exec_ms, | ~~~~~~~~~~~~~~~ | | | u64 {aka long unsigned int} src/afl-fuzz-stats.c:95:31: note: format string is defined here 95 | "slowest_exec_ms : %llu\n" | ~~~^ | | | long long unsigned int | %lu src/afl-fuzz-stats.c: In function 'maybe_update_plot_file': src/afl-fuzz-stats.c:159:15: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 159 | "%llu, %llu, %u, %u, %u, %u, %0.02f%%, %llu, %llu, %u, %0.02f\n", | ~~~^ | | | long long unsigned int | %lu 160 | get_cur_time() / 1000, queue_cycle - 1, current_entry, queued_paths, | ~~~~~~~~~~~~~~~~~~~~~ | | | u64 {aka long unsigned int} src/afl-fuzz-stats.c:159:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 159 | "%llu, %llu, %u, %u, %u, %u, %0.02f%%, %llu, %llu, %u, %0.02f\n", | ~~~^ | | | long long unsigned int | %lu 160 | get_cur_time() / 1000, queue_cycle - 1, current_entry, queued_paths, | ~~~~~~~~~~~~~~~ | | | u64 {aka long unsigned int} src/afl-fuzz-stats.c:159:53: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 10 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 159 | "%llu, %llu, %u, %u, %u, %u, %0.02f%%, %llu, %llu, %u, %0.02f\n", | ~~~^ | | | long long unsigned int | %lu 160 | get_cur_time() / 1000, queue_cycle - 1, current_entry, queued_paths, 161 | pending_not_fuzzed, pending_favored, bitmap_cvg, unique_crashes, | ~~~~~~~~~~~~~~ | | | u64 {aka long unsigned int} src/afl-fuzz-stats.c:159:59: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 11 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 159 | "%llu, %llu, %u, %u, %u, %u, %0.02f%%, %llu, %llu, %u, %0.02f\n", | ~~~^ | | | long long unsigned int | %lu ...... 162 | unique_hangs, max_depth, eps); /* ignore errors */ | ~~~~~~~~~~~~ | | | u64 {aka long unsigned int} In file included from /usr/include/ctype.h:100, from include/afl-fuzz.h:58, from src/afl-fuzz.c:26: src/afl-fuzz.c: In function 'stricmp': src/afl-fuzz.c:169:17: warning: array subscript has type 'char' [-Wchar-subscripts] 169 | d = tolower(*a) - tolower(*b); | ^ src/afl-fuzz.c:169:31: warning: array subscript has type 'char' [-Wchar-subscripts] 169 | d = tolower(*a) - tolower(*b); | ^ src/afl-fuzz.c: In function 'main': src/afl-fuzz.c:359:32: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type 'u64 *' {aka 'long unsigned int *'} [-Wformat=] 359 | if (sscanf(optarg, "%llu%c", &mem_limit, &suffix) < 1 || | ~~~^ ~~~~~~~~~~ | | | | | u64 * {aka long unsigned int *} | long long unsigned int * | %lu src/afl-fuzz.c:469:32: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type 'u64 *' {aka 'long unsigned int *'} [-Wformat=] 469 | if (sscanf(optarg, "%llu", &most_time) < 1 || optarg[0] == '-') | ~~~^ ~~~~~~~~~~ | | | | | u64 * {aka long unsigned int *} | long long unsigned int * | %lu src/afl-fuzz.c:477:32: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type 'u64 *' {aka 'long unsigned int *'} [-Wformat=] 477 | if (sscanf(optarg, "%llu", &most_execs) < 1 || optarg[0] == '-') | ~~~^ ~~~~~~~~~~~ | | | | | u64 * {aka long unsigned int *} | long long unsigned int * | %lu src/afl-fuzz.c:488:32: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type 'u64 *' {aka 'long unsigned int *'} [-Wformat=] 488 | if (sscanf(optarg, "%llu", &limit_time_puppet) < 1 || optarg[0] == '-') | ~~~^ ~~~~~~~~~~~~~~~~~~ | | | | | u64 * {aka long unsigned int *} | long long unsigned int * | %lu In file included from include/afl-fuzz.h:43, from src/afl-fuzz.c:26: src/afl-fuzz.c:497:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 497 | SAYF("limit_time_puppet %llu\n", limit_time_puppet); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | u64 {aka long unsigned int} include/debug.h:169:27: note: in definition of macro 'SAYF' 169 | #define SAYF(x...) printf(x) | ^ src/afl-fuzz.c:497:36: note: format string is defined here 497 | SAYF("limit_time_puppet %llu\n", limit_time_puppet); | ~~~^ | | | long long unsigned int | %lu In file included from include/afl-fuzz.h:43, from src/afl-fuzz.c:26: include/debug.h:48:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 48 | #define cLBL "\x1b[1;94m" | ^~~~~~~~~~~~ include/debug.h:169:27: note: in definition of macro 'SAYF' 169 | #define SAYF(x...) printf(x) | ^ include/debug.h:189:10: note: in expansion of macro 'cLBL' 189 | SAYF(cLBL "[*] " cRST x); \ | ^~~~ src/afl-fuzz.c:981:9: note: in expansion of macro 'ACTF' 981 | ACTF("Entering queue cycle %llu.", queue_cycle); | ^~~~ ld: /tmp/pkgbuild/devel/afl++/work.sparc64/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() ld: /tmp/pkgbuild/devel/afl++/work.sparc64/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()