about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)Author
2020-05-28Fix read_timed when accumulating short readsDavid Melski
The existing code appears to use 'len_read' in several places where 'total_read' was intended. The function may work if the first 1 or 2 iterations of the loop read the requested 'len' bytes. If the first two reads are "short" and a third read is done, the bytes will be placed over previously read bytes in buf and more than 'len' bytes may be read in total, though buf is never overrun. This commit changes read_timed to (1) correctly append short reads in buf (2) correctly terminate when the sum of the short reads equals the requested 'len' bytes (3) return an error when read() returns -1 or 0 The function also depends on select() decrementing the timeout structure, as it does on Linux. On other platforms, the exec_ms returned is likely incorrect. This patch does not attempt to address this issue.
2020-05-15code formatDominik Maier
2020-05-14unicorn mode may run scriptsDominik Maier
2020-05-14if target crashes add LTO fixed map as a possible reasonvan Hauser
2020-05-14deprecated AFL_POST_LIBRARYvan Hauser
2020-05-13init/deinit need to be optional for post libvan Hauser
2020-05-13fix GNUmakefilevan Hauser
2020-05-13code-format and slight -S/-M modificationsvan Hauser
2020-05-13Fix previous commit bugsrish9101
2020-05-13Fix bugs, remove intial post library testrish9101
2020-05-13Add post library API as custom mutator and rename pre_saverish9101
2020-05-13move has_new_bits for better performancevan Hauser
2020-05-12missing env varvan Hauser
2020-05-12enforce mandatary custom functionsvan Hauser
2020-05-12fix custom mutators and add real test casesvan Hauser
2020-05-12new code formatting + appliedvan Hauser
2020-05-12fix issue in describe_op showing time inside srcAndrea Fioraldi
2020-05-10indenting preprocessor directives breaks compilation and cant be fixed, ↵van Hauser
reverting ... :-(
2020-05-10fix warning, code formatvan Hauser
2020-05-10code-formatvan Hauser
2020-05-10Illumos biuld fix (#357)David CARLIER
2020-05-09remove debug outputvan Hauser
2020-05-09custom mutator code enhancements and code-formatvan Hauser
2020-05-08Support multiple custom mutators (#282)Rishi Ranjan
* Make a list of custom mutators using env variable * Set up multiple custom mutators * Add destroy custom mutator and changes to load_custom_mutator * Use array instead of list, make changes to afl-fuzz-one for multiple mutators * Make change to fuzz-one custom_queue_get to support multiple mutators * Modify custom python mutator support * Fix bug * Fix missing afl->mutator->data * Revert to list with max count * Change custom_pre_save hook and code format * Free custom_mutator struct in the list * Add testcase for multiple custom mutators * Resolve merge conflict
2020-05-07added AFL_LLVM_SKIPSINGLEBLOCK and changed default behaviour to instrument ↵van Hauser
single block functions
2020-05-07fix static and profiling compilation and add profiling calculationvan Hauser
2020-05-03fix for afl-tmin -fvan Hauser
2020-05-02AFL_LLVM_SKIP_NEVERZERO addedvan Hauser
2020-05-01code formatDominik Maier
2020-04-30afl-untracer completedvan Hauser
2020-04-30afl-untracer - next stepvan Hauser
2020-04-27better fix for showmapvan Hauser
2020-04-27better fix for showmapvan Hauser
2020-04-27fix for afl-showmap with -Qvan Hauser
2020-04-26fix negative stability bug (hopefully)van Hauser
2020-04-26refactored global listsDominik Maier
2020-04-26map_size one linerDominik Maier
2020-04-26minor fixesDominik Maier
2020-04-24fix simple namesvan Hauser
2020-04-24variable map size fix, error reporting through forkserver, code formatvan Hauser
2020-04-23afl-gcc and afl-clang: fail when binary name can't be used to determine ↵Rick van Schijndel
build mode This is a continuation of PR #318. The goal is to prevent issues where binaries with the wrong name will silently pass control to the C compiler instead of failing. This makes it more explicit that aflplusplus relies on the name of the binary for correct compiler execution.
2020-04-23fixed map location support for LTOvan Hauser
2020-04-22Merge branch 'dev' of github.com:vanhauser-thc/AFLplusplus into devAndrea Fioraldi
2020-04-22fix sed errors in afl_shm_init when using mmapAndrea Fioraldi
2020-04-20removed done todoDominik Maier
2020-04-20clang warning fixedDominik Maier
2020-04-20code formatDominik Maier
2020-04-19clang-tidy readability-braces (#323)Dominik Maier
2020-04-17unused varDominik Maier
2020-04-17little more speed for queue analysisvan Hauser