pub struct DataRef {
pub address: String,
pub name: Option<String>,
pub ref_type: String,
}Expand description
One from-data reference gathered from inspectFunction’s body (Task 16). address is a raw
space:offset string as emitted by the worker; the handler canonicalizes it alongside the other
FunctionContext addresses. name is the primary symbol at the target address when one exists.
ref_type is the Ghidra RefType name (e.g. “DATA”, “READ”, “WRITE”).
Fields§
§address: String§name: Option<String>§ref_type: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for DataRef
impl<'de> Deserialize<'de> for DataRef
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 DataRef
impl StructuralPartialEq for DataRef
Auto Trait Implementations§
impl Freeze for DataRef
impl RefUnwindSafe for DataRef
impl Send for DataRef
impl Sync for DataRef
impl Unpin for DataRef
impl UnsafeUnpin for DataRef
impl UnwindSafe for DataRef
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