2834 Commits

Author SHA1 Message Date
Dominik Maier
3b2ee4bb70
Added MacOS CI (#131)
* added macos ci

* running tests on macos

* some macos fixes

* fmt

* some must_use infos

* trying' to fix MacOs testcases

* no main in test

* fixed MacOS testcases

* tried to fix build errors

* unified shmem_limits

* Revert "unified shmem_limits"

This reverts commit 8c6bb8d6a2cec71d72bb181b5b491737a771298e.

* hopefully fixed macos testcase

* removed unneeded values
2021-06-07 01:24:41 +02:00
Dominik Maier
370c652838 Merge branch 'main' into cmplog_instrumentation 2021-06-07 00:52:24 +02:00
Douman
11771c3323
Bump xxhash-rust minimal version to fixed one (#153)
* Bump minimal xxhash_rust version to 0.8.2

Note that 0.8.1 bug doesn't affect current usage, but still do it just in case

* Do not use const xxh3 not in cosnt context
2021-06-06 23:54:16 +02:00
Omree
0a5aa77cd6 cmplog runs with observer- no crashes 2021-06-06 13:03:11 +03:00
Omree
ea5aba220c change magic to 8 bytes 2021-06-06 12:53:24 +03:00
s1341
636194de0e
Frida switch from walk-proc-maps to frida-gum based extraction of ranges (#149)
* Bump frida-gum version

* Move from walk of /proc/pid/maps to frida based range/module locatoin
2021-06-06 10:40:07 +02:00
Gal Tashma
156ed08905
Eager and Fast FeedbackTuple Implementations (#144)
* Introduce eager and fast feedback_or! implementations (issue #135)

* rename FeedbackTuple to CombinedFeedback (as it is a struct not tuple) and add fast/eager AND
2021-06-04 14:07:02 +02:00
Andrea Fioraldi
42997dbde9 Fix #147 2021-06-04 14:03:31 +02:00
Omree
ac27efb954 update cmplog runtime code to work with the cmplog backend implementation 2021-06-02 10:04:03 +03:00
Omree
2a325beeff revert accidently changed Cargo.toml file 2021-06-02 10:04:03 +03:00
Omree
5bd08a6eee align code with 'main' branch 2021-06-02 10:04:03 +03:00
Omree
b59752eba5 revert changes in cargo.toml 2021-06-02 10:04:03 +03:00
Omree
23b2b4a06e add cfg target aarch64 on cmplog related code within stalker loop 2021-06-02 10:04:03 +03:00
Omree
2c0548a757 add target arch aarch64 for is_interesting_cmplog_instruction 2021-06-02 10:04:03 +03:00
Omree
8b2e86e7e6 fix compile error 2021-06-02 10:04:03 +03:00
Omree
85a90c7d21 test cmplog against value profile feature 2021-06-02 10:04:03 +03:00
Omree
2bbff1b7ab add cmplog runtime instrumentation 2021-06-02 10:04:03 +03:00
Andrea Fioraldi
e6b95c1a4c fix 2021-06-02 10:04:03 +03:00
Andrea Fioraldi
b999f45caa no clippy for fuzzers/ 2021-06-02 10:04:03 +03:00
Andrea Fioraldi
e719e85aba clippy 2021-06-02 10:04:03 +03:00
Andrea Fioraldi
9ae13eb5da clippy 2021-06-02 10:04:03 +03:00
Andrea Fioraldi
69d87b3763 bump 0.3.1 2021-06-02 10:04:03 +03:00
Andrea Fioraldi
aa14c903db fix update stats display 2021-06-02 10:04:03 +03:00
Andrea Fioraldi
c4f13df9c7 re-enable new testcase stats print 2021-06-02 10:04:03 +03:00
Andrea Fioraldi
aa6df29a9c enable cmplog for libfuzzer_stb_image 2021-06-02 10:04:03 +03:00
Andrea Fioraldi
16d4c36f12 working random cmplog mutations 2021-06-02 10:04:03 +03:00
Andrea Fioraldi
f61140bdcf TracingStage 2021-06-02 10:04:03 +03:00
Dominik Maier
b28306519f clippy 2021-06-02 10:04:03 +03:00
Andrea Fioraldi
933b65dd86 cmplog observer 2021-06-02 10:04:03 +03:00
Andrea Fioraldi
ccfc95aa3a impl CmpMap for CmpLogMap in libafl_targets 2021-06-02 10:04:03 +03:00
Andrea Fioraldi
ae5b4f88cc I2SRandReplace mutator 2021-06-02 10:04:03 +03:00
Andrea Fioraldi
8437c4adb7 cmp observer and feedback 2021-06-02 10:04:03 +03:00
Andrea Fioraldi
f81a52e14d combined executor 2021-06-02 10:04:03 +03:00
Andrea Fioraldi
a3a2b47b2a fix C warning 2021-06-02 10:04:03 +03:00
Andrea Fioraldi
f25554805d libaf_targets: new structure to isolate sancov 2021-06-02 10:04:03 +03:00
Andrea Fioraldi
a976c3b6f5 cmp observer 2021-06-02 10:04:03 +03:00
Andrea Fioraldi
eba6646f90 libafl_targets: refactor sancov trace-pc 2021-06-02 10:04:03 +03:00
Mrmaxmeier
de933fee63
check each feature in CI and fix introspection on no_std (#143)
* ci: check every feature with cargo-hack

* fix introspection on no_std

* ci: the dev branch is not a thing anymore

* ci: run tests with --all-features
2021-06-01 18:03:26 +02:00
Gal Tashma
ad9a2faaea
don't panick on time subtraction failure (#141)
On some machines, the system clock can be faulty and start_time maybe
actually be after the end time. This causes a panic, instead gracefully
just put a None time in `self.last_runtime`
2021-06-01 18:02:27 +02:00
Mrmaxmeier
1b755036ad
remove unnecessary generics on RandGenerators (#142) 2021-06-01 17:26:36 +02:00
Toka
c90604f123
TimeoutForkserverExecutor fix (#140)
* fix the call to kill

* fix
2021-05-31 19:31:32 +02:00
Toka
e4b3cc542a
Forkserver_simple uses TimeoutForkserverExecutor (#139)
* forkserver_simple uses TimeoutforkserverExecutor

* fmt

* from_millis
2021-05-31 15:44:56 +02:00
Toka
e68eaf8244
Timeout forkserver (#136)
* barebones for TimeoutForkserverExecutor

* TimeoutForkserverExecutor

* update pid in forkserverexecutor

* clppy and other small fixes

* doc

* fix

* no unwrap

* read_exact and error handling

* fix

* semicolon
2021-05-30 23:11:10 +02:00
David CARLIER
3e51981cf6
Fix tests on FreeBSD increasing couple of shared memory values (#138)
like macOs.
2021-05-30 23:09:54 +02:00
David CARLIER
e61f80584e
FreeBSD build fix proposal. (#137)
rlim_t is signed in this platform.
2021-05-29 00:31:04 +02:00
s1341
83bef6e85a
Fix frida bugs (#132)
* Get rid of extra deactivate

* Fix realloc, posix_memalign/memalign bugs

* Fix cfg attributes; Add instrumented ranges and translated PC to func errors

* Formatting

* Make hook_functionss aarch64 only for now.
2021-05-27 11:17:42 +02:00
Dominik Maier
945693f6ed fixed example testcase 2021-05-26 16:50:10 +02:00
Dominik Maier
ca869cd70a macos frida fixes 2021-05-26 14:01:33 +02:00
Dominik Maier
81ccf7f7d8 some macos fixes 2021-05-26 13:58:12 +02:00
Toka
5d44846c27
Improve TimeoutExecutor (#126)
* improve TimeoutExecutor

* fix for windows build
2021-05-25 22:20:52 +02:00