1541 Commits

Author SHA1 Message Date
Dominik Maier
8a60d806eb Merge branch 'dev' into main 2021-03-09 21:38:25 +01:00
Dominik Maier
4ce6e72e1b reenabled ci for prs 2021-03-09 19:28:48 +01:00
Andrea Fioraldi
add3cf9665 rewrite alloc size tracking in rt.c 2021-03-09 15:23:40 +01:00
Andrea Fioraldi
dbe935b078 time feedback in libfuzzer example 2021-03-09 15:18:50 +01:00
Andrea Fioraldi
87cad475e3 TimeFeedback 2021-03-09 15:12:48 +01:00
Dominik Maier
6709c966d5 todo merged from main 2021-03-06 16:39:01 +01:00
Dominik Maier
619d91e0df
Update TODO.md 2021-03-06 16:38:12 +01:00
Dominik Maier
8459997d9f volatile for signal handlers 2021-03-06 16:32:42 +01:00
Dominik Maier
edd239ce95 more stable raw mem access in signal handlers 2021-03-05 21:38:48 +01:00
Dominik Maier
5392d534a9 reenabled on ci on main branch 2021-03-05 20:18:00 +01:00
Dominik Maier
54466e200d disabled ci for now (saving private fun) 2021-03-05 18:53:18 +01:00
Dominik Maier
72a947a831 merged build steps 2021-03-05 18:49:56 +01:00
vanhauser-thc
f4284bbdc0 less CI time 2021-03-05 18:28:03 +01:00
Andrea Fioraldi
03a8f380f0 useful comment 2021-03-05 16:08:49 +01:00
s1341
b048ddf470
Better Unix Signal Handling Abstractions (#22)
* WIP: unix_signal_handling

* WIP: unix_signal_handling, another try

* only emit a single illegal instruction

* unix_signal_handling: Now working

* unix_signal_handling: squash warnings

* unix_signal_handling: formatting

* fix spelling

* unix_signal_handling: add missing file

* unix_signal_handling: port LlmpBroker

* unix_signal_handling: fix missing import

* moving towards no_std compatibility

* unix_signal_handling: get rid of HashMap, Mutex and lazy-static

* unix_signal_handling: formatting

* readme

* no_std fixes

* fixed windows build

Co-authored-by: Dominik Maier <domenukk@gmail.com>
Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
2021-03-05 15:36:44 +01:00
Andrea Fioraldi
55def9b966 format 2021-03-05 14:34:25 +01:00
Andrea Fioraldi
58619beb7d start working on power scheduling 2021-03-05 14:33:58 +01:00
Andrea Fioraldi
2f4f719e64 remove some useless commented code 2021-03-05 14:20:37 +01:00
Andrea Fioraldi
0a4a40101a fix executor post exec 2021-03-05 14:19:17 +01:00
Andrea Fioraldi
95afa0966d readme 2021-03-05 13:54:19 +01:00
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