about summary refs log tree commit diff
path: root/custom_mutators/radamsa
AgeCommit message (Collapse)Author
2024-06-14Fix signed integer overflow in radamsaKuan-Wei Chiu
When UBSan was enabled and 'make test' was executed, the following runtime error was observed: libradamsa.c:26055:29: runtime error: left shift of 16777215 by 8 places cannot be represented in type 'int' This issue was caused by a left shift operation on a signed integer. The fix involved changing the integer literal to an unsigned integer by adding a 'U' suffix, ensuring the left shift operation produces the correct value without overflow. Fixes: 8178f4df ("remove radamsa, add radamsa custom mutator")
2023-04-25remove symlinksvanhauser-thc
2023-04-25update custom mutatorsvanhauser-thc
2021-12-12radamsa mutator adding freebsd specific fcntl flags.David CARLIER
2021-06-09avoid code duplication, symlink header filehexcoder-
2020-11-12another two mem leakshexcoder-
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-18Reworked maybe_grow to take a single ptr, renamed to afl_realloc (#505)Dominik Maier
* maybe_grow takes a single ptr * fixed use_deflate * reworked maybe_grow_bufsize * helper to access underlying buf * remove redundant realloc_block * code format * fixes * added unit tests * renamed maybe_grow to afl_realloc * BUF_PARAMS -> AFL_BUF_PARAM
2020-06-25remove radamsa, add radamsa custom mutatorvan Hauser