forked from nihonium/linux-auth
19 lines
328 B
Bash
Executable file
19 lines
328 B
Bash
Executable file
#!/bin/bash
|
|
|
|
export AFL_CC=gccgo
|
|
export GCCGO=afl-gcc-fast
|
|
|
|
#unset GOROOT
|
|
go build -v -x -compiler=gccgo -o authapp_for_afl ../cmd/authapp/main.go
|
|
|
|
exit 0
|
|
|
|
go build -a -toolexec="afl-gcc-fast" -o authapp_for_afl ../cmd/authapp/main.go
|
|
|
|
exit 0
|
|
|
|
export AFL_CC=gccgo
|
|
|
|
afl-gcc-fast -o authapp_for_afl ../cmd/authapp/main.go
|
|
|
|
exit 0
|