Skip to content

Instantly share code, notes, and snippets.

@TerrorJack
Last active May 12, 2023 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TerrorJack/f62ba161a8aefdee9acbf6527c501746 to your computer and use it in GitHub Desktop.
Save TerrorJack/f62ba161a8aefdee9acbf6527c501746 to your computer and use it in GitHub Desktop.
export AFL_QUIET=1
./configure --enable-unregisterised --with-intree-gmp CC=/workspace/.local/bin/afl-clang-fast CXX=/workspace/.local/bin/afl-clang-fast++ CONF_CC_OPTS_STAGE2="-fbracket-depth=4096 -Wno-error=implicit-function-declaration -Wno-error=incompatible-function-pointer-types" CONF_CXX_OPTS_STAGE2="-fbracket-depth=4096 -Wno-error=implicit-function-declaration -Wno-error=incompatible-function-pointer-types" CONF_CC_OPTS_STAGE1="-fbracket-depth=4096 -Wno-error=implicit-function-declaration -Wno-error=incompatible-function-pointer-types" CONF_CXX_OPTS_STAGE1="-fbracket-depth=4096 -Wno-error=implicit-function-declaration -Wno-error=incompatible-function-pointer-types"
hadrian/build --flavour=perf+no_profiled_libs+no_dynamic_libs --docs=none -j
export AFL_PASSTHROUGH=1
./configure --enable-unregisterised --with-intree-gmp AR=/usr/lib/llvm-16/bin/llvm-ar NM=/usr/lib/llvm-16/bin/llvm-nm OBJDUMP=/usr/lib/llvm-16/bin/llvm-objdump RANLIB=/usr/lib/llvm-16/bin/llvm-ranlib CC=/workspace/.local/bin/afl-clang-lto CXX=/workspace/.local/bin/afl-clang-lto++ CONF_CC_OPTS_STAGE2="-O3 -march=native -fdata-sections -ffunction-sections -fbracket-depth=4096 -Wno-error=implicit-function-declaration -Wno-error=incompatible-function-pointer-types" CONF_CXX_OPTS_STAGE2="-O3 -march=native -fdata-sections -ffunction-sections -fbracket-depth=4096 -Wno-error=implicit-function-declaration -Wno-error=incompatible-function-pointer-types" CONF_CC_OPTS_STAGE1="-O3 -march=native -fdata-sections -ffunction-sections -fbracket-depth=4096 -Wno-error=implicit-function-declaration -Wno-error=incompatible-function-pointer-types" CONF_CXX_OPTS_STAGE1="-O3 -march=native -fdata-sections -ffunction-sections -fbracket-depth=4096 -Wno-error=implicit-function-declaration -Wno-error=incompatible-function-pointer-types"
hadrian/build --flavour=perf+no_profiled_libs+no_dynamic_libs --docs=none -j
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment