Skip to content

Instantly share code, notes, and snippets.

View ckaran's full-sized avatar

Cem Karan ckaran

View GitHub Profile
@ckaran
ckaran / gist:1b034846df7883cc77a0e99895c30f68
Created March 30, 2022 13:17
unicornafl.unicornafl.UcAflError: No AFL, no need to fork (but no real Error)
cfkaran2@Hammer:~/Documents/repositories/AFLplusplus$ make distrib
[*] Compiling afl++ for OS Linux on ARCH x86_64
[*] Checking for the default compiler cc...
[*] Testing the PATH environment variable...
[*] Checking for the ability to compile x86 code...
[+] shmat seems to be working.
[+] Python 3.8.10 support seems to be working.
[+] Everything seems to be working, ready to compile.
cc -O2 -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -flto -c src/afl-common.c -o src/afl-common.o
cc -O2 -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -flto -c src/afl-sharedmem.c -o src/afl-sharedmem.o
@ckaran
ckaran / gist:d14652c5c1c0981e93cc2eb99123d55a
Created March 29, 2022 19:00
Yet another gist for AFL++ issue #1368
cfkaran2@Hammer:~/Documents/repositories/AFLplusplus$ make distrib && make tests
[*] Compiling afl++ for OS Linux on ARCH x86_64
[*] Checking for the default compiler cc...
[*] Testing the PATH environment variable...
[*] Checking for the ability to compile x86 code...
[+] shmat seems to be working.
[+] Python 3.8.10 support seems to be working.
[+] Everything seems to be working, ready to compile.
cc -O2 -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -flto -c src/afl-common.c -o src/afl-common.o
cc -O2 -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -flto -c src/afl-sharedmem.c -o src/afl-sharedmem.o
cfkaran2@Hammer:~/Documents/repositories/AFLplusplus$ make distrib && make tests
[*] Compiling afl++ for OS Linux on ARCH x86_64
[*] Checking for the default compiler cc...
[*] Testing the PATH environment variable...
[*] Checking for the ability to compile x86 code...
[+] shmat seems to be working.
[+] Python 3.8.10 support seems to be working.
[+] Everything seems to be working, ready to compile.
cc -O2 -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -flto -c src/afl-common.c -o src/afl-common.o
cc -O2 -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -flto -c src/afl-sharedmem.c -o src/afl-sharedmem.o