2171 Commits

Author SHA1 Message Date
Dominik Maier
ef861cbbcf fixed no_std 2021-03-04 19:32:41 +01:00
Dominik Maier
bb54d551ac included more clippy suggestions 2021-03-04 19:11:36 +01:00
Dominik Maier
0c1c284bed moved to more Cargo compatible license 2021-03-04 04:37:38 +01:00
Dominik Maier
317bb90377
Update TODO.md 2021-03-03 19:26:03 +01:00
Andrea Fioraldi
22100d8446 fix rt.c 2021-03-03 17:42:27 +01:00
Dominik Maier
eb451e577f reenabled testcases 2021-03-03 17:30:39 +01:00
Dominik Maier
447e5e0e59 fixed queuecorpus test 2021-03-03 17:17:47 +01:00
Dominik Maier
eaa3dc786b
Fork (#20)
* wip forking

* fixed build

* fixed build

* import cleanup

* more fork

* added windows ci

* fmt

* no_std fixes

* windows

* unix build fixed

* ignoring tests on windows

* fixed windows tests
2021-03-03 17:06:17 +01:00
Andrea Fioraldi
8238d65cac libfuzzer runtime for malloc maximization 2021-03-03 17:00:42 +01:00
Dominik Maier
69c3581f1a fmt 2021-03-03 16:19:51 +01:00
Dominik Maier
909d0f8574 fix windows build 2021-03-03 16:19:35 +01:00
s1341
fde48be53e
unix_domain_sockets/ashmem: Add ability to connect over unix domain sockets instead of just TCP; Add ashmem support for android (#19)
* unix_domain_sockets: Added Listener abstraction

Tested and TCP is still working

* unix_domain_sockets: turn off the unstable feature except on android

* unix_domain_sockets: more turn off the unstable feature except on android

* unix_domain_sockets: always import UnixListener

* unix_domain_sockets: Finished implementation. Tested working on android when both sides are root

* unix_domain_sockets: adjust conditional compilation

* unix_domain_sockets: formatting

* unix_domain_sockets/android: implement ashmem hooks

* unix_domain_sockets/android: formatting

* unix_domain_sockets: make Listener abstraction public

* unix_domain_sockets: add cfg(std) to Listener

* unix_domain_sockets: add cfg(std) to imports

* unix_domain_sockets: formatting

* unix_domain_sockets: Handle SIGTERM, SIGQUIT and SIGINT gracefully and cleanup the unix socket

* unix_domain_sockets: formatting

* unix_domain_sockets: fix conditional compilation

* unix_domain_sockets: use String::default instead of a literal

* unix_domain_sockets: socket_name should be an Option<>

* fixed build

* fmt

* fixed warnings

* using volatile reads and writes for shutdown flag

* reordered compiler fence on write

* moved the signal handler method to its own function

* readme

* moved to HasShmId

* unix_domain_sockets: fix warnings

* renamed HasShmId to HasFd

Co-authored-by: Dominik Maier <domenukk@gmail.com>
2021-03-03 12:31:29 +01:00
Dominik Maier
a3b22acb04 clippy 2021-03-02 20:44:17 +01:00
Dominik Maier
c7f1d83b6e more clippy fixes 2021-03-02 19:57:43 +01:00
Dominik Maier
dbd3cbd99c some clippy fixes 2021-03-02 19:33:03 +01:00
Andrea Fioraldi
706d5c710d
Merge pull request #18 from AFLplusplus/dev
Dev
2021-03-01 18:41:51 +01:00
Andrea Fioraldi
ff99a442e5
Merge branch 'main' into dev 2021-03-01 18:41:45 +01:00
Marcin Kozlowski
959c8f0dd8
Libmozjpeg example added (#15)
* WIP Harness for libmozjpeg

* Taskset removal (wrong invocation, without -c)

* Clean up
Fixed taskset in test.sh

* Docs

* Formatting

* Formatting

* Formatting

* Formatting

* jpeg example now uses a tokens file

* fixed testcases

* fixing build

* fixed more bugs

* metadatas->metadata

* token files

* added doctest test

Co-authored-by: Dominik Maier <domenukk@gmail.com>
2021-03-01 17:54:47 +01:00
s1341
d0d9d2887f
Support running on Android aarch64 (#17)
* android: cleanup build.rs and allow for cross-compilation

* aarch64: use an aarch64 undefined instruction

* android: i8 should be u8

* android: siginfo_t is different on arm

* android: cast to c_char instead of u8/i8

It turns out that c_char is different on android and linux

* android: handle LDFLAGS being empty

* android: formatting

* fixed warning

Co-authored-by: Dominik Maier <domenukk@gmail.com>
2021-03-01 15:18:27 +01:00
Andrea Fioraldi
f89bec5f5c todo 2021-03-01 14:12:35 +01:00
Andrea Fioraldi
f18af45d09 libafl_derive proc macro crate 2021-03-01 14:11:37 +01:00
Andrea Fioraldi
868d408799 todos 2021-03-01 11:01:51 +01:00
Andrea Fioraldi
24e9f70b83
Merge pull request #16 from AFLplusplus/dev
Minimizer Corpus Scheduler & hitcounts
2021-03-01 10:59:50 +01:00
Andrea Fioraldi
bd800b63f5 hitcounts observer in libpng example 2021-03-01 10:34:59 +01:00
Andrea Fioraldi
405bfc5294 fix #14 2021-03-01 10:31:47 +01:00
Andrea Fioraldi
7c9fc88e66 use hitcounts in libfuzzer rt 2021-03-01 10:20:08 +01:00
Andrea Fioraldi
dc39a5591a format 2021-03-01 10:04:59 +01:00
Andrea Fioraldi
9ba508f77a IndexesLenTimeMinimizerCorpusScheduler in libpng example 2021-03-01 10:04:28 +01:00
Andrea Fioraldi
34cba3e59c fix bug in queue scheduler 2021-03-01 10:00:53 +01:00
Andrea Fioraldi
ff0b6089b4 have libpng example compiling 2021-03-01 09:55:00 +01:00
Andrea Fioraldi
c245d5e5fb pass scheduler to stage 2021-03-01 09:54:39 +01:00
Dominik Maier
107c10fd20 formatted todos 2021-03-01 02:41:14 +01:00
Dominik Maier
ed2e78b786 todo file added 2021-03-01 02:36:56 +01:00
Dominik Maier
061a8dd77c OnDiskCorpus autocreates dictionaries 2021-03-01 02:27:21 +01:00
Andrea Fioraldi
3aa9439e80 scheduler half finished 2021-02-28 23:22:18 +01:00
Andrea Fioraldi
0f40ac05d4 readme 2021-02-27 15:12:19 +01:00
Andrea Fioraldi
fd83c10c1e finish minimizer scheduler 2021-02-26 22:22:10 +01:00
Andrea Fioraldi
bb29e6dd72 errors in minset for missing meta 2021-02-26 17:21:03 +01:00
Andrea Fioraldi
204076bb1e track meta in map feedback 2021-02-26 17:11:46 +01:00
Andrea Fioraldi
140a303546 format 2021-02-26 16:24:24 +01:00
Andrea Fioraldi
913968a68d almost finished MinimizerCorpusScheduler 2021-02-26 16:23:09 +01:00
Dominik Maier
58c642427e more less typos 2021-02-26 13:41:23 +01:00
Dominik Maier
9fe8aee48b merged build tasks 2021-02-26 13:27:28 +01:00
Dominik Maier
4b79faac36 Merge branch 'main' of github.com:AFLplusplus/libAFLrs into main 2021-02-26 13:21:21 +01:00
Dominik Maier
fb0d47dc2e tiny fixes 2021-02-26 13:21:12 +01:00
Dominik Maier
32c6f789e2
Fixed link in readme 2021-02-26 13:03:15 +01:00
Dominik Maier
4c392de98d more docu 2021-02-26 11:45:30 +01:00
Dominik Maier
15a64c3e17 moved new -> with_seed, with_random_seed -> new 2021-02-26 09:27:34 +01:00
Dominik Maier
776349eaa7
Merge pull request #11 from AFLplusplus/fix-default-prng
impl Default for rngs with a decent seed
2021-02-26 08:43:32 +01:00
Dominik Maier
c23376a03f fixed no-default-features build path 2021-02-26 08:38:44 +01:00