about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)Author
2024-09-12nitsvanhauser-thc
2024-09-06Merge pull request #2203 from ktpss95112/patch-1van Hauser
Update the doc string of read_foreign_testcases()
2024-09-06Merge pull request #2202 from smoelius/permissive_create-in-mark_as_variablevan Hauser
Use `permissive_create` in `mark_as_variable`
2024-09-06Update the doc string of read_foreign_testcases()Chi-Feng Tsai
2024-09-05Use `permissive_create` in `mark_as_variable`Samuel Moelius
2024-08-21No longer need the extra line breakAlyssa Coghlan
2024-08-21Skip the save/restore exampleAlyssa Coghlan
2024-08-21Wording tweaksAlyssa Coghlan
2024-08-21Offer more explicit core dump handling tipAlyssa Coghlan
2024-08-19code format, llvm 18vanhauser-thc
2024-08-16fix custom post process with custom sendvanhauser-thc
2024-08-14fix missing trace_mini checkvanhauser-thc
2024-08-08Merge pull request #2173 from ahuo1/devvan Hauser
To support AFL instrumentation, add default settings of map_size in forkserver.
2024-08-07Merge pull request #2181 from tchebb/fix-no-zlibvan Hauser
Fix syntax error when compiling without zlib
2024-08-06Fix syntax error when compiling without zlibThomas Hebb
commit ecb5854be08fa ("add zlib compression for fast resume") added new logic selected at compile-time when zlib is present. Unfortunately, it also broke the existing logic by removing the last line of a multi-line if statement, resulting in a syntax error when zlib isn't present. Restore the line as it was.
2024-08-05Merge branch 'AFLplusplus:dev' into devYiyi Wang
2024-08-03Merge pull request #2174 from killerra/devvan Hauser
Fixed lsan defaults evaluation
2024-08-02Handle detect_leaks 0 and falsekillerra
2024-08-02lower mem usage attemptvanhauser-thc
2024-07-28fixed lasan defaults evaluationkillerra
2024-07-28To support AFL instrumentation, add default settings.Yiyi Wang
2024-07-14ensure this does not happen againvanhauser-thc
2024-07-14Revert "Replace gettimeofday with clock_gettime (#2159)"vanhauser-thc
This reverts commit 7c380a6612f00e4a7ed02364dc2b3769e8edc8f8.
2024-07-14Replace gettimeofday with clock_gettime (#2159)carpintero-de-c
2024-07-12check the sync_id length onceWilliam Tan
2024-07-12Initialize max_length in afl_fsrv_init #2155Christian Holler (:decoder)
2024-07-10Fix missed updates of alias table when INTROSPECTION is onTakuya Shimizu
In src/afl-fuzz.c `prev_queued_items` is used to decide whether the alias table should be recreated through the comparison with `afl->queued_items`. https://github.com/AFLplusplus/AFLplusplus/blob/43f462c91b3699b66e4aa1c5703b30f5189b5618/src/afl-fuzz.c#L3103-L3117 However, this variable is also updated to `afl->queued_items` when INTROSPECTION is enabled and the `fuzz_one` appends seeds. https://github.com/AFLplusplus/AFLplusplus/blob/43f462c91b3699b66e4aa1c5703b30f5189b5618/src/afl-fuzz.c#L3135-L3140 Due to the update of `prev_queued_items` when INTROSPECTION is on, alias table may not be recreated when it actually should be. This can lead to potential heap buffer-overflow in `select_next_queue_entry` due to the lack of `afl_realloc` called in `create_alias_table`. This patch fixes this bug by utilizing another variable for the INTROSPECTION part like other variables such as `prev_saved_tmouts`.
2024-07-01Make fallthroughs explicit in afl-fuzz-extras.cRichard Barnes
Using `__attribute__((fallthrough))` makes fallthroughs explicit in a way the compiler can understand. This allows the enablement of `-Wimplicit-fallthrough`.
2024-06-27AFL_CUSTOM_MUTATOR_LATE_SEND addedvanhauser-thc
2024-06-26improved seed selection algorithmvanhauser-thc
2024-06-24Optimize bit counting using __builtin_popcountKuan-Wei Chiu
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.
2024-06-21add zlib compression for fast resumevanhauser-thc
2024-06-20Auto disable memory limits for FASANkillerra
2024-06-19Collect persistent coverage data and dump it at the end of the runChristian Holler (:decoder)
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.
2024-06-18code format and changelogvanhauser-thc
2024-06-18Merge pull request #2128 from AFLplusplus/fastrestartvan Hauser
Fastrestart
2024-06-18fast resume optionvanhauser-thc
2024-06-17nitvanhauser-thc
2024-06-13Revert "MONOTONIC"vanhauser-thc
This reverts commit 0c9b460cc46aebfa4eb6e1fbe928895c0a8fcfbd.
2024-06-12MONOTONICvanhauser-thc
2024-06-12fastresume implementationvanhauser-thc
2024-06-12Fix undefined behavior by casting to uint64_t before left shiftKuan-Wei Chiu
According to the C standard, left-shifting a value by an amount greater than or equal to the width of its promoted type results in undefined behavior. To prevent potential unexpected results, explicitly cast the uint8_t variable type to uint64_t before performing the left shift operation by 56 bits. This ensures the operation is well-defined and adheres to the standard. Fixes: 40df85d1 ("adjust cmplog header")
2024-06-10fast resume setup detectionvanhauser-thc
2024-06-09fix no_forkserver modevanhauser-thc
2024-06-09nitvanhauser-thc
2024-06-09fix -nvanhauser-thc
2024-06-09allow multiple -mvanhauser-thc
2024-06-07move functionvanhauser-thc
2024-06-07target hashvanhauser-thc
2024-06-07minor testcache optimizationsvanhauser-thc