David CARLIER
c84629a2f8
bolts: fix solaris cpu binding ( #1699 )
...
Seems `PS_MYID` to save one syscall was not really working, explicit current id makes the test always pass.
2023-11-27 22:34:12 +01:00
Andrea Fioraldi
1545514ed8
JIT fast path for edge cov hooks in libafl_qemu ( #1696 )
...
* JIT fast path for edge cov hooks in libafl_qemu
* fix
* fmt
* fix
* unify hooks as opt
2023-11-27 13:20:20 +01:00
Dongjia "toka" Zhang
00740190a7
Delete update_rust_toolchains.yml ( #1698 )
2023-11-26 21:01:55 +01:00
Mrmaxmeier
84a87f1da8
bolts: support dump_registers for x86 linux ( #1694 )
...
* bolts: support dump_registers for x86 linux
* bolts: fix write_crash fault addr for linux/x86
2023-11-26 16:39:16 +01:00
Romain Malmain
bd12e060ca
Update qemu-libafl-bridge ( #1697 )
...
Update to last version of qemu-libafl-bridge
2023-11-24 20:19:57 +01:00
Dongjia "toka" Zhang
16af5debbe
Fix aggreagator ui ( #1693 )
...
* fix
* more
---------
Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
2023-11-24 13:50:57 +01:00
Romain Malmain
b4e987a640
Clippy fix for Refactor QEMU hooks ( #1695 )
...
* clippy
* format
* clippy
2023-11-24 13:15:33 +01:00
Andrea Fioraldi
f1aee3c376
Refactor QEMU hooks ( #1690 )
...
* Rewrite QEMU Asan
* fake sys
* New hooks
* edge cov helper
* opaque raw hook
* new hooks
* EMulator::get
* new asan
* fix fuzzers
* fix types
* fix
* fix
* fix
* merge fix
* fix
2023-11-23 18:57:15 +01:00
Romain Malmain
43c9100f59
QEMU Synchronous Exit + Syx Snapshot update ( #1681 )
...
* Fix: typo in variable name.
* Fix: thread-safe static for emulator initialization.
* Initial support for synchronous exit from QEMU.
* New commands for the sync exit feature.
Supports physical and virtual address requests.
Updated for new SyxSnapshot naming.
* update qemu commit and fix some things
* - Removed lazy_static dependency
- Compiles for usermode
- Format
* Fix warnings
* Fixed sync_exit for missing architectures
---------
Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
2023-11-23 17:35:32 +01:00
Dongjia "toka" Zhang
28f34e076e
Reduce deps ( #1692 )
2023-11-23 17:21:13 +01:00
Dongjia "toka" Zhang
903a242e3e
Fix unused import ( #1691 )
2023-11-22 21:04:05 +01:00
Dongjia "toka" Zhang
4a94bcb806
Monitor refactor + add aggregator ( #1671 )
...
* push
* decouple clients_stats_mut_for
* coding done
* push
* more
* upd
* fix
* aa
* don't change harness
2023-11-22 20:38:59 +01:00
Dongjia "toka" Zhang
cad2ff6319
Fix scheduled ci ( #1688 )
...
* fix
* small z
2023-11-22 11:46:15 +01:00
Dongjia "toka" Zhang
9a1173d4a6
scalability monitor 2nd ( #1685 )
...
* tekito
* monitor
* fix
* all
* ci
* ci
2023-11-21 23:54:19 +01:00
Dongjia "toka" Zhang
9345b80256
Schedule rust update in build_and_test.yml ( #1687 )
...
* ci cron
* correct regex
2023-11-21 23:49:36 +01:00
s1341
ba394c4acc
Fix LLMP map reuse overflow for slow brokers ( #1679 )
...
* Attempt to fix llmp refcounting
* readers->readers_count
* Removed refcounting for now, fixed
* fixes
* fixes
* add extra debug assert, remove duplicate line
* semicolons are pain :)
* Add comment
* oooooops, bugfix
* fmt
* Fix calcualtion in in_shmem
---------
Co-authored-by: Dominik Maier <dmnk@google.com>
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2023-11-21 16:48:17 +01:00
Dongjia "toka" Zhang
379e2ae89b
Scalability introspector + State refactor ( #1674 )
...
* check
* clippy fmt fixing all the stuff
* restore Cargo.toml
* a
* ci
* ci
* a
* a
* workging?
* work
* ?
* why it worksgit add -u
* ci
* ci
* TMATE
* ci
* ci
* ci
* remove tmate
* less
* fuck; let's try with introspection first
* fucking macro
* another windows shit
* stop it
* i'm harassed by how shit windows is
* fixing
* ci
* ziopera
* fix from main
* ci
* ci
2023-11-21 14:38:48 +01:00
Addison Crump
86cb187ef1
Add arg for profile in build.sh ( #1680 )
2023-11-21 04:15:53 +01:00
Addison Crump
281524dbf9
Unicode-preserving mutators ( #1542 )
...
* create the string classification stage
* modify API to pre-group
* preserving mutator
* more meaningful test
* subproperty mutators + some fixes
* document, finalise, integrate with libafl_libfuzzer
* add example, fix for weird range select
* fix for introspection
* fix fuzzer build
* speed optimisation: allow, but do not require, stacking
* property => category
* token replacement
* fixup: rare case where rust does not agree on valid character
* fix CI again
* again again
* take two: dynamic unicode discovery
* oops
* fix: last byte is never selected
* opt: bias to smaller unicode categories
* fix test
* opt: precompute regions and fix tests
* cache and allow stacking
* document and update libafl_libfuzzer
* oops, use reverse
* fix bolts clippy error
* fixup part 2
* clippy
* part 2
* clippy warning allow
* clippy complaint
* use alloc not std
---------
Co-authored-by: toka <tokazerkje@outlook.com>
2023-11-21 00:41:16 +01:00
Addison Crump
1e96652ed2
libafl_libfuzzer: rename all symbols and allow mimalloc use ( #1565 )
...
* rename allocator symbols to avoid conflict with mimalloc
* re-add llvm-tools to CI
* rename everything
* fixup clippy lint
* make fuzzer entries more noticeable :)
* rabbit mode
* clippy
2023-11-20 21:55:40 +01:00
Andrea Fioraldi
aa69436b64
Fix i386 QEMU read_function_argument() ( #1677 )
2023-11-20 13:53:29 +01:00
Addison Crump
a278357ed9
Add whole-archive feature to libafl_targets ( #1544 )
...
* maybe fix linkage?
* fix hack CI
* interceptors
* do not call strstr and friends
* format
* whoops
* enforce nightly; fixup linkage by featuring interceptors
* skip libafl_libfuzzer in stable cargo hack check
* oops
* packed_bundled_libs is stablised
2023-11-20 10:38:17 +01:00
David CARLIER
a013ad6085
bolts for haiku update ( #1673 )
...
core_affinity using available_parallelism which also support this
platform. further tests disabling.
2023-11-19 23:58:30 +01:00
s1341
57296a6750
Use Compound configurations in libpng launcher fuzzer ( #1676 )
2023-11-19 11:11:52 +01:00
Andrea Fioraldi
cc1ebb29f7
Add CmpLog routines to LibAFL QEMU and various fixes ( #1664 )
...
* Add CmpLog routines to LibAFL QEMU and various fixes
* format
* fix
* fix read_function_argument
* fix
* multithread
* fix qemu fork
* fix
* clippy
* fix systemmode
* unused imports
2023-11-17 16:59:50 +01:00
Andrea Fioraldi
d606d9f4f6
Avoid lagged receiver in TCP manager ( #1672 )
2023-11-17 14:23:51 +01:00
Andrea Fioraldi
d7825851e9
Fix SimpleRestartingMonitor after restart ( #1669 )
...
* Fix SimpleRestartingMonitor after restart
* a
* a
* a
* a
* a
* a
* a
* a
* a
* ci
---------
Co-authored-by: toka <tokazerkje@outlook.com>
2023-11-16 20:06:27 +01:00
Mark Giraud
0750a6c3ca
refactor: Remove unnecessary Debug trait bounds ( #1667 )
...
* refactor: Remove Debug supertraits
Instead of having the Debug trait as supertrait on several traits, the
Debug trait is now required in bounds in specific implementations that
need this specific trait. This keeps the API cleaner, since users now
don't have to propagate the Debug requirement if they don't need to use
the Debug trait.
* refactor: Reformat code
2023-11-15 20:26:12 +01:00
s1341
b1888e12c9
Support precompiled headers in clang/ar wrappers ( #1668 )
2023-11-15 15:10:03 +01:00
s1341
7acdeacae8
Allow compiling 32bit ( #1666 )
...
* Allow compiling for 32bit
* Fmt
* Clean up minibsod for 32bit
* fmt
2023-11-15 12:43:04 +01:00
Dominik Maier
8c62d339a2
Fix FreeBSD CI by updating freebsd-vm ( #1665 )
2023-11-13 22:51:57 +01:00
Dominik Maier
1138e6a341
Fix CI ( #1662 )
2023-11-10 12:08:29 +01:00
Benjamin Beyret
6300c5f493
Remove debug log ( #1659 )
2023-11-08 15:46:20 +01:00
Dongjia "toka" Zhang
d53503b73e
Fix stb image on windows ( #1657 )
...
* fix
* fix
* HOW DO I ADD FROM:FROM????
* ok
2023-11-08 15:20:35 +01:00
Benjamin Beyret
c97d0fa7fc
Allow MinimizerScheduler to not cleanup metadata after use ( #1658 )
...
* Allow MinimizerScheduler to not cleanup the metadata after use.
* Fix constructor
* cargo fmt and fix docstring.
2023-11-08 12:00:25 +01:00
Nereuxofficial
6089cc21ce
Fixed panic feature in baby_fuzzer example ( #1656 )
...
* Fixed panic feature in baby_fuzzer example
* Fixed typo
2023-11-08 00:14:42 +01:00
Dongjia "toka" Zhang
c9e147de8c
Fix LLVM Pass ( #1654 )
2023-11-06 13:35:10 +01:00
Dominik Maier
8545778780
Revert "Use clang-format-16 ( #1649 )" ( #1650 )
...
This reverts commit 1aede04af75564d4063f91d1c8c1a402760e86f5.
2023-11-04 21:38:36 +01:00
Abc Xyz
65ddfa6acf
drcov_rt: make coverage file names unique ( #1581 )
...
* fix(drcov_rt): coverage files are overwritten if have the same names
Make it unique.
* fix(drcov_rt): use coverage and input as a filename, skip empty covs
2023-11-04 17:54:35 +01:00
Dominik Maier
8a18ee4ece
Add Android Ashmem stub header to libafl_targets forkserver.c ( #1648 )
...
* Add Android Ashmem stub header to libafl_targets forkserver.c
* clang-format
2023-11-04 17:48:02 +01:00
Dongjia "toka" Zhang
1aede04af7
Use clang-format-16 ( #1649 )
2023-11-04 17:45:01 +01:00
David CARLIER
bae24d9072
bolts: haiku, addressing clippy warnings ( #1647 )
2023-11-04 17:03:09 +01:00
Addison Crump
56b37bb4bd
Improve the libafl_libfuzzer corpus ( #1539 )
...
* improved libfuzzer corpus
* use .into() for converting ids to usize
* oops
* fix warning about unused arg
* fix some lingering CI errors
* actually save the last lmao
2023-11-03 17:33:38 +01:00
Addison Crump
fd98eabfbf
clamp last to infinity to handle rare imprecision issues ( #1532 )
2023-11-03 17:32:48 +01:00
David CARLIER
2e980ca08d
bolts: initial haiku support ( #1643 )
2023-11-03 17:18:53 +01:00
Dongjia "toka" Zhang
745326ee26
Add post_run_target for ShadowExecutor ( #1641 )
2023-10-30 19:27:55 +01:00
Anne Borcherding
976d6b2e97
[WithObservers] Call the wrapped observer's post run function ( #1640 )
...
* [WithObservers] Call the wrapped observer's post run function
* fix typo and naming of variable
2023-10-30 17:58:54 +01:00
Azim Muradov
ad33ea086b
Fix typos and crates names formatting in crates.md ( #1639 )
...
* Fix typos and crates formatting in crates.md
* Fix header in crates.md
2023-10-27 11:31:02 +02:00
Dongjia "toka" Zhang
c6c93b5785
aa ( #1638 )
2023-10-25 16:36:20 +02:00
Dongjia "toka" Zhang
fdfa5b2d48
Fix ci ( #1637 )
...
* fix
* Stupid lint 🖕
2023-10-25 16:28:31 +02:00