Skip to content

Conversation

@Marcondiro
Copy link
Contributor

Description

replace libipt with ptcov for faster Intel PT trace decoding

Checklist

  • I have run ./scripts/precommit.sh and addressed all comments

- Better filter out the VMX root traces during decoding thanks to the new `resync` API in libipt (bumped to 0.4.0).
- Extract the Decoder from the linux intel_pt file, since the file/struct was getting too big and the decoder will eventually be compatible with windows.
- PT tracing is now enabled manually by fuzzers to have more precise control, instead of beeing always on in vm operations.
- Add KVM dirty tracing option to qemu config and raw string options
Instead of hardcoding the addresses (that are compiler dependent), read them from the binary.
@Marcondiro Marcondiro changed the title Move ptcov for Intel PT decoding Move to ptcov for Intel PT decoding Dec 3, 2025
@Marcondiro Marcondiro marked this pull request as ready for review December 5, 2025 07:31
@domenukk
Copy link
Member

domenukk commented Dec 5, 2025

Sweet

@domenukk domenukk merged commit 56f8caf into AFLplusplus:main Dec 5, 2025
110 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants