s1341
6384f1da95
Merge pull request #433 from AFLplusplus/frida_asan_max_total_allocation
...
Implement max total allocation size for frida asan
2021-12-27 11:49:40 +02:00
s1341
129cd0fe66
Merge pull request #432 from AFLplusplus/drcov_runtime
...
DrCov Runtime
2021-12-26 16:21:15 +02:00
s1341
2e92a34494
Reset total allocations on reset
2021-12-26 11:17:27 +02:00
s1341
11ae49b7cd
Implement max total allocation size for frida asan
2021-12-26 10:44:25 +02:00
tokatoka
97c169fe63
init ranges later
2021-12-24 16:34:53 +09:00
tokatoka
e6434d2ec2
fmt
2021-12-24 15:46:27 +09:00
tokatoka
9cd0d2228c
drcov runtime
2021-12-24 15:45:08 +09:00
Dominik Maier
6b5181250c
Drcov remodelling ( #415 )
...
* drcov remodelling
* fmt
* fix
Co-authored-by: tokatoka <tokazerkje@outlook.com>
2021-12-23 17:13:18 +01:00
Andrea Fioraldi
6274ad4594
Refactor libafl_qemu creating the Emulator struct and post syscall hooks ( #430 )
...
* working without asan.rs
* working asan
* update fuzzers
* mremap in snapshot
* sugar
* python
* fix python
* clippy
* fmt
* fuck you loader
2021-12-23 09:10:13 +01:00
Dongjia Zhang
d697554810
Other/User defined WIndows Exceptions ( #402 )
...
* other exceptions
* add
* 46th
* fix
* fmt
2021-12-21 19:18:58 +01:00
s1341
b0019ae4a9
Fix frida-mode for debug builds, ensure it will continue to work on release builds ( #427 )
...
* Fix cfg directives so that we actually build on all combinations of release/debug x86_64/aarch64
* Include fuzzer for stalker purposes
* Get rid of cfg on use
2021-12-21 14:30:47 +01:00
Andrea Fioraldi
785cddc1f0
Fix meson.build issue updating QEMU git hash
2021-12-21 12:42:41 +01:00
Andrea Fioraldi
208d69342d
Update QEMU git hash
2021-12-21 11:35:06 +01:00
Andrea Fioraldi
d2bc09a31b
Format
2021-12-21 11:28:08 +01:00
Andrea Fioraldi
0cce1e2b91
Update fuzzbench and fuzzbench_qemu, delete fuzzbench_gsoc
2021-12-21 11:26:04 +01:00
Dongjia Zhang
2aa0ca5ef1
Frida shadow fix ( #425 )
...
* map_to_shadow
* fix map_to_shadow
* aarch64 change?
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* use
* revert
* s1341's change
* Fix shadow calculation in instrumented code
* Fix asan error output to be more accurate
Co-authored-by: s1341 <github@shmarya.net>
2021-12-20 10:51:45 +01:00
van Hauser
1f24ad0b65
Implement AflMap ( #416 )
...
* aflmap
* nits
* nits
* switch implementation
* clippy
* set fuzzbench fuzzer to afl map
* fix monitor display
* Remove MapFindFilter and fix names
* AndReducer
* fixed testcase
* always inline
* remove inline(always)
Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2021-12-16 14:19:39 +01:00
Dongjia Zhang
6e59e5bdc7
Frida Refactor: Separate Frida other helper functions into each Runtime ( #418 )
...
* separate asan
* fmt
* move asan out of helper.rs
* fmt
* move cmplog out of helper.rs
* fmt
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* final fix & fmt
* Fix unused imports
* Fmt
* rename files
* fix Makefile
* fmt
* clippy
Co-authored-by: s1341 <github@shmarya.net>
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2021-12-16 14:16:01 +01:00
Dongjia Zhang
79f9bcd3e0
Use AddVectoredExceptionHandler to register exception handlers ( #403 )
...
* add
* unix fix
* unsafe positions
* another unsafe!
* ignore
* ignore
* make changes back
* fix
* fix
* fmt
* exception fix
* fix
* bug fix
* fmt
* fix things messed up during merge
* stack overflow fix
* fix
* fix
* fix
Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2021-12-16 11:15:24 +01:00
s1341
d93f97309a
Open the stdout-file once ( #419 )
...
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2021-12-16 11:12:40 +01:00
Dominik Maier
abfdb619a8
Remove cpp from CodeQL
2021-12-15 23:43:56 +01:00
Dominik Maier
d1eaf07423
Create codeql-analysis.yml
2021-12-15 23:38:27 +01:00
Dominik Maier
88e07a8d37
CI galore
2021-12-15 23:34:42 +01:00
Dominik Maier
d3245de5bd
Even more CI
2021-12-15 21:37:22 +01:00
Dominik Maier
e72c579ebc
more CI fixes
2021-12-15 19:07:43 +01:00
Dominik Maier
304eda724f
Various fixes for CI ( #423 )
...
* Various fixes
* fix try_from for cores
* no_std
2021-12-15 18:11:40 +01:00
Dominik Maier
a8845ccbe7
Fix makefile for frida_libpng ( #422 )
...
* fix Makefile
* revert unfinished changes from #418
Co-authored-by: tokatoka <tokazerkje@outlook.com>
2021-12-15 12:30:33 +01:00
Dominik Maier
217a7dee1d
Use Structopt instead of yaml for example fuzzers, introduce Cores API ( #420 )
...
* reworked generic_inmemory to structopt
* moved core parsing to a struct
* added Cores
* added structopt to libpng_ctx
* improved libafl, added structopt to libpng launcher
* fix deexit ub
* move more to structopt
* improve llvm-config detection
* move construct_automata to structopt
* clippy, fixes, ...
* no_std
* clippy
* frida core parsing
* fixed no-fork cores
* updated clap
* added missing import
* missing borrow
* reworked frida to structopt
* fixed build
* using Cores api for atheris
Co-authored-by: Dominik Maier <d.maier@avm.de>
2021-12-15 03:58:35 +01:00
Andrea Fioraldi
b4c2551544
Debug output for forkserver ( #413 )
...
* usability fixes for forkserver
* don't call target_bytes twice in TimeoutForkserverExecutor
* don't call target_bytes twice in ForkserverExecutor
2021-12-10 14:52:23 +01:00
Dongjia Zhang
4aa6550bf2
Clap: use help instead of about ( #417 )
2021-12-10 05:04:32 +01:00
Dongjia Zhang
a96e01fda5
Fix forkserver_simple clap issue ( #412 )
2021-12-10 03:38:42 +01:00
Dongjia Zhang
3fbe1be189
Fix timeout value type for Windows ( #414 )
2021-12-09 20:08:44 +01:00
Dominik Maier
98859fbf69
Symcc submodule referencing a path ( #411 )
2021-12-09 16:43:03 +01:00
Dongjia Zhang
fc0881194d
Windows timeout fix with critical sections ( #391 )
...
* add
* unix fix
* unsafe positions
* another unsafe!
* ignore
* ignore
* make changes back
* fix
* fix
* fmt
* bug fix
* fmt
* compiler fence
* import
* typo
* add another critical section
* fix
* fix
* exclude windows book test
* typo
* fence
* why
Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
2021-12-09 13:55:20 +01:00
Andrea Fioraldi
c6553c5351
Use grammartec on crates
0.7.0
2021-12-09 09:58:19 +01:00
Andrea Fioraldi
7c7c7e679f
Merge branch 'main' of github.com:AFLplusplus/LibAFL into main
2021-12-08 16:32:36 +01:00
Andrea Fioraldi
5af2b4580e
Update pyo3 to 0.15
2021-12-08 16:32:32 +01:00
van Hauser
4a23489acb
Implement unstable edge detection+ignore in calibration stage ( #398 )
...
* step 1 for unstable calibration
* fmt
* fixed build
* done unstable implementation
* clippy
* finishing touches for unstable
* no_std
* fmt
* event mgr stablity
* fixed stability value
* displaying
* no_std
* fixed critical whitespace
* send msg only after calibration
* clippy
* Added log to mgr
* moved stability to state
* fix introspection
* space
* fixed docs
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2021-12-08 09:54:47 +01:00
Dominik Maier
83583a867f
QEMU target arch selector via feature flag ( #405 )
...
* QEMU target arch selector via feature flag
* fix ci
* fixing ci some mmore
* more ci fixes, defaulting to x86_64 always
* more ci
* i368 -> i386 typo fix
* revert forkserver changes
* trying to fix clippy
* docs
* fixed warnings
* more clippy action
* qemu example arch
* bring back deprecated function I don't know how to replace
* get rid of deprecated feature again'
* builds?i
2021-12-06 20:06:47 +01:00
Lukas Seidel
0d0fe9eaca
Add fn for TimeoutExecutor to change desired timeout ( #408 )
2021-12-06 17:44:24 +01:00
Dongjia Zhang
bfcb86a2e4
Forkserver example updated ( #404 )
2021-12-06 13:48:41 +01:00
Andrea Fioraldi
c3ea7a042c
Update QEMU bridge revision hash
2021-12-06 10:04:59 +01:00
Dongjia Zhang
0c50406af6
forkserver docus ( #400 )
...
* forkserver docus
* typo
* Update forkserver_and_inprocessforkserver.md
* Update forkserver_and_inprocessforkserver.md
* Update forkserver_and_inprocessforkserver.md
2021-12-05 21:48:15 +01:00
Dongjia Zhang
62291654bd
Frida_libpng document change ( #401 )
...
* change
* change
2021-12-04 16:19:41 +01:00
Dongjia Zhang
30f8fd44ef
Better forkserver example ( #399 )
...
* better example
* fmt
2021-12-04 16:17:38 +01:00
Andrea Fioraldi
96ef72e682
Fix grammartec rev
2021-12-02 16:43:48 +01:00
Andrea Fioraldi
e1349463db
Fix grammartec version to 0.1.0
2021-12-02 16:41:01 +01:00
Dominik Maier
a0ce4cfd68
Ignored qemu fuzzer for non-linux ( #397 )
...
* ignored qemu fuzzer for non-linux
* fixed cfg
* ignore rm -rf errors in make short_test (fuck you macos)
Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
2021-12-02 11:48:35 +01:00
Dominik Maier
ca767752d0
make map debuggable ( #396 )
2021-12-02 10:29:24 +01:00
Lukas Seidel
8a57361e84
dump_registers and write_crash for armv7 ( #393 )
...
* dump_registers and write_crash for armv7
* fmt
2021-12-02 10:28:17 +01:00