Dongjia Zhang
0aba272a7d
Update fuzzbench_weighted to EXPLORE, fix linking ( #707 )
...
* Explore+weighted
* fix
* fmt
Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
2022-07-25 14:03:35 +02:00
Mrmaxmeier
321bcfeba1
Cleanup duplicate package warnings ( #702 )
...
* cleanup duplicate package warnings
* libmozjpeg fuzzer: disable png reading support
libmozjpeg's libpng support is not used by the fuzzing harness,
and the mozjpeg-4.0.3 release has a build system issue with
newish libpng versions.
2022-07-17 14:17:49 +02:00
s1341
c45b6be7e1
Bump rand version ( #680 )
...
* Bump rand version, dropping support for lain
* using lain version with fixed rand
Co-authored-by: Dominik Maier <dmnk@google.com>
2022-07-16 01:46:32 +02:00
Patrick Gersch
3ae3dc7c62
Fixes to TUI monitor if main thread panics ( #699 )
...
* Trying to fix the tui if the main thread panics
* cargo fmt
* Prettifying code
2022-07-16 01:45:53 +02:00
Dongjia Zhang
ffe8dbf6af
Bump to 0.8.0 ( #696 )
...
* upd
* more
2022-07-11 21:59:11 +02:00
e8ff45b205
update evaluation scripts
2022-07-10 16:21:50 +02:00
Dongjia Zhang
66b5fe8678
Extend weighted scheduler ( #685 )
...
* extend
* fix
* fmt
* more fix
2022-06-29 09:43:42 +09:00
Dongjia Zhang
405a1919b8
Still fixing ci ( #683 )
...
* fix
* fix
* more
* cargo fixed??
* fixed??
* clp
* fix
2022-06-28 16:56:28 +09:00
Andrea Fioraldi
7147170240
New hooks for libafl_qemu ( #673 )
...
* new block and edge hooks
* Wrking new hooks
* no Pin, just box
* working call tracing
* invalidate_block flag
* working call stack tracking helper
* callstack push
* fixes
* py
* fixes
* clippy
* clippy
* gdb api
* kill introspection
* fix
* upd qemu
* upd qemu
2022-06-16 11:09:07 +02:00
aa7d78affe
finish eval scripts
2022-06-14 23:54:47 +02:00
Dongjia Zhang
c9f802a3b8
Improve map feedback/observer ( #665 )
...
* improve
* a
* fix it back
* more
* NO
* try
* fix python
* more
* specialize map map feedback with u8
* more
* fmt
* usable_count = len
* clp
* restore iterator based map feedback
* simd specialization
* optimize hitcounts
* fix hitcounts
* no_std
* moar unsafe
* fix
* clippy
* clippy
* opt non-specialized is_interesting
* fmt
* op post_exec
* cleanup
* even more
* allow
Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
2022-06-10 10:14:12 +02:00
Andrea Fioraldi
323b8e23ee
LIBAFL_DEBUG_OUTPUT in Launcher and OnDiskTOMLMonitor to create fuzzer_stats ( #666 )
...
* LIBAFL_DEBUG_OUTPUT in launcher on unix
* OnDiskTOMLMonitor
* fix
* clp
* clippy
* fix
* fix
* allow all
Co-authored-by: tokatoka <tokazerkje@outlook.com>
2022-06-08 17:32:58 +02:00
948ce540e8
parallel benchmarks with semaphores
2022-06-08 02:21:47 +02:00
6969b5de5a
add random generator fuzzer
2022-06-08 02:21:17 +02:00
4dabfc5f00
Add InterruptShifterMutator
...
Also add features fuzz_interrupt and muta_interrupt,
which dictate if interrupts are used during fuzzing
Also allow makefile to skip finished iterations
2022-06-07 01:50:21 +02:00
eb3914e5c1
introduce INPUT_BYTES_OFFSET constant
2022-06-06 00:42:45 +02:00
2466fc5cb6
add a testcase minimizer
2022-06-01 23:46:23 +02:00
eabfe020b6
update info duming and makefile
2022-06-01 22:09:39 +02:00
2e81f386ee
change u8 to u16
2022-06-01 22:02:19 +02:00
5b4f730187
add feed_known_edges, fix TimeMaximizerCorpusScheduler
2022-06-01 15:55:17 +02:00
Dongjia Zhang
bc6a032843
Windows CI for frida ( #658 )
...
* harness & makefile.toml
* Update build_and_test.yml
* Update build_and_test.yml
* Update build_and_test.yml
* rename
* no stdout
* Update harness_win.cpp
* Update harness_win.cpp
* Update Makefile.toml
* Update build_and_test.yml
* Update Makefile.toml
* Update Makefile.toml
* fix
2022-05-30 23:06:37 +02:00
Dominik Maier
3a5118fc02
Moved core_affinity to bolts ( #655 )
...
* moved core_affinity to bolts crate
* clippy
* fixes
* ubuntu
* ubuntu++
* moved core_affinity to os
* fixed more imports
* fixed imports
* fixed test
* moved core_affinity out of os
* added affinity
* moved to windows crate
* fmt
* some tiny fixes
* more win
* refactoring
* win?
* win?
* clp
* upd
* more
* copy & paste & fix
* clp
* try
* fix
* more
* fix
Co-authored-by: tokatoka <tokazerkje@outlook.com>
2022-05-30 10:02:46 +02:00
Dominik Maier
bfe69aea09
Format C/Cpp code in ./scripts/fmt_all.sh ( #653 )
...
* format all (clang format 13)
* added clang-format check
* re-add missing newline
* cargo doc was missing
* more brackets
* fixed fmt workflow
* clang format
* shellcheck
* install clang-format-13
* update ubuntu for maximum clang-formattability
* yml whitespaces
* fmt
* shellcheck only for .sh
* oops path
* ignored shellcheck warning
2022-05-29 03:23:02 +02:00
d1c685ccf9
prepare for benchmarking
...
new features for mutators
fuzzer corpus in memory for benchmarking
showmap single file input
2022-05-29 00:45:17 +02:00
6a18fa75f4
add RandInputSnippetMutator
2022-05-29 00:43:02 +02:00
ee4056a008
add objective selection, dump exec times
2022-05-27 01:10:12 +02:00
Andrea Fioraldi
a544bc042d
Move build_id to bolts ( #649 )
...
* Drop the build_id depedency and move to bolts
* tabs->spaces
* clippy build_id fixes
* frida clippy
Co-authored-by: Dominik Maier <dmnk@google.com>
2022-05-27 01:05:03 +02:00
Dongjia Zhang
5887d1a7b7
Delete frida_libpng/Makefile ( #652 )
2022-05-27 01:04:09 +02:00
14e8a81d17
fixup cargo.toml
2022-05-27 00:36:25 +02:00
517b3d3da7
add instrumentation call after breakpoint
2022-05-26 16:11:30 +02:00
Andrea Fioraldi
28edbad618
Refactor libafl Python bindings ( #632 )
...
* SerdeAny MapFeedbackState
* Fix macro syntax
* alloc
* fix
* Metadata calibrate and map feedback
* metadata feedback states
* compile
* fmt
* Register common generic types
* tests
* sugar
* no_std
* fix book
* alloc
* fix fuzzers
* fix
* fmt
* disable python bindings for libafl
* clippy
* fmt
* fixes
* fmt
* compiling python bindings
* no uaf in python observer
* working python observer, feedback and executor
* mutators
* fmt
* nits
* added autofix script
* clippy
* clippy
* more clippy
* fix
* ignore clippy for deserialization
* newlines
* nits
* fmt
* feedbacks
* generators
* methods
* feedbacks
* pyerr
* fix
* fix
* fmt
* python bindings in CI
* fix
* fix
* fix
* autofix
* clippy
Co-authored-by: Dominik Maier <dmnk@google.com>
2022-05-25 16:56:06 +02:00
Andrea Fioraldi
da537aae83
FeedbackState as metadata ( #627 )
...
* SerdeAny MapFeedbackState
* Fix macro syntax
* alloc
* fix
* Metadata calibrate and map feedback
* metadata feedback states
* compile
* fmt
* Register common generic types
* tests
* sugar
* no_std
* fix book
* alloc
* fix fuzzers
* fix
* fmt
* disable python bindings for libafl
* clippy
* fmt
* fixes
* fmt
* fix
* fix
* fix
* fix
* fix
* release autofix
* fix
* fix
* fix
* fmt
* fix
* fix
* name
* fix
Co-authored-by: Dominik Maier <dmnk@google.com>
2022-05-24 16:05:22 +02:00
Dominik Maier
fa839bb08d
More docs and less pub types ( #646 )
...
* more docs
* nits
* fixes
* win fix
* fmt
2022-05-23 13:42:51 +02:00
Dongjia Zhang
283ceaac9b
Make weigthed scheduler independent of powersheduler stage ( #599 )
...
* rename & add metadata in scheduler, not stage
* Update testcase_score
* rename
* fix
* update handicap in scheduler
* fmt
* update fuzzers
* doc
* fmt
* fix
* fmt
* more
* fix
* fix
* fix
* fmt
2022-05-08 16:43:02 +02:00
86ca7863ca
add RandGraphSuffixMutator
2022-05-08 13:45:10 +02:00
WilliamParks
92196cc9be
Fixes forkersever_simple issue on Macs ( #623 )
...
* Fixes forkersever_simple issue on Macs
* fixes formatting issue
* Fixes formatting issue
2022-05-08 11:17:55 +09:00
Dongjia Zhang
2ba32c0173
Update Clap dependency ( #621 )
2022-05-06 01:12:25 +02:00
5d28754e1b
add Makefile for benchmarks
2022-05-04 22:56:40 +02:00
70dec21c8c
add feature flags for fuzz components
2022-05-04 22:55:26 +02:00
01e40ded1d
fix interrupt input, graph output
2022-05-01 22:07:37 +02:00
0b638d9020
new setup for interrupts
2022-04-26 00:35:11 +02:00
67165640c5
fuzz until first solution
2022-04-24 20:47:30 +02:00
6551fc31f4
add interrupts
2022-04-19 23:43:58 +02:00
Dominik Maier
1690dbb2cc
Sender id fix ( #610 )
...
* Starting to fix id issues
* add crashing testcase
* remove debug flags
2022-04-15 19:25:51 +02:00
865f2786a8
add jmp instrumentaion
2022-04-11 22:58:43 +02:00
Andrea Fioraldi
e8f5949aec
Fix linking with -z defs ( #601 )
...
* Always link no-link-rt when not linking a fuzzer
* Handle dynamic
* fuzzbench
* Handle -z defs
* fix
* clippy
* clippy
* windowa
* fix
2022-04-08 18:06:27 +02:00
fc4b72274e
remember branches from app to os
2022-04-08 00:53:05 +02:00
Dongjia Zhang
fa69b9eff9
Powerschedule::RAND ( #596 )
2022-04-07 21:00:59 +09:00
47a4bc19d4
save last post interrupt edge in app
2022-04-06 21:03:21 +02:00
e8b24b0c7a
remove broken imports
2022-04-05 19:05:36 +02:00