Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump Libipt 0.3, add HW breakpoint support (#2984)
* Decode with callback * WIP restore intelpt module * Fix build_target if target_dir doesn't exist * WIP itelpt qemu/kvm example: bootloader * qemu config refactoring * Fix intel_pt_command_executor target dir * * QEMU error refactoring* * back to one QEMU init function * other small things * update test * Bump libipt * waitpid_filtered to ignore SIGWINCH * Fix warnings unused manifest key: *.version * Add export_raw feature to libafl_intelpt * derive Debug for IntelPTHook * Clippy * Light refactor of EmulatorModules * qemu is now a parameter to EmulatorModule callbacks and most function hooks. * EmulatorModules is initialized before QEMU is initialized. * Update target program ELF offsets * fmt * * asan fixed size accesses working with generics * continue to propagate qemu argument as hook first parameter * use pre_syscall* and post_syscall* everywhere * fix some clippy stuff * fmt * Add comment to KVM pt_mode check * refactor * Add intel_pt_export_raw feature in libafl * fix fuzzers * * refactor asan and asanguest modules to avoid custom init of QEMU and use the module interface instead. * adapt qemu_launcher example to fully work with emulator, since qemu must now be initialized by emulator. * fmt * clippy * fix qemu_coverage * fmt * forgot qemu args in launcher * map_error instead of unwrap * use correct args * Update to new libafl_qemu * adapt api * borrow checker friendly join_split_trace and copy trace before deocde to prevent decoding failures * testing stuff * Set ip_filters (also) with builder * Move trace to file * Store a pt_builder in module enable the setting of filters and other pt settings * baby_bootloader target * Best bootloader ever * new builder? * use closure for qemu config from emulator builder. * better format * clippy + fmt * Fix build target Create target directory if doesn't exist * Remove filter on speculatively exec blocks since also committed blocks can have this flag * Add current ip_filters getter * Fix possibile infinite loop in trace decode * HW breakpoint + snapshot * add snapshot and exit at first objective * prefer raw pointers to slice_from_raw_parts_mut since the latter is highly unsafe and allows more potentially dangerous reordering * Add cpu option to QEMU config * Add cpu option and minor improvements * fix cargo run causing recompile * no default devices * windows clippy fix * Exclude intel_pt feature from CI as all systemmode feats * Add qemu_intel_pt_bootloader to CI * Fix NopPageFilter * Fix qemu_config * Restore HW breakpoints * Lints * return Result for hw bp set/remove * mark join_split_trace as unsafe * Put the qcow2 in a tmpfs ramdisk 10x exec/sec * Post merge fixes * Try out libipt 0.3 alpha * Try out libipt 0.3 alpha also in hook * Clippy * New libipt * Post merge fixes * Bump libipt * Drive cache None * Post merge fixes * Use SectionInfo from libipt * No slice::from_raw_parts_mut, just use raw pointer * Cache the decoder builder * Update qemu-bridge * Add qemu -append param * Move linux specific code to a mod, less #[cfg]s * Add qemu initrd config * Add qemu monitor tcp * Add not enough ip filters message * Fix wrong must_use * Prevent possible infinite loop in block decoding in debug mode * Clippy * fix CI? * Revert, keep libipt 0.3 and hw bp --------- Co-authored-by: Romain Malmain <[email protected]> Co-authored-by: Marco Cavenati <marco@lenovo300e>
- Loading branch information