Age | Commit message (Collapse) | Author |
|
|
|
Incorrect shell syntax
|
|
Replaced a Chinese comma "," with an English comma "," to ensure the code runs correctly.
|
|
Make fallthroughs explicit in afl-fuzz-extras.c
|
|
Using `__attribute__((fallthrough))` makes fallthroughs explicit in a way the compiler can understand. This allows the enablement of `-Wimplicit-fallthrough`.
|
|
Update README.md to reflect latest changes
|
|
1. fixed hook name length to 16
2. no native debug logging at this time -- will bridge with AFL++ macros latter
|
|
push to stable
|
|
|
|
Adding of QEMU hooking bridge
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Enhance Nyx mode instructions
|
|
|
|
|
|
|
|
Optimize bit counting using __builtin_popcount
|
|
Use the __builtin_popcount intrinsic to optimize the bit counting
function if the compiler supports it. This change replaces the manual
bit counting algorithm with the more efficient built-in function, which
leverages hardware support on compatible processors.
This modification ensures that the code remains backward-compatible by
falling back to the original implementation when __builtin_popcount is
not available.
|
|
|
|
|
|
Fix typo in unicorn_mode
|
|
in `unicorn_mode/samples`, python example floder's name is `python_simple`, there is a typo in README file.
|
|
|
|
|
|
Auto disable memory limits for FASAN
|
|
|
|
Collect persistent coverage data and dump it at the end of the run
|
|
With CODE_COVERAGE builds, we need to collect the coverage data of each
iteration in a persistant buffer that has the same size as the regular
trace buffer used for fuzzing. We dump this information at the end of
the run and when combined with pointer data and module info, this can be
used to calculate code coverage.
|
|
|
|
Fastrestart
|
|
|
|
|
|
|
|
Fix signed integer overflow in radamsa
|
|
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")
|
|
push to stable
|
|
This reverts commit 0c9b460cc46aebfa4eb6e1fbe928895c0a8fcfbd.
|
|
Remove -Wno-shift-count-overflow flag and hashmap from compilation
|
|
After commit 0c9d8e59 ("Fix undefined behavior by casting to uint64_t
before left shift"), the -Wno-shift-count-overflow flag is no longer
necessary to suppress compilation warnings. This commit removes the
flag, allowing the compiler to provide appropriate warnings for any
potential future cases of shifting too many bits.
Additionally, after commit eaf4a299 ("make redqueen hashmap not
default"), the hashmap is no longer in use. Therefore, this commit also
removes the hashmap from the GNUmakefile.
|
|
Fix memory allocation check in aflpp custom mutators
|
|
The memory allocation check in afl_custom_fuzz function was incorrect.
The condition was erroneously checking if ptr was non-null, whereas it
should return 0 when ptr is null. Correct the condition to properly
handle memory allocation failures.
Fixes: 32ffa266 ("max_len support")
|
|
|