pub struct ArtifactSymbol {
pub fingerprint: ArtifactFingerprint,
pub name: Option<String>,
pub exported: bool,
pub section: Option<u32>,
pub offset: u64,
pub size: u64,
pub size_inferred: bool,
pub code: Vec<u8>,
pub normalized: Option<NormalizedInstructions>,
pub inline_stack: Vec<ArtifactInlineFrame>,
}Expand description
A function or symbol extracted from an artifact.
Fields§
§fingerprint: ArtifactFingerprintStable identity built from semantic name, normalized body, and section.
name: Option<String>Demangled name when a format supplied one.
exported: boolWhether the container declares this symbol as externally reachable.
section: Option<u32>Section index is display-only; it is never used as an identity.
offset: u64Start offset in the artifact.
size: u64Observed or conservatively inferred byte size.
size_inferred: boolWhether size was inferred rather than provided by the format.
code: Vec<u8>Exact code bytes, when a boundary could be established.
normalized: Option<NormalizedInstructions>Versioned normalized instruction stream, when decoding is supported.
inline_stack: Vec<ArtifactInlineFrame>Inline source locations, when debug information established them.
Trait Implementations§
Source§impl Clone for ArtifactSymbol
impl Clone for ArtifactSymbol
Source§fn clone(&self) -> ArtifactSymbol
fn clone(&self) -> ArtifactSymbol
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArtifactSymbol
impl Debug for ArtifactSymbol
Source§impl<'de> Deserialize<'de> for ArtifactSymbol
impl<'de> Deserialize<'de> for ArtifactSymbol
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 ArtifactSymbol
Source§impl PartialEq for ArtifactSymbol
impl PartialEq for ArtifactSymbol
Source§impl Serialize for ArtifactSymbol
impl Serialize for ArtifactSymbol
impl StructuralPartialEq for ArtifactSymbol
Auto Trait Implementations§
impl Freeze for ArtifactSymbol
impl RefUnwindSafe for ArtifactSymbol
impl Send for ArtifactSymbol
impl Sync for ArtifactSymbol
impl Unpin for ArtifactSymbol
impl UnsafeUnpin for ArtifactSymbol
impl UnwindSafe for ArtifactSymbol
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.