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
|
//! ztrace: one event format, many ways to produce it, one recording.
pub const event = @import("event.zig");
pub const Event = event.Event;
pub const Kind = event.Kind;
pub const Regs = event.Regs;
pub const Sink = event.Sink;
pub const Ring = @import("Ring.zig");
pub const store = @import("store.zig");
pub const Recorder = store.Recorder;
pub const Trace = store.Trace;
pub const ptrace = @import("ptrace.zig");
/// Pointers followed through a moment, pwndbg's way.
pub const telescope = @import("telescope.zig");
/// glibc's malloc at a moment: chunks, tcache, bins, the top.
pub const heap = @import("heap.zig");
pub const Debugger = @import("Debugger.zig");
pub const control = @import("control.zig");
pub const Symbols = @import("Symbols.zig");
pub const syscalls = @import("syscalls.zig");
/// Inside the target: the ring it was handed.
pub const client = @import("client.zig");
/// Inside the tracer: a target running with a ring.
pub const host = @import("host.zig");
/// The kernel's view, unprivileged: counters, samples, faults, maps, syscalls, watchpoints.
pub const perf = @import("perf.zig");
/// Static probes (the ELF notes of <sys/sdt.h>) and their arguments.
pub const usdt = @import("usdt.zig");
/// The kernel's view, privileged: BPF on tracepoints, kprobes, uprobes, USDT.
pub const bpf = @import("bpf.zig");
test {
_ = event;
_ = Ring;
_ = store;
_ = ptrace;
_ = telescope;
_ = heap;
_ = Debugger;
_ = control;
_ = Symbols;
_ = syscalls;
_ = client;
_ = host;
_ = perf;
_ = usdt;
_ = bpf;
}
|