Dominik Maier
f858e1a247
Add TcpEventManager ( #1302 )
...
* Tcp manager, initial commit
* no tokio by default
* Allow Any broker type
* Add tcp_manager example
* fix CI
2023-06-10 06:25:25 +02:00
Dominik Maier
62b1bde7a9
Fix AnyMap for TypeIds with 128 bit ( #1311 )
...
* Fix AnyMap for TypeIds with 128 bit
* make const
* added test, removed static_assertions
2023-06-09 14:06:42 +02:00
Daniel Blackwell
fa63493cee
Fix for issue with CommandExecutor when using InputLocation::StdIn (issue #1306 ) ( #1308 )
...
Co-authored-by: dan <dan@localhost.localdomain>
2023-06-08 16:25:20 +02:00
Addison Crump
60c1990f4a
Make it possible to escape from simple event restarter ( #1303 )
2023-06-06 23:43:41 +02:00
WorksButNotTested
747a636f4f
Add sample fuzzer which collects DrCov coverage for various architect… ( #1300 )
...
* Add sample fuzzer which collects DrCov coverage for various architectures using QEMU instrumentation
* Fix clippy
* Rename NullCorpus to NopCorpus
* Added support for verbose output
* Attempt to fix clippy again
* Fix remaining defaults to use x86_64 when no arch specified and be more robust handling partial builds
* Make build even more robust against partial re-builds
* Added missing dependencies to workflow, updated README
* Add missing dependencies for i386
* Another dependency
* More dependencies
* Disable tests on OSX
* Add tmate
* Add missing dependencies and symlink header directory
* Tidy up after test so we don't hog all the disk space
---------
Co-authored-by: Your Name <you@example.com>
2023-06-06 11:50:38 +02:00
Dongjia "toka" Zhang
fa1e3fd504
CI ( #1301 )
...
* ci
* fi
* Revert "fi"
This reverts commit ed298d71057607f019e64d58687273a01d30e260.
* Revert "ci"
This reverts commit 6b65936990143a6069abd56dcbe633ac37be2ede.
* fi
2023-06-05 16:29:51 +02:00
David CARLIER
dc82a53bec
minibsod dragonflybsd's portage ( #1287 )
2023-05-22 13:13:07 +02:00
Dongjia "toka" Zhang
2be9686a80
Fix clippy ( #1288 )
2023-05-22 13:12:43 +02:00
David CARLIER
b9b70b0d51
minibsod: generate_minibsod further memory maps data for freebsd. ( #1285 )
2023-05-22 12:43:31 +02:00
Arpan Kapoor
6d2284d8b9
Allow configuring timeout for CommandExecutor ( #1269 )
...
* Allow configuring timeout for CommandExecutor
* import Duration on windows as well
* fix example fuzzers
2023-05-15 12:59:06 +02:00
Addison Crump
1da621456f
Add check for if mutation succeeded, else skip processing ( #1265 )
2023-05-14 12:03:25 +02:00
Lei Zhu
a2719cf559
Add suggestion for arg
& args
( #1257 )
...
* Add suggestion for arg & args
* Make fmt happy
* Explain @@
* Spotlight afl-fuzz
---------
Co-authored-by: Dominik Maier <domenukk@gmail.com>
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2023-05-10 13:53:40 +02:00
Dongjia "toka" Zhang
52d557aa8f
Ecofuzz Fix 2 ( #1262 )
...
* finally works
* f
2023-05-09 16:45:20 +02:00
Dominik Maier
8bd18ef007
Fix latest clippy ( #1258 )
...
* Fix latest clippy
* oops needs alloc
2023-05-09 13:17:57 +02:00
Dongjia "toka" Zhang
fe8c06dd8f
Eco fuzz fix ( #1253 )
...
* f
* more fix
* aaaaa
* f
* fix
---------
Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
2023-05-09 12:56:23 +02:00
Addison Crump
a8e64be169
Alternative scheduled count strategy ( #1252 )
...
* early return generalization stage
* scheduled count
* aaa
* compile
* fix
* implement alternative scheduled count strategy
---------
Co-authored-by: toka <tokazerkje@outlook.com>
2023-05-04 13:15:28 +02:00
Arpan Kapoor
c8c5d89f33
Ignore 'Broken Pipe' if child process does not read all of stdin ( #1244 )
...
* Ignore 'Broken Pipe' if child process does not read all of stdin
* follow clippy suggestion
2023-05-03 15:45:27 +02:00
Dongjia "toka" Zhang
cf79d13d17
Change DumpToDiskStage's callback ( #1242 )
2023-05-03 11:16:53 +02:00
Dongjia "toka" Zhang
c8fad7833d
Use InMemoryOnDiskCorpus in fuzzbench fuzzer ( #1240 )
...
* in memory
* f
* aaa
* nn
2023-05-02 15:18:17 +02:00
Dongjia "toka" Zhang
b2f9e23975
Fix double crash for solutions with the same filename ( #1232 ) ( #1236 )
...
* fix
* mre
* why delete it???
* fmt
* clp
* comment
2023-04-29 23:42:51 +02:00
ToSeven
f248a061ef
add the version information of fuzzers in the UI ( #1224 )
...
Co-authored-by: toseven <Byone.heng@gmail.com>
2023-04-26 16:52:21 +02:00
Dongjia "toka" Zhang
037b9551ea
Fix #1228 ( #1229 )
2023-04-26 12:00:36 +02:00
Andrea Fioraldi
8ade809588
Centralized Testcase evaluation EventManager ( #1216 )
...
* template
* moar
* merge
* compiles
* fuzzer
* forward event newtestcase
* clippy
2023-04-24 11:38:55 +02:00
Dongjia "toka" Zhang
39c0a2040b
Fix CI ( #1225 )
2023-04-20 19:04:31 +02:00
Dongjia "toka" Zhang
e2f4e83890
Fix CommandExecutor type params ( #1222 )
2023-04-20 16:34:41 +02:00
Dongjia "toka" Zhang
fc23782dc3
Fix is_valid
on Windows ( #1217 )
...
* git add -u
* fix cfg
* pub
---------
Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
2023-04-18 12:15:47 +02:00
Dominik Maier
96e24d1c8b
Move Input
loading and dumping APIs from Testcase
to Corpus
( #1201 )
...
* Less allocatiosn for filenames
* clippy for wasm fuzzer
* Reworked filename and rename APIs
* python, clippy
* fmt
* More cleanup, fixed metadata location
* clippy
* fix fuzzbench_text / cached len, invert parameters (state first)
* clippy
* oops
* Caching for paths
* simplified, fixed
* no_std
* cached_len
* Nider API for input getting
2023-04-18 12:14:49 +02:00
Andrea Fioraldi
fd68c8a81f
Batch mode timeouts (Linux only ATM) ( #1193 )
...
* batch mode timeouts for linux
* batch_mode is linux only atm
* fix
* fix
* fix
* imports
* winfix
* more fix
* winfix
* fix
* fix
* fix
* fix
* clippy
* fix macos
---------
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2023-04-17 18:16:44 +02:00
Dominik Maier
cdd3d8ace0
Tuneable stage with per-seed timeout ( #1209 )
...
* Tunable mutations with timeouts
* fix
* fmt
* Introspection fix
2023-04-13 15:30:47 +02:00
Langston Barrett
863a6b8b7c
Mark buffer_{self_,}copy
as unsafe, don't export them ( #1207 )
2023-04-12 17:42:16 +02:00
Langston Barrett
1b9ffcec74
LibAFL: LLMP manager docstring cleanup ( #1208 )
2023-04-12 17:40:16 +02:00
Langston Barrett
aa3f126100
LibAFL_qemu: Return errors from Emulator::new
instead of asserting ( #1197 )
...
* qemu: Return errors from Emulator::new instead of asserting
Libraries should not `assert!` except in cases of unrecoverable (library)
programmer error. These errors are all potentially recoverable, and aren't
internal errors in `libafl_qemu` itself.
* Respond to review comments
2023-04-09 21:27:27 +02:00
Elsa Granger
21ee8d2cae
Fix on_remove of MinimizerScheduler ( #1161 )
...
* Fix cursor not step
* Update ref_cnt after remove
---------
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2023-04-08 16:58:25 +02:00
Vincent
b519d24981
Fix Testcase renaming on disk ( #1191 )
...
* fix set_filename
* use ? quantifier instead of expect
* fix clippy
* cargo fmt
* add rename old file to new file logic
* add cfg feature std
* add no_std set_filename
* fix create and remove lockfile logic
* fix cargo fmt
* remove unused import
* cargo fmt
* fix clippy
* fix lock filecondition
* remove useless import
* fix path
* revert fuzzer Makefile.toml
* fix fmt
---------
Co-authored-by: Dominik Maier <domenukk@gmail.com>
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2023-04-07 02:36:08 +02:00
Dominik Maier
f73e2006fc
Removed more new_ ( #1200 )
2023-04-07 02:34:28 +02:00
Andrey Fedotov
807a534121
Use observers to handle crashes in run_target for TimeoutForkserverExecutor ( #1189 )
...
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2023-04-04 19:17:48 +02:00
Andrey Fedotov
1bd21509af
CASR deduplication for StacktraceObservers ( #1184 )
...
* Implement CasrAsanBacktraceObserver for dedupe crashes using libCASR and ASAN reports.
* Use casr observer with forkserver executor
* Add casr deduplication for AsanBacktraceObserver
* Add casr deduplication for BacktraceObserver
* Add Stacktrace filtering
* Move init_ignored_frames to constructors
* Add go ignore regexps for BacktraceObservers
---------
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2023-04-04 19:03:11 +02:00
Dongjia "toka" Zhang
ccd1211cd2
Remove qemu_arm_launcher test from CI ( #1179 )
...
* remove qemu arm
* trigger all
* debug
* revert
* api chg
* fix
* try
* debug
* remove qemu
* no_std
* Update build_and_test.yml
* llvm16
* revert z3
* macos
* fix
* remove test
* don't grep on mac
* fix
* ok
* f
* f
* f
* aaa
2023-04-04 14:49:58 +02:00
Andrea Fioraldi
a01863696e
Implement restarting without serializing the corpus ( #1182 )
...
* Restart without serializing state option
* libfuzzer libpng example
* clippy
* libfuzzer_libpng_norestart
* fix
2023-03-30 14:35:58 +02:00
Dongjia "toka" Zhang
ae2caff990
Revert "Fix testcase set_filename ( #1092 )" ( #1175 )
...
This reverts commit a659dd821c484c4e0524d0a2bf88023dae5e259b.
2023-03-24 01:53:42 +09:00
Dominik Maier
66b2867ba2
Fix example fuzzers ( #1171 )
...
* Fix example fuzzers
* fmt
2023-03-23 11:02:18 +01:00
Vincent
a659dd821c
Fix testcase set_filename ( #1092 )
...
* fix set_filename
* use ? quantifier instead of expect
* fix clippy
* cargo fmt
* add rename old file to new file logic
* add cfg feature std
* add no_std set_filename
* fix create and remove lockfile logic
* fix cargo fmt
* remove unused import
* cargo fmt
* fix clippy
* fix lock filecondition
* remove useless import
---------
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2023-03-23 00:21:07 +01:00
David CARLIER
c9ea6ee6aa
core_affinity: freebsd constants are included in libc now. ( #1170 )
2023-03-23 00:11:02 +01:00
Dominik Maier
76e4f6031d
Fmt, no_std fixes ( #1167 )
...
* Fmt, no_std fixes
* push-stage fix
2023-03-23 00:10:01 +01:00
Arpan Kapoor
d98384e582
Fix SimplePrintingMonitor ( #1164 )
2023-03-22 15:39:07 +01:00
Dominik Maier
3f7d35bfdc
Install libz3-dev in CI ( #1163 )
...
* install z3 in CI
* Update logics.rs
---------
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2023-03-22 15:38:33 +01:00
Alexander Zhang
c9a78f154b
Remove duplicate lines in attributes ( #1165 )
2023-03-22 19:08:32 +09:00
Dominik Maier
f4f23de32b
Fix fuzzers after HasTestcase ( #1123 ) ( #1162 )
...
* Fix fuzzers after HasTestcase (#1123 )
* Make the trait a trait
* Implement HasTestcase for Corpora
* fix
* fix
* a
* a
* fix
* wasm32
* a
* f
* f
* aa
---------
Co-authored-by: tokatoka <tokazerkje@outlook.com>
2023-03-19 11:58:32 +09:00
Dominik Maier
bbe4e85768
Removed new_
from constructors that don't need it (API consistency) ( #1159 )
...
* Removed new_ from constructors that don't need it (API consistency)
* un-change python bindings
2023-03-17 17:02:21 +01:00
Matheus Baptistella
104c170ade
Use the new metadata() function in more places ( #1155 )
2023-03-17 16:03:57 +01:00