Skip to main content

VarnodeMutRef

Type Alias VarnodeMutRef 

Source
pub type VarnodeMutRef<'str, 'ctx> = BaseRef<&'ctx mut Context<'str>, VarnodeId>;

Aliased Type§

pub struct VarnodeMutRef<'str, 'ctx> {
    pub id: VarnodeId,
    /* private fields */
}

Fields§

§id: VarnodeId

Implementations§

Source§

impl<'str, 'ctx> VarnodeMutRef<'str, 'ctx>

Source

pub fn set_label(&mut self, label: u32)

Sets the integer label used to derive a generated temporary’s display name. Unlike Renameable::rename, this neither allocates nor touches the context name map, so it stays off the per-instruction hot path.

Trait Implementations§

Source§

impl Display for VarnodeMutRef<'_, '_>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Named for VarnodeMutRef<'_, '_>

Source§

fn name(&self) -> Option<&str>

Source§

impl<'str, 'ctx> Renameable<'str, 'ctx> for VarnodeMutRef<'str, 'ctx>

Source§

fn rename(&mut self, name: Cow<'str, str>) -> Result<()>

Source§

fn with_name(self, name: Cow<'str, str>) -> Result<Self>
where Self: Sized,

Source§

impl<'str, 'ctx> Value<'str, 'ctx> for VarnodeMutRef<'str, 'ctx>

Source§

fn id(&self) -> ValueId

The context-unique identifier for this value.
Source§

fn size(&self) -> usize

The size of this value’s output in bytes, or 0 for non-data values (terminators, blocks, functions).
Source§

impl<'s, 'ctx: 's, 'str: 'ctx> WithCtx<'s, 's, 'str> for VarnodeMutRef<'str, 'ctx>

Source§

fn ctx(&'s self) -> &'s Context<'str>

Source§

impl<'s, 'ctx: 's, 'str: 'ctx> WithShared<'s, 's, 'str> for VarnodeMutRef<'str, 'ctx>

Source§

fn shared(&'s self) -> &'s Shared<'str>