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
ToSeven
659e91fb68
Fix performance regression detection in CI #1248 ( #1259 )
...
Co-authored-by: toseven <Byone.heng@gmail.com>
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2023-05-14 12:02:32 +02:00
Dongjia "toka" Zhang
b9a540561b
Don't add llvm pass args when there're no passes & Don't pass -mllvm
arguments when compiling asm files ( #1266 )
...
* f
* fix
* clp
2023-05-12 11:48:12 +02:00
intrigus-lgtm
91b10f8c40
LibAFL_qemu: Disable Capstone to fix build issues on some distributions ( #1263 )
2023-05-11 09:52:57 +02:00
Kevin Phoenix
6883c776ef
Update pyo3 crate to 0.18.3 ( #1255 )
...
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2023-05-10 20:01:51 +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
Dominik Maier
0c7d42d28b
Clippy Debug fixes ( #1261 )
2023-05-09 17:05:51 +02:00
Dongjia "toka" Zhang
52d557aa8f
Ecofuzz Fix 2 ( #1262 )
...
* finally works
* f
2023-05-09 16:45:20 +02:00
Kevin Phoenix
be1d3da159
Add pyproject.toml to python bindings ( #1239 )
...
* Add pyproject.toml to python bindings
* Improve pyproject.toml
* Update CI pipeline to use pip to install python bindings
2023-05-09 13:23:28 +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
Dongjia "toka" Zhang
721c02cd2c
Revert "Add a CI task that checks performance regression ( #1248 )" ( #1254 )
...
This reverts commit 6929c89b861faa4f382a51ab07e3ee1eb727df8c.
2023-05-04 20:03:06 +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
Tomas Duchac
53659f8a5c
Add file extension for clang in libafl_cc/build.rs ( #1237 )
...
* Add CLANG and CLANG_PP env vars
Add CLANG and CLANG_PP env variables for Windows. Resolves issue if clang and llvm-config are not in the same location.
* Just add clang".exe" for windows
User should have llvm-config and clang.exe clang++.exe in the same directory anyways.
* Ran cargo fmt
2023-05-04 11:52:51 +02:00
ToSeven
6929c89b86
Add a CI task that checks performance regression ( #1248 )
...
Co-authored-by: hengzh <byone.heng@gmail.com>
2023-05-04 11:51:42 +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
abd8efabd3
Add additional security sensitive functions for coverage accounting ( #1246 )
2023-05-03 15:45:07 +02:00
Dominik Maier
f9c74ed5d6
Update llvm for FreeBSD CI ( #1243 )
2023-05-03 11:45:49 +02:00
Dongjia "toka" Zhang
cf79d13d17
Change DumpToDiskStage's callback ( #1242 )
2023-05-03 11:16:53 +02:00
Dongjia "toka" Zhang
5b02fb420d
Fix CI ( #1241 )
2023-05-02 17:38:56 +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
Michael Rodler
95d1069393
Use sancov_8bit.rs
for OwnedMutSlice
( #1235 )
...
Co-authored-by: Michael Rodler <mrodler@amazon.de>
2023-05-02 14:41:33 +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
van Hauser
8ff8ae41f1
switch fuzzbench to FAST schedule ( #1233 )
2023-04-27 11:11:53 +02:00
Dongjia "toka" Zhang
dde7bc9b5c
Dump Call Graph ( #1230 )
...
* call graph
* nl
* typo
2023-04-26 20:22:57 +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
Dongjia "toka" Zhang
eab7c32e9f
Dump whole program's CFG pass ( #1226 )
...
* skelton
* pass
* compiles
* python
* optional pass
* rev
* chg
2023-04-24 14:57:24 +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>
0.10.0
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
Andrea Fioraldi
fafa27a7e9
serial_test as normal optional dep enabled with std ( #1215 )
...
* sertial_test as a std and test only dependency
* serial_test as normal optional dep enabled with std
2023-04-17 18:16:29 +02:00
Dominik Maier
c881dc996d
Example fuzzers with less UB ( #1212 )
...
* Example fuzzers with even less UB
* more less ub, fixes
* unused dep
2023-04-16 14:29:41 +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
Andrea Fioraldi
0f633962ff
Bump to 0.10.0 ( #1156 )
...
* Bump to 0.10.0
* fix
* Fix CI
* Fix copyright
* fmt
---------
Co-authored-by: Dominik Maier <domenukk@gmail.com>
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2023-04-05 17:49:53 +02:00
Felipe Baltor
6523341c4d
fix: output directory name; monitor output with println! ( #1192 )
2023-04-05 11:00:21 +02:00
Dominik Maier
0d446bab20
Updated dependencies ( #1174 )
...
* Updated deps
* win
* Revert "win"
This reverts commit a6dfd95f1c63a9471659481d92c5cbc480af6360.
* revert win
---------
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2023-04-04 22:58:00 +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