Thanks to visit codestin.com
Credit goes to lib.rs

#intel-processor #processor-trace #intel-pt

libipt

The Intel Processor Trace (Intel PT) Decoder Library is Intel's reference implementation for decoding Intel PT

12 unstable releases (3 breaking)

0.4.0 Jul 24, 2025
0.3.0 Jan 29, 2025
0.2.1-beta.1 Nov 25, 2024
0.1.4 Feb 16, 2020
0.1.1 Jan 31, 2020

#130 in Debugging

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

54 downloads per month
Used in 3 crates (via libafl_intelpt)

MIT license

210KB
5K SLoC

Libipt

The Intel Processor Trace (Intel PT) Decoder Library is Intel's reference implementation for decoding Intel PT. It can be used as a standalone library or it can be partially or fully integrated into your tool.

This Repository contains high level rust bindings for the complete functionality provided by the original libipt library.

Huge thanks to the rust discord community for being awesome and helping me out with some stuffs :D.

State

Testing

All of the functionality is implemented and should be working but the test coverage is not complete. If there is interest in this library i might add some more testing. Contributions are also appreciated.

Documentation

I did my best to provide useful documentation for most of the library. If you see any missing or weird documentation feel free to open an issue or pull request.

Unit Tests

  • block: ✔️
  • config: ✔️
  • event: ✔️
  • image: ✔️
  • insn: ✔️
  • packet: ✔️
  • asid: ✔️️
  • encoder: ✔️
  • query: ✔️
  • version: ✔️

Integration Tests

  • Encoding: ❌
  • Block Decoding: ❌
  • Insn Decoding: ❌
  • Packet Decoding: ❌
  • Query Decoding: ❌

Dependencies

~1.2–4MB
~81K SLoC