pub fn call_evaluate<R: Reader<Offset = usize>, T: MemoryAccess>(
dwarf: &Dwarf<R>,
pc: u32,
expr: Expression<R>,
frame_base: Option<u64>,
unit: &Unit<R>,
die: &DebuggingInformationEntry<'_, '_, R>,
registers: &Registers,
mem: &mut T,
) -> Result<EvaluatorValue<R>>
Expand description
Will find the DIE representing the type can evaluate the variable.
Description:
dwarf
- A reference to gimli-rsDwarf
struct.pc
- A machine code address, usually the current code location.expr
- The expression to be evaluated.frame_base
- The frame base address value.unit
- A compilation unit which contains the given DIE.die
- The DIE the is used to find the DIE representing the type.registers
- A register struct for accessing the register values.mem
- A struct for accessing the memory of the debug target.
This function is used to find the DIE representing the type and then to evaluate the value of the given DIE>