about summary refs log tree commit diff
path: root/llvm_mode/GNUmakefile
AgeCommit message (Collapse)Author
2020-09-05first batch of changesvanhauser-thc
2020-09-01bugfix for Ubuntu trusty: avoid unknown compiler optionhexcoder-
2020-08-31fix non portable option -T for 'install'hexcoder-
2020-08-31Fix manpages generated by llvm_mode/GNUMakefileRaphaël Hertzog
* Use a build date derived from SOURCE_DATE_EPOCH like in the main Makefile * Fix the path to the binary
2020-08-31Merge pull request #531 from rhertzog/extend-cflags-safevan Hauser
Add -fdebug-prefix-map to CFLAGS_SAFE
2020-08-31Merge pull request #530 from rhertzog/add-cppflagsvan Hauser
Pass CPPFLAGS to all calls of the C compiler
2020-08-31Merge pull request #529 from rhertzog/manpagesvan Hauser
Manual pages related changes
2020-08-28Add -fdebug-prefix-map to CFLAGS_SAFERaphaël Hertzog
In Debian, we override CFLAGS to include -fdebug-prefix-map to avoid hardcoding the build path in any generated debug information. This is to help with getting the package to build reproducibly. However you seem to voluntarily not honor CFLAGS but only CFLAGS_SAFE for a limited number of source files. This resulted in a lintian warning on Debian's side (https://lintian.debian.org/tags/file-references-package-build-path.html) pointing to /usr/lib/afl/afl-llvm-rt-64.o and /usr/lib/afl/afl-llvm-rt.o. With this commit, I'm manually adding -fdebug-prefix-map as a safe build flag to CFLAGS_SAFE.
2020-08-28Pass CPPFLAGS to all calls of the C compilerRaphaël Hertzog
This variable is a standard way to inject options for the C preprocessor. It's respected by the implicit rules of make and autoconf/automake. Debian sets this variable during package build to inject `-D_FORTIFY_SOURCE=2` and we would like afl++ to respect it. Note that this commit also adds $(CFLAGS) in the build of afl-performance.o where it was missing. It might have been on purpose but we want to keep CFLAGS everywhere as well since Debian injects various options through that variable (for hardening and reproducibility).
2020-08-28Improve the generated manual page to be compatible with whatisRaphaël Hertzog
And generate the manual page for afl-g++ too.
2020-08-28Fix installation path of manual pagesRaphaël Hertzog
Manual pages are stored in /usr/share/man/.
2020-08-28Fix the /usr/bin/afl-clang and afl-clang++ symlinksRaphaël Hertzog
Right now they are created pointing to '../afl-clang-fast' instead of 'afl-clang-fast. Given that all the binaries are in the same directory, the symlinks are effectively broken.
2020-08-21only compile SanitizerCoverage for LTOvan Hauser
2020-08-20LTO: sancov made default, deprecated SKIPSINGLEBLOCK, deactivate LTO ↵van Hauser
autodict for cmplog binaries
2020-08-17pcguard for ltovan Hauser
2020-08-14fixes lots of llvm warningsvan Hauser
2020-08-14remove debugvan Hauser
2020-08-14fix llvm12 -fuseld warningvan Hauser
2020-08-12fix LLVM version checkvan Hauser
2020-08-05install dynamic listvan Hauser
2020-08-04makefile fix?van Hauser
2020-08-02warn on old llvmvan Hauser
2020-08-01better LTO mode detection warningsvan Hauser
2020-07-28finalize new readmevan Hauser
2020-07-24llvm12 supportvan Hauser
2020-06-30rename whitelist -> instrumentlistvan Hauser
2020-06-28debug codevan Hauser
2020-06-28O2 instead of O3 for .o target filesvan Hauser
2020-06-23fix make filesvan Hauser
2020-06-19fix afl-clang-fast for default pcguard modevan Hauser
2020-06-14Porting to Haiku.David Carlier
getrusage does not implement resident memory gathering, no shm api neither.
2020-06-04fix cmplog for shmem persistent modevan Hauser
2020-06-04add afl-ld-lto for LTOvan Hauser
2020-06-03Merge pull request #390 from devnexen/obsd_no_retpolinehexcoder
OpenBSD build update and llvm mode fix
2020-06-01fixed persistent mode shared mem fuzzingvan Hauser
2020-05-30OpenBSD build update and llvm mode fixDavid Carlier
Unlike upstream version, LLVM in OpenBSD enable by default anti ROP gadget leading to bigger binaries and lower performances. On OpenBSD, it needs to link to c++ abi for th unwind symbols.
2020-05-26better performance compilation options for afl++ and targetsvan Hauser
2020-05-25more performance testingvan Hauser
2020-05-25libfuzzer driver + llvm_mode compilation optimizationvan Hauser
2020-05-17adjust documentation for new minimum llvm version 3.4hexcoder-
2020-05-15llvm_mode: lower llvm version reqs to 3.4 (LLInsTrim will not behexcoder-
available)
2020-05-12llvm_mode: more support for Darwin/MacOSX (WIP)hexcoder-
2020-05-10LTO fixes for fuzzbenchvan Hauser
2020-05-06added InsTrimLTO :-)van Hauser
2020-05-02makefile fixvan Hauser
2020-05-01at some point we have to do a rewrite of llvm_mode/GNUmakefilevan Hauser
2020-04-25refactored whitelist and blacklist in llvm_modevan Hauser
2020-04-23use mmap in llvm_mode if LTO is enabledvan Hauser
2020-04-13more robust search for clang for afl-clang-fastAndrea Fioraldi
2020-04-12remove warnings with llvm11van Hauser