Commit Graph

364 Commits

Author SHA1 Message Date
bd1648e707 fix the file descriptor without determining null 2023-07-28 17:32:59 +08:00
a46d27fad5 nits 2023-07-10 18:29:21 +02:00
6e5ca0c78c higher tuples for afl-clang and afl-gcc in tests 2023-07-06 14:28:37 +02:00
f0ccca123a fix ci 2023-06-06 17:32:32 +02:00
62bacf4fc8 better cmplog ci 2023-06-06 16:45:20 +02:00
ee2cab73ac reduce false positive ci failures 2023-06-06 16:42:52 +02:00
6cad585bdc nits 2023-04-27 18:57:28 +02:00
3e84d6a2ae afl++ -> AFL++ 2023-04-27 11:49:00 +02:00
50678ed369 Fixing typo: & (background) to && (and) 2023-04-14 11:24:10 -04:00
01236f47bc nits 2023-03-28 16:50:05 +02:00
19f9612910 fix frida mode 2023-03-26 12:14:35 +02:00
9bc5abc4ec reduce CI resources 2023-03-25 12:14:08 +01:00
478f0bbc1e ci test 2023-03-21 16:23:51 +01:00
4c7c78d926 enhance tests for macos 2023-03-10 10:59:52 +01:00
aabfe781fd enhance tests for macos 2023-03-10 10:22:35 +01:00
e0866f51c7 support LLVMFuzzerTestOneInput -1 return 2023-03-09 13:57:03 +01:00
ffdb5ec9b1 improve cmplog ci 2023-02-23 14:32:54 +01:00
e5c725c4e0 custom mutator fix 2022-11-14 22:47:34 +01:00
5ccf389414 nits 2022-10-19 10:41:40 +02:00
0fe39e4768 egrep -> grep -e 2022-09-05 13:57:32 +02:00
48c2d51689 nits 2022-06-27 08:31:03 +02:00
3c5edab724 add cmplog icmp testcase to CI 2022-04-06 10:10:39 +02:00
a436ef47e5 fix instrumentlist for LTO with clang < 13 2022-03-30 09:16:47 +02:00
b34751efbf fix qemu sigunaction tests 2022-03-29 10:34:08 +02:00
3f0d642f9b fix unicornafl test 2022-03-26 19:13:49 +00:00
ce5032cc29 debug CI 2022-02-05 07:32:20 +01:00
59a7337bf1 fix ci for mac 2022-01-30 18:02:09 +01:00
c75124aefa debug ci 2022-01-30 17:53:28 +01:00
2861f695ba debug ci 2022-01-30 17:19:22 +01:00
b0758ac8db 4.00c readiness 2022-01-26 09:55:12 +01:00
a91d445b5f make tests working on macos 2021-12-26 01:55:52 +01:00
2d9e0f56b0 debug ci 2021-12-26 01:54:19 +01:00
146eb32c31 make tests working on macos 2021-12-26 01:49:31 +01:00
649076600d debug ci 2021-12-26 01:24:03 +01:00
8521eb8413 debug ci 2021-12-26 01:15:53 +01:00
24dd35ef96 macos ci 2021-12-26 01:05:07 +01:00
5b9397f3dd code format 2021-12-11 10:20:40 +00:00
0648772967 additional test cases for floating point comparison splitting pass 2021-12-10 23:09:07 +01:00
db360332c4 make llvm 14-dev working. again. 2021-12-09 14:33:56 +01:00
fc094dee13 change dlopen solution 2021-12-03 11:35:30 +01:00
f5535e348d Merge pull request #1142 from AFLplusplus/dev
Dev
2021-11-03 21:55:21 +01:00
90786e2ce9 fix 2021-10-19 15:20:59 +02:00
fb481231b7 update test 2021-10-17 21:20:00 +02:00
d4a8a9df69 fix regression in class lookup 2021-08-31 23:54:19 +02:00
233a628047 fix testcase 2021-07-30 09:15:59 +02:00
c3fbf5dca3 add more string functions for dictionary features 2021-07-30 08:33:18 +02:00
c88b98d1c9 test laf splitting: set default for char type explicitly to signed 2021-06-25 22:32:49 +02:00
1fcb52957e fix frida 2021-06-24 09:59:00 +02:00
0978c08f4b split-comparison llvm pass refactor for smaller compilation times (and a small bug fix) (#964)
* Refactored split compare pass to be more efficient in LTO usage and allow splitting to other minimum bitwidths.

Efficiency: avoid looping over the whole llvm module N times, when once is also enough.

Bitwidth: Previously, due to fallthrough in switch-case, all comparisons were split to 8-bit, which might not be desirable e.g., 16 or 32 bit might be enough. So now all comparison are split until they are smaller or equal to the target bitwidth, which is controlled through the `AFL_LLVM_LAF_SPLIT_COMPARES_BITW` environment variable.

* fixed miscompilation due to incorrectly trying to split a signed comparison operator

* minor formatting updates and use IRBuilder when inserting multiple instructions

* added @hexcoder-'s test-int_cases.c to make test

* Avoid recursion; switch to smallvector in splitAndSimplify; use switch case for icmp type;

* Fixed issue when splitting < where the inverse comparison was not further split

* some cleanup
2021-06-11 11:02:29 +02:00
706c2ac8e0 add test cases for splitting integer comparisons 2021-06-09 21:35:16 +02:00