pub fn find_function_die<R: Reader<Offset = usize>>(
dwarf: &Dwarf<R>,
address: u32,
) -> Result<(UnitSectionOffset, UnitOffset)>
Expand description
Will find the DIE representing the searched function
Description:
dwarf
- A reference to gimli-rsDwarf
struct.address
- Used to find which function this machine code address belongs too.
This function will search DWARF for the function that the given machine code address belongs too.