#intel #decoder #decoding #processor #trace #reference #pt

libipt

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

5 releases

0.1.4 Feb 16, 2020
0.1.3 Feb 8, 2020
0.1.2 Feb 7, 2020
0.1.1 Jan 31, 2020
0.1.0 Jan 29, 2020

#2696 in Parser implementations

Download history 3/week @ 2024-02-18 7/week @ 2024-02-25 75/week @ 2024-03-31

75 downloads per month

MIT license

170KB
3.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.

docs.rs is sadly unable to build the project because of a header file which needs to be copied out of the build dir. Ill need to get the sorted out somehow.

Unit Tests

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

Integration Tests

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

Dependencies

~3.5MB
~89K SLoC