-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
60 lines (54 loc) · 1.87 KB
/
Cargo.toml
File metadata and controls
60 lines (54 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "ptcov"
version = "0.1.0-beta.1"
authors = ["Marco Cavenati <cavenatimarco+ptcov@gmail.com>"]
edition = "2024"
rust-version = "1.92.0"
license = "MIT OR Apache-2.0"
description = "Decoder to compute code coverage from Intel® Processor Trace traces"
documentation = "https://docs.rs/ptcov"
readme = "README.md"
repository = "https://github.com/Marcondiro/ptcov"
keywords = ["decoder", "intel", "pt"]
[features]
default = ["retc", "more_checks", "stronger_hash", "indirect_edges"]
# Support for IA32_RTIT_CTL.CYCEn dependent packets
cyc = []
# Support for IA32_RTIT_CTL.IA32_RTIT_CTL.EventEn dependent packets
event = []
# Support for IA32_RTIT_CTL.MTCEn dependent packets
mtc = []
# Support PEBS output to PT trace.
# When IA32_PERF_CAPABILITIES.PEBS_OUTPUT_PT_AVAIL[16] and IA32_PEBS_ENABLE.OUTPUT [62:61] == 0b01
pebs = []
# Support for IA32_RTIT_CTL.PTWEn dependent packets
ptw = []
# Support for IA32_RTIT_CTL.PwrEvtEn dependent packets
pwr = []
# Support Indirect Transfer Compression for Returns (RET). Required if IA32_RTIT_CTL.DisRETC == 0
retc = []
# Support for IA32_RTIT_CTL.TSCEn dependent packets
tsc = []
# Perform more consistency checks even if not strictly necessary for trace decoding.
# Without this feature, decoding might not detect inconsistencies in traces and give less precise errors.
more_checks = []
# Use a stronger hasher when filling the coverage map
stronger_hash = []
# Track edges originating from indirect jumps/calls/ret into the coverage map
indirect_edges = []
log = ["log_packets", "log_instructions"]
log_packets = ["dep:log"]
log_instructions = ["dep:log"]
[lints.rust]
missing-docs = "warn"
[dependencies]
hashbrown = "0.16.1"
iced-x86 = { version = "1.21.0", default-features = false, features = [
"std",
"decoder",
"instr_info",
] }
log = { version = "0.4.29", optional = true }
num-traits = "0.2.19"
[dev-dependencies]
env_logger = "0.11.9"