about summary refs log tree commit diff
path: root/src/afl-common.c
AgeCommit message (Collapse)Author
2020-08-09taint integration donevan Hauser
2020-08-09code formatvan Hauser
2020-08-09step 1van Hauser
2020-07-30added NULL checkDominik Maier
2020-07-01warn on deprecated env varsvan Hauser
2020-06-30rename whitelist -> instrumentlistvan Hauser
2020-06-28debug codevan Hauser
2020-06-04add afl-ld-lto for LTOvan Hauser
2020-06-03code formatvan Hauser
2020-06-02got rid of questionable phrasingDominik Maier
2020-05-30removed read_timedDominik Maier
2020-05-30reverted extendended read_timedDominik Maier
2020-05-30Revert "code format"Dominik Maier
This reverts commit 8f19becb620a6fedd0f8b855b48cdeeab211c2ed.
2020-05-30code formatDominik Maier
2020-05-30corrected read_timed for values > 4Dominik Maier
2020-05-30simplified read_timedvan Hauser
2020-05-29Merge pull request #383 from dgmelski/fix-read-timedDominik Maier
Fix read_timed when accumulating short reads
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-23AFL_LLVM_LAF_ALLvan Hauser
2020-05-14deprecated AFL_POST_LIBRARYvan Hauser
2020-05-12missing env varvan Hauser
2020-05-12new code formatting + appliedvan Hauser
2020-05-10indenting preprocessor directives breaks compilation and cant be fixed, ↵van Hauser
reverting ... :-(
2020-05-10fix warning, code formatvan Hauser
2020-05-07added AFL_LLVM_SKIPSINGLEBLOCK and changed default behaviour to instrument ↵van Hauser
single block functions
2020-05-02AFL_LLVM_SKIP_NEVERZERO addedvan Hauser
2020-04-30afl-untracer - next stepvan Hauser
2020-04-26refactored global listsDominik Maier
2020-04-24variable map size fix, error reporting through forkserver, code formatvan Hauser
2020-04-23fixed map location support for LTOvan Hauser
2020-04-19clang-tidy readability-braces (#323)Dominik Maier
2020-04-17Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into devhexcoder-
2020-04-17add AFL_NO_PYTHON to list of env variableshexcoder-
2020-04-17refactoring getting the map sizevan Hauser
2020-04-17final fix for map_sizevan Hauser
2020-04-17Merge branch 'dev' of github.com:aflplusplus/aflplusplus into devDominik Maier
2020-04-17clearer codeDominik Maier
2020-04-17added AFL_MAP_SIZE (wip)van Hauser
2020-04-17fixed 2 unimportant leaksvan Hauser
2020-04-16removed redundent funcsDominik Maier
2020-04-13fixed uaf and warningsDominik Maier
2020-04-12Better solution for ARM64 build fix (#315)David CARLIER
2020-04-12build on arm64 fix. tested on Android. (#313)David CARLIER
2020-04-11refactored cmplogDominik Maier
2020-04-10LTO optimization, variable map size, autodictionary (#307)van Hauser
* lto module clean-up * step 1/3 * step 1/3 completed * if tmp is ever made non-static * parts 2 and 3 - autodictionary is complete * variable map_size support * variable map size: changed overlooked functions * remove debug for autodict * 64 bit alignment of map size * fix review comments * force 64 bit alignment on both sides * typo
2020-04-10tackeled some warningsDominik Maier
2020-04-10resize fix + code formatDominik Maier
2020-04-09check for empty AFL env varsvan Hauser
2020-04-09ctx donevan Hauser
2020-04-09update env with AFL_NO_SNAPSHOTAndrea Fioraldi