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
Dominik Maier
bb54d551ac
included more clippy suggestions
2021-03-04 19:11:36 +01:00
Andrea Fioraldi
22100d8446
fix rt.c
2021-03-03 17:42:27 +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
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
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
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
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
ff0b6089b4
have libpng example compiling
2021-03-01 09:55:00 +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
Dominik Maier
fb0d47dc2e
tiny fixes
2021-02-26 13:21:12 +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
d48524168a
Moved fuzzer to examples
2021-02-26 08:35:18 +01:00
Dominik Maier
ea278a0dd6
fixed testcases, removed mutator param from mutators
2021-02-25 18:55:37 +01:00
Andrea Fioraldi
ef40abb4b0
remove dummy example
2021-02-23 20:56:04 +01:00
Andrea Fioraldi
5695b4326a
comments
2021-02-23 20:49:15 +01:00
Andrea Fioraldi
9f12f9506c
comments
2021-02-23 20:45:22 +01:00
Andrea Fioraldi
a5cc8313db
new ondisk corpus
2021-02-22 15:19:35 +01:00
Andrea Fioraldi
1575a3994b
impl serdeany macro
2021-02-16 14:49:18 +01:00
Andrea Fioraldi
97ad4e92f9
windows crate
2021-02-16 10:47:15 +01:00
Andrea Fioraldi
e99c2daa41
libafl package
2021-02-15 16:54:33 +01:00
Andrea Fioraldi
7236fd9f3c
fmt
2021-02-15 15:28:40 +01:00
Andrea Fioraldi
a599a9f998
forward NewTestcase, executor as arg to EventManager::process
2021-02-15 15:27:55 +01:00
Andrea Fioraldi
092f65bbbd
forward NewTestcase
2021-02-15 14:41:06 +01:00
Andrea Fioraldi
8059a765ed
AflError -> Error & AflShmem -> UnixShMem
2021-02-15 14:10:54 +01:00
Andrea Fioraldi
d16fd07beb
save ondisk
2021-02-15 12:19:58 +01:00
Andrea Fioraldi
746d2a326e
objective feedbacks
2021-02-15 12:08:57 +01:00
Andrea Fioraldi
7a75155e6b
objective corpus and feedbacks
2021-02-15 10:55:05 +01:00
Andrea Fioraldi
e3773e080f
split events mod
2021-02-13 10:20:35 +01:00
Andrea Fioraldi
a8dd59f588
map observers file
2021-02-13 00:16:32 +01:00
Andrea Fioraldi
ffab1e021e
dictionary mutations
2021-02-12 23:49:58 +01:00
Andrea Fioraldi
9bc4d81b76
max len done right
2021-02-12 23:06:32 +01:00
Andrea Fioraldi
ebc9571410
better mutator
2021-02-12 23:05:00 +01:00
Andrea Fioraldi
02fb44b5cc
afl like exec secs
2021-02-12 14:45:15 +01:00
Andrea Fioraldi
9272b8b37b
fix hascorpus generic
2021-02-11 22:10:20 +01:00
Andrea Fioraldi
5859e5fc3d
fix sender issue precenting restart
2021-02-11 16:34:09 +01:00
Andrea Fioraldi
35b7f9364a
Merge branch 'main' of github.com:AFLplusplus/libAFLrs into main
2021-02-11 15:44:31 +01:00
Andrea Fioraldi
bc49d94616
libfuzzer_dummy
2021-02-11 15:44:24 +01:00
Dominik Maier
d8ede9f228
fmt
2021-02-11 14:53:02 +01:00
Dominik Maier
4c2b94a8fa
Merge branch 'main' of github.com:AFLplusplus/libAFLrs into main
2021-02-11 14:52:37 +01:00