pub struct Program {
pub path: AbsolutePath,
pub args: Vec<OsString>,
pub inherited: bool,
pub observations: Observations,
pub connections: BTreeSet<Connection>,
pub unknown_system_calls: BTreeSet<u32>,
pub incomplete: Vec<IncompleteReason>,
}Expand description
One program that a traced process ran, with everything the tracer attributes to it.
A program is the path that an exec call named, resolved as its observation is,
with the arguments that the call passed; a process that a fork, a vfork or a
clone created first runs its creator’s program, which it lists as inherited.
Everything the process does while it runs the program belongs to the program,
and so does a successful exec that starts it: its own path, its interpreters
and its ELF loader. A failed exec belongs to the program that made the call.
Fields§
§path: AbsolutePathThe path of the program.
args: Vec<OsString>The argument vector that the program received, starting with its
argv[0], or empty when the tracer could not read it.
inherited: boolWhether the process runs the program because its creator ran it, rather than
through an exec of its own.
observations: ObservationsThe paths that the program touched, with their kinds and outcomes.
connections: BTreeSet<Connection>The connections that the program made.
unknown_system_calls: BTreeSet<u32>The native numbers of the system calls that the program made and that the tracer does not know.
incomplete: Vec<IncompleteReason>Every reason that the program made the trace incomplete, in the order the tracer found them.