Romain Malmain
b8d48013c0
updated QEMU. Adapted emu.rs to fit new interface. ( #1774 )
...
* updated QEMU. Adapted emu.rs to fit new interface.
* format
2024-01-03 20:10:20 +01:00
Dominik Maier
d143cac663
Fix atheris fmt, clippy ( #1769 )
2024-01-02 23:12:37 +01:00
Dominik Maier
925b33889f
LibAFL Atheris Compatibility ( #1576 )
...
* Made changes to libafl_atheris/src/lib.rs to work with Atheris
* Removed unused imports
* Ran on libafl_atheris
* Fixed issue with using extra_counters and issue with using println
---------
Co-authored-by: eceo902 <evan.seeyave@gmail.com>
Co-authored-by: Evan <53020947+eceo902@users.noreply.github.com>
2024-01-02 22:18:34 +01:00
Bet4
4f93d7e894
Check canonicalized_module_path before used ( #1767 )
2024-01-02 18:16:02 +01:00
David CARLIER
440e57dd6f
afl_cc llvm 18 build fixes ( #1759 )
2024-01-02 14:13:52 +01:00
Dominik Maier
a07563def0
Add mute_inprocess_target fn, SimpleFdLogger::set_logger, and more ( #1754 )
...
* Add mute_inprocess_target fn, SimpleFdLogger::set_logger, set_error_print_panic_hook
* Trying to fix #1753
* typo
* More fix
* Fix test?
* more testcase fixes
2024-01-01 23:14:59 +01:00
Romain Malmain
38e16fbade
replace Emulator::new_empty
by Emulator::get
calls outside of emu.rs
for safety. ( #1763 )
2024-01-01 18:49:11 +01:00
Dongjia "toka" Zhang
2717018601
Dedup common code in scheduler ( #1702 )
...
* dedup common code in scheduler
* del eco
* fixing
* fix
2024-01-01 18:22:03 +01:00
mkravchik
df96bb02ee
Enabling DrCov on Windows ( #1765 )
...
* Enabling DrCov for Windows
2023-12-27 11:10:04 +02:00
Dominik Maier
9ad7d9bb64
Miri ignores for M1 regex ( #1762 )
2023-12-27 00:36:21 +01:00
Bet4
ce71858100
Documentation fixes ( #1761 )
...
* Documentation fixes
* Fix InProcessExecutor url
* Update all urls to latest
2023-12-26 11:27:07 +01:00
lazymio
ea5ea3410c
Fix incorrect imports ( #1758 )
...
* Fix incorrect imports
https://doc.rust-lang.org/core/simd/trait.SimdOrd.html
* Fix
* Try fix ci
2023-12-23 23:12:20 +09:00
Dominik Maier
16a152267e
Ignore SigPipe by default ( #1741 )
...
* Ignore SigPipe by default
* Fix no_std
* fmt
2023-12-22 16:50:36 +01:00
Dominik Maier
c93291ab57
Fix as_object
UB discussed in #1748 ( #1751 )
...
* Fix as_object UB discussed in #1748
* More cleanup, more less UB
* Fix fixes
* Added uninit_on_shmem api
* clippy
* fmt
* trying to fix fuzzers, libfuzzer wrapper
* Add OwnedRefMit::owned constructor, libfuzzer fix
* Some more fixes
* Add BacktaceObserver::owned fn
* fmt
* more fmt
2023-12-22 16:49:01 +01:00
Dominik Maier
4e7d2caa9f
Remove unused create_anymap_for_trait macro ( fixes #1719 ) ( #1752 )
2023-12-22 16:48:43 +01:00
Dongjia "toka" Zhang
9993cf1000
symcc_update ( #1749 )
2023-12-22 02:29:46 +09:00
Romain Malmain
830faec95f
QEMU filtering rework + paging filtering ( #1705 )
...
* Added paging filtering.
Reworked address range filtering to fit with new generic code.
* Fix: renamed remaining QemuInstrumentationFilter instances.
* Fix: clippy + format
* Updated qemu-libafl-bridge
* Fix QEMU userspace crash handler (#1706 )
* Fix QEMU userspace crash handler
* no_std
* libafl_cc custom llvm_config lookup for solaris/illumos (#1708 )
* fix simd (#1709 )
* Updated qemu
---------
Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
Co-authored-by: David CARLIER <devnexen@gmail.com>
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2023-12-21 15:51:14 +01:00
David CARLIER
ea61b79012
bolts/minibsod add openbsd arm64 support ( #1724 )
...
* bolts/minibsod adding openbsd arm64 part.
* disable core ids test on freebsd
2023-12-21 14:25:25 +01:00
Dongjia "toka" Zhang
a98805b4ca
Another attemp to fix CI ( #1744 )
...
* fixing?
* more
* delete macos build_and_run fuzzers as its runtime exceeds 360minutes and can't fix it
0.11.2
2023-12-21 04:43:01 +09:00
Dominik Maier
68e7b203f5
Add file descriptor logger ( #1742 )
...
* Add file descriptor logger
* clippy
* Fix closing fds
* fix no_std, fmt
---------
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2023-12-20 16:53:33 +01:00
Dongjia "toka" Zhang
57a64e805f
Trying to fix CI ( #1739 )
...
* test
* dummy
* dummy
2023-12-20 16:48:02 +09:00
Dongjia "toka" Zhang
78060ea308
0.11.2 ( #1735 )
2023-12-18 14:33:14 +01:00
van Hauser
63e1523358
small fixes and enhancements ( #1731 )
...
* nits
* first steps
* different approach
* fixes
* remove temps
* remove temp
---------
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2023-12-17 20:19:15 +09:00
Addison Crump
ef8ebd5239
fixup: don't download unicode categories data ( #1732 )
...
* fixup: don't download unicode categories data
* whoops, document
* fmt
* ci
---------
Co-authored-by: toka <tokazerkje@outlook.com>
2023-12-17 19:09:59 +09:00
iximeow
2726a59711
use yaxpeax-x86 version from crates.io instead of direct git dep ( #1733 )
2023-12-17 15:54:12 +09:00
Dongjia "toka" Zhang
7894efe728
Last cleanup after decapstone ( #1727 )
...
* Last clenup
* more
* more
2023-12-16 19:51:42 +09:00
Sharad Khanna
fce5fd9a2b
Remove capstone from frida [aarch64] ( #1723 )
...
* Partially finish ASAN and CmpLog changes
* Fix handle_trap, report_error, and remove capstone
* Fix a few bugs. Can now detect UAFs properly
* Some small changes
* Make API more consistent with x86
* Fix printing
* Remove unneeded inputs, final changes
* formatting
* Fix x86 build
* Formatting
2023-12-16 16:10:40 +09:00
Dongjia "toka" Zhang
a0a4dd60bb
Remove capstone from frida [x86_64] ( #1720 )
...
* init
* more
* just fixing stuff
2023-12-16 02:39:11 +09:00
Dongjia "toka" Zhang
ee447468c6
message ( #1726 )
2023-12-16 00:13:21 +09:00
Andreas
2f036b72e4
Make inner value of llmp Flags pub ( #1725 )
2023-12-15 20:58:05 +09:00
Andrea Fioraldi
002656b076
Fix #1721 ( #1722 )
2023-12-11 15:26:53 +01:00
Dongjia "toka" Zhang
c2db7ad162
Add Resource ( #1718 )
2023-12-07 13:54:56 +01:00
mkravchik
b336411516
Adding support for shutdown upon Ctrl+C on Windows for LLMP ( #1704 )
...
* Adding support for shutdown upon Ctrl+C on Windows for LLMP
* PR comments and clippy suggestions addressed
* Enable CI for PR branches and manually triggered CI
* Removed an empty line that broke compilation on some platforms
* Trying to fix nostd compilation
* Trying to fix nostd compilation for nightly toolchain
* Removing use that is unused on some platforms
* Trying to fix build on the nightly toolchain
* Trying to fix build on the nightly toolchain, take 2
* Unifying LlmpShutdownSignalHandler
* Fmt fix
* Making the handler pub(crate)
* Nightly toolchain fmt fixes
---------
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2023-12-05 21:03:00 +01:00
tbethe
686d29a3cb
Don't reset child_pid in forkserver executors ( #1715 )
...
Child pid is no longer reset after a run in persistent mode
Co-authored-by: Timme Bethe <git@timmebethe.nl>
2023-12-05 20:38:17 +01:00
Dongjia "toka" Zhang
fad59987d9
Better SigInt handler ( #1710 )
...
* fix simd
* better exit
* chg
* more
* more
* use
* change to proper name
* w
* aaaaaaa
* delete
* just separate them
* shell check
2023-12-04 20:06:11 +01:00
Dongjia "toka" Zhang
210315da0f
fix simd ( #1709 )
2023-12-03 16:19:12 +01:00
David CARLIER
108c04a8d2
libafl_cc custom llvm_config lookup for solaris/illumos ( #1708 )
2023-12-03 10:23:33 +01:00
Andrea Fioraldi
517d6962bd
Fix QEMU userspace crash handler ( #1706 )
...
* Fix QEMU userspace crash handler
* no_std
2023-12-01 13:26:10 +01:00
Andrea Fioraldi
5d83c9399a
Fix bp in QEMU thumb mode on arm64 systems ( #1701 )
2023-11-29 10:37:10 +01:00
Andrea Fioraldi
bc458864f1
Fix libafl_qemu edge hooks src addr ( #1700 )
2023-11-28 17:16:15 +01:00
Rowan Hart
5d5ee40329
Add Features for C Targets ( #1663 )
...
* Allow disabling C targets for platforms that dont support them when using cmp observers
* Make sancov depend on coverage
2023-11-27 22:34:41 +01:00
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