Skip to main content

Crate ptcov

Crate ptcov 

Source
Expand description

§ptcov

GHA Status Latest Version Documentation License

ptcov is a decoder library to compute AFL-style code coverage from Intel® Processor Trace (PT) traces.

This crate is based on Intel’s SDM and takes inspiration from Intel’s libipt and from libxdc.

Since most of the optional PT packets are of limited use in fuzzing context, like power related info, they are not supported. CPUs erratas are not (yet) fully supported.

Structs§

PtCoverageDecoder
Intel Processor Trace coverage decoder.
PtCoverageDecoderBuilder
Builder for PtCoverageDecoder.
PtCpu
CPU model information used to apply the correct errata workarounds during decoding.
PtImage
A memory chunk containing (a part of) the target’s executable memory.

Enums§

PtCpuVendor
CPU vendor.
PtDecoderError
Errors returned by PtCoverageDecoder.

Traits§

CoverageEntry
Marker trait for coverage map entry types.