pub struct EntryFunction {
pub entry: u32,
pub kind: String,
pub instance: String,
pub symbol: String,
pub address: Option<u64>,
pub addresses: Vec<u64>,
pub functions: Vec<u64>,
pub how: Option<String>,
pub reason: Option<String>,
pub required: bool,
}Expand description
One exec entry and its function.
Fields§
§entry: u32§kind: StringThe entry’s kind (exec.marks column what: process, root, thread, init, signal).
instance: String§symbol: String§address: Option<u64>§addresses: Vec<u64>Without a function of its own (inlined): the entries of its DWARF copies. A process
entry with no code of its own: the main thread’s start (PROOF_ENTRY_MAIN).
functions: Vec<u64>The functions holding those copies (each copy’s outermost DWARF subprogram): the targets a call into the entry reaches.
how: Option<String>With an address: what proves it (PROOF_ENTRY, or PROOF_ENTRY_DWARF).
reason: Option<String>Without one: why.
required: boolEnforce needs it: a place a thread starts running (kinds process, thread, init,
signal; a root is a scope of the analysis, not a start).
Trait Implementations§
Source§impl Clone for EntryFunction
impl Clone for EntryFunction
Source§impl Debug for EntryFunction
impl Debug for EntryFunction
Source§impl<'de> Deserialize<'de> for EntryFunction
impl<'de> Deserialize<'de> for EntryFunction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EntryFunction
Source§impl PartialEq for EntryFunction
impl PartialEq for EntryFunction
Source§impl Serialize for EntryFunction
impl Serialize for EntryFunction
impl StructuralPartialEq for EntryFunction
Auto Trait Implementations§
impl Forget for EntryFunction
impl Freeze for EntryFunction
impl Move for EntryFunction
impl RefUnwindSafe for EntryFunction
impl Send for EntryFunction
impl Sync for EntryFunction
impl Unpin for EntryFunction
impl UnsafeUnpin for EntryFunction
impl UnwindSafe for EntryFunction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more