Dongjia Zhang
5fd63c0076
Fix QAsan ( #677 )
...
* fix
* more
2022-06-23 17:54:50 +02:00
Dongjia Zhang
397507f5b1
Fix feedback from #665 & Fmt ( #676 )
...
* revert
* fmt
* fmt back
2022-06-23 17:54:39 +02: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
Andrea Fioraldi
93048f6270
Add custom GDB commands to libafl_qemu ( #671 )
...
* Add custom GDB commands
* clippy
* statically linked QEMU
* fix Calibrate
* clippy
2022-06-14 11:45:14 +02:00
Dominik Maier
f7c997ec65
CustomBuf Events to exchange any data between fuzzers ( #672 )
...
* custom buf events
* clippy, nits
* nostd
* testcase
* maturin build
* fmt
* pybind imports cleanup
* remove unneded lifetime annotation
* docs
2022-06-14 11:10:08 +02:00
Andrea Fioraldi
a2388d4400
Remove Hash bound in Input trait ( #670 )
2022-06-10 15:24:31 +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
Sergio Paganoni
986030732a
Generating core ids based on the actual count of logical cores ( #669 )
...
* generating core ids based on the actual count of logical cores
* make clippy happy
* make fmt happy
2022-06-09 20:45:27 +02:00
Andrea Fioraldi
395b616718
Fix #662 ( #667 )
2022-06-08 17:33:34 +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
Dominik Maier
2e746bf439
Apple aarch64 fixes ( #660 )
...
* Apple aarch64 fixes
* added shmem provider testcase
* added method to not ignore cores, removed deprecated core_affinity api
* cleaned up set_affinity tests
* fixes
* fixes
* more aarch
* apple needs serial tests
* disable testcase for now
2022-06-04 16:02:11 +02:00
Andrea Fioraldi
e7e82af52c
C forkserver logic in libafl_targets ( #650 )
...
* C forkserver logic in libafl_targets
* fix, enabled apple
* disable apple
* fixes
Co-authored-by: Dominik Maier <dmnk@google.com>
2022-05-31 14:56:59 +02:00
Dongjia Zhang
400292968a
Check syscall result in set_for_current ( #659 )
...
* set_for_current error
* type
* more
* debug
* debug
* fmt
* clp
2022-05-30 23:06:58 +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
Dongjia Zhang
dd78210335
Windows-rs update ( #657 )
...
* upd
* more
2022-05-29 13:04:21 +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
Dominik Maier
e4447364c2
SymCC update ( #656 )
2022-05-28 01:41:43 +02:00
Dominik Maier
c16738fd10
Make OutFile auto-remove refcounted on drop ( #654 )
...
* Make OutFile auto-remove refcounted on drop
* clippy, windows
* remove debug print
* streamlined tmp files names
* outfile -> inputfile
2022-05-27 18:01:44 +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
Dominik Maier
763ed9a3e5
Moved to no_std preamble ( #643 )
...
* Moved to no_std preamble
* fixed use
* no_std targets
* derive no_std
* fix yml
* ci
* alf
* gitignore
* fix python build
* import cleanup
* nostd
* linux fix
2022-05-27 01:04:29 +02:00
Dongjia Zhang
5887d1a7b7
Delete frida_libpng/Makefile ( #652 )
2022-05-27 01:04:09 +02:00
Dominik Maier
8b8b58ffa7
Doc fixes ( #651 )
2022-05-27 01:03:34 +02:00
syheliel
7d5fd74a5d
Improve doc ( #648 )
...
* Improve doc
* Fix
* Fix
* Fix
* Typo
Co-authored-by: syheliel <syheliel@gmail.com>
2022-05-26 11:44:05 +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
Dominik Maier
b7650f7683
Added missing Eq ( #645 )
2022-05-22 23:36:18 +02:00
Dominik Maier
f3fd6caf0b
No break, only fix ( #644 )
2022-05-22 18:54:14 +02:00
Dominik Maier
7d2892a42f
Fix Windows import ( #642 )
2022-05-22 13:07:45 +02:00
Dominik Maier
c404825fb8
More clippy ( #641 )
...
* Even more libafl_frida clippy
* Eq
* addr_of_mut cleanup
* fmt
2022-05-22 13:01:55 +02:00
Dominik Maier
828ebcff39
Clippy nits & fixes ( #640 )
...
* release autofix
* fix unused backtrace
* clippy fixes
* clippy
* more clippy
* more autofix
* clippy for frida
* more clippy
2022-05-22 02:43:25 +02:00
Dominik Maier
50ddbf6a78
Added autofix script ( #639 )
2022-05-21 15:06:11 +02:00
peamaeq
ffaad561cb
Reduced scope of unsafe block ( #637 )
...
* '0517'
* 0517
2022-05-20 19:37:22 +02:00
Dongjia Zhang
5570601fea
Small refactoring of nits in #635 ( #636 )
...
* fix
* more
* fmt
* fix
* fix
* fix
* fix
* fmt
* fmt
* fix
2022-05-20 07:26:28 +02:00
Dongjia Zhang
4eba9323c5
Fix overflow in Frida mode ( #635 )
2022-05-17 15:06:38 +02:00
Dongjia Zhang
afb32fb351
Cmplog New Pass Manager & LLVM 14 Fixes ( #626 )
...
* wip
* more
* match aflpp
* llvm14
* fix
* more llvm14
* check llvm version in libafl_cc
* safe access
* more
* fmt
* no windows
* no windows
2022-05-17 08:45:48 +02:00
syheliel
2ead2c398e
Speed up CI ( #630 )
...
* Add ccache
* Update codecov.yml
* Update build_and_test.yml
* Update build_and_test.yml
* Update test_all_fuzzers.sh
Add fuzzer timer
* Fix `./test_all_fuzzers.sh` on macos
* Fix CI
* Fix CI
* Update build_and_test.yml
* Fix typo
* Set mold linker as default linker
* Fix CI
* Update build_and_test.yml
* Add profile arguments
* Fix CI
* Update test_all_fuzzers.sh
Co-authored-by: syheliel <syheliel@gmail.com>
2022-05-15 21:25:29 +02:00
syheliel
aa101c396a
Merge ubuntu and macos fuzzer && Record time for ./test_all_fuzzers.sh
( #629 )
...
* Add ccache
* Update codecov.yml
* Update build_and_test.yml
* Update build_and_test.yml
* Update test_all_fuzzers.sh
Add fuzzer timer
* Fix `./test_all_fuzzers.sh` on macos
* Fix CI
* Fix CI
* Update build_and_test.yml
* Fix typo
2022-05-14 00:57:26 +02:00
biazo
d61612c94c
Adding equivalent arm32 syscall for qemu snapshot ( #628 )
2022-05-14 00:49:39 +02:00
Dongjia Zhang
62484b12f4
Call post_exec_all() in calibrate.rs ( #603 )
...
* fix
* fix
* fix
* post_exec
* fix
2022-05-12 11:14:21 +02:00
Ao Li
9e382c4177
Fix gnf_converter.py script ( #616 )
2022-05-10 19:48:48 +02:00
Dongjia Zhang
a02b90be44
Autotokens New PM ( #605 )
...
* autotokens newpm
* typo
* fmt
* clp
* fix
* fix
* include &fmt
* include
* fmt
* llvm14 & clippy fix
* fix
2022-05-09 18:41:53 +09: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
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
Dominik Maier
eb70c8025b
Clippy nightly fixes ( #624 )
2022-05-07 15:35:37 +02:00
Dominik Maier
196569577f
Clippy nightly fixes ( #622 )
...
* removed unused errors
* Fixes
2022-05-06 19:11:09 +02:00
Shengtuo Hu
1c97a5fd2b
Remove PrimInt in map feedback and observer ( #606 )
...
* Remove PrimInt
* Use core instead of std
Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
2022-05-06 10:29:07 +02:00
Dongjia Zhang
2ba32c0173
Update Clap dependency ( #621 )
2022-05-06 01:12:25 +02:00
Dominik Maier
9092076ce2
removed unused errors ( #620 )
2022-05-05 22:24:18 +02:00