1578 Commits

Author SHA1 Message Date
s1341
fc8056214b
Add selectable metadata format, including postcard and JSON (#59)
* Add selectable metadata format, including postcard and JSON

* Formatting

* nostd fix
2021-04-23 17:25:00 +02:00
Dominik Maier
c2efea2f93 cargo fmt 2021-04-23 05:46:58 +02:00
Dominik Maier
1a033406e7 more reworked docs 2021-04-23 05:45:46 +02:00
Dominik Maier
16f0e2cc05 reworked intro 2021-04-23 05:36:07 +02:00
s1341
91509c2346 Fix the impl_serdeany macro for use outside the libafl crate 2021-04-22 17:58:26 +03:00
Andrea Fioraldi
832c6ad1c6 save meta in ondisk corpus 2021-04-22 16:11:32 +02:00
Andrea Fioraldi
3124d03665 bytesinput to_file raw 2021-04-22 15:55:13 +02:00
Andrea Fioraldi
7b772fedc5 metadata to solutions 2021-04-22 15:44:41 +02:00
Andrea Fioraldi
2f7bb8d532 baby fuzzer 2021-04-21 14:51:51 +02:00
Andrea Fioraldi
0732028190 remove qemufuzzer 2021-04-21 09:58:11 +02:00
s1341
655d30519b
Convert ShMem into a state-full ShMemProvider and otherwise refactor shmem/llmp (#54)
* shmeme/llmp refactor to convert ShMem into a stateful ShMemProvider
factory.

At the moment we use parking_lot::ReentrantMutex. That may not be
necessary.

* fix merge issue

* formatting

* Fix fuzzer examples for new ShMemProvider

* Fix clippy warnings

* Fix build and clippy for x86_64

* Resolve review comments

* Remove ReentrantMutex and RefCell - they are not needed

* Hopefully fix win32 build

* Fix tests, windows build

* Rename ShMemProvider to ShMem

* Revert "Rename ShMemProvider to ShMem"

This reverts commit eca07c8d7bb3d5e829fecf3f7213c763470a41e9.

* Rename ShMemMapping to ShMem; Test fixes

* Add missing trait to scope

* Fix from_int

* Fix try_into

* Move to alloc::sync::Arc and spin::Mutex to support nostd

* Fix tests

* nostd fixes; Make new() a part of the ShMemProvider trait

* Fix errant ?

* Fix windows

* Fix missing trait

* nostd remove dbg!

* Add Default and Clone to ShMemProvider

* Formatting

* Fix windows

* Get rid of ArcMutex in favor of RefCell

* Rc RefCell

* moved to refs

* SHP->SP

* Use alloc::rc::Rc instead of std::rc::Rc

* Format

* Add setup_restarting_mgr_std which selects the right ShMemProvider; changed fuzzers to use it

* Get rid of unnecessary clone

* Fix clippy error on windows

* Fix nostd

* Fix formatting

* Make StdShmemProvider include ServedShMemProvider

* Get rid of lifetime specifiers now that we are using Rc

* Get rid of unneccesary spin

* Rename ShMemProvider::Mapping to ShMemProvider::Mem

* Formatting

* fix Windows

* Rename DefaultUnixShmem* to CommonUnixShmem*

Co-authored-by: Dominik Maier <domenukk@gmail.com>
2021-04-16 11:26:06 +02:00
Andrea Fioraldi
6f9a81b799 docs 2021-04-15 11:29:59 +02:00
Andrea Fioraldi
15917fa189 format 2021-04-12 15:26:59 +02:00
Andrea Fioraldi
5846aa2292 cmplog runtime 2021-04-12 15:26:32 +02:00
Dominik Maier
022c12568b QoL improvements 2021-04-12 12:16:45 +02:00
Dominik Maier
e505e7689c fixed merge fails 2021-04-12 11:30:44 +02:00
Dominik Maier
357b807c33 clippy warning muted 2021-04-11 04:07:58 +02:00
Dominik Maier
9bc22d0331
Llmp Fixes (#51)
* fixed llmp
2021-04-11 02:21:09 +02:00
Dominik Maier
fb0a23e767 cleaned up potential panic 2021-04-10 19:57:30 +02:00
Dominik Maier
70be959b82 debug 2021-04-10 17:03:33 +02:00
Grant Hernandez
24a033de31
Add tool detection to build.rs, improve README (#43)
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2021-04-10 11:16:35 +02:00
s1341
f4d5c045b4
Ashmem server for Android (#50)
* ashmem, initial commit

* ashmem

* ashmem_service: server side ready

* ashmem_service: client side ready. Ready for integration

* ashmem_service: changes to UnixShMem to make it 'threadable'

* ashmem_service: format

* ashmem_service: Undo changes to UnixShMem, make the thread own the AshmemService instead; Fix protocol bug

* ashmem_service: actually fix the protocol issue; clippy warnings

* no-std fixes

* fmt

Co-authored-by: Dominik Maier <domenukk@gmail.com>
2021-04-10 10:33:11 +02:00
Dominik Maier
77cbb45b7c docs 2021-04-08 10:34:31 +02:00
Dominik Maier
52b2a1d98c Merge branch 'dev' of github.com:aflplusplus/libaflrs into dev 2021-04-07 19:53:20 +02:00
Dominik Maier
ec55a03ec1 more clippy 2021-04-07 19:53:14 +02:00
Andrea Fioraldi
38f933fa04 Merge branch 'dev' of github.com:AFLplusplus/LibAFLrs into dev 2021-04-07 16:40:00 +02:00
Andrea Fioraldi
381aa3c052 meta 2021-04-07 16:39:51 +02:00
Dominik Maier
d72d48d6a8 more cargo fixes 2021-04-07 15:57:59 +02:00
Dominik Maier
0ac48c2e0b llmp debug added 2021-04-07 13:35:29 +02:00
Dominik Maier
711b54929a fmt 2021-04-07 11:35:35 +02:00
Dominik Maier
56ce44ff80 clippy ignore 2021-04-07 11:35:27 +02:00
Dominik Maier
e4e5c909c2 Merge branch 'dev' of github.com:aflplusplus/libaflrs into dev 2021-04-07 11:30:23 +02:00
Dominik Maier
8577d5c6a0 clippy fixes 2021-04-07 11:30:03 +02:00
Andrea Fioraldi
6d2ad10e3f docs 2021-04-07 09:53:04 +02:00
Andrea Fioraldi
0d11a41038 docs 2021-04-07 09:30:54 +02:00
Andrea Fioraldi
fd46388f63 Merge branch 'dev' of github.com:AFLplusplus/LibAFLrs into dev 2021-04-02 11:59:47 +02:00
Andrea Fioraldi
ceea3e0c14 docs 2021-04-02 11:59:38 +02:00
s1341
c8bfe76c43
Fix android and optimize frida (#44)
* fix_android_and_optimize_frida: Fix build and run for android; optimize frida maybe_log functions

* fix_android_and_optimize_frida: Get rid of the HasFd trait; cleanup warnings

* fix_android_and_optimize_frida: fmt
2021-04-01 14:39:11 +02:00
Andrea Fioraldi
0f17fa3fc9 docs 2021-03-31 11:24:52 +02:00
Andrea Fioraldi
1c9ea4138e format 2021-03-29 19:49:24 +02:00
Andrea Fioraldi
d889c8c826 libfuzzer_stb_image readme 2021-03-29 16:13:46 +02:00
Andrea Fioraldi
bd9aa89753 libfuzzer_libmozjpeg readme 2021-03-29 16:07:56 +02:00
Andrea Fioraldi
144d9dff9d doc 2021-03-29 15:57:58 +02:00
Andrea Fioraldi
b4e6115d4f fixes for pcguard and value profile 2021-03-29 15:57:27 +02:00
Andrea Fioraldi
0c2a267075 remove libfuzzer_runtime and use cc wrapper for mozjpeg 2021-03-29 15:56:54 +02:00
Dominik Maier
55191ed8ea
Update README.md 2021-03-27 20:09:20 +01:00
Andrea Fioraldi
cbfe17b95c build page in book 2021-03-27 10:10:50 +01:00
Andrea Fioraldi
d231966dbe setup page in book 2021-03-27 09:42:51 +01:00
Andrea Fioraldi
4b77ea9975 book intro 2021-03-27 00:36:13 +01:00
Andrea Fioraldi
1f7be63031 value profile in libafl_targets 2021-03-26 17:53:47 +01:00