pub fn unwind_thread(
reader: &dyn MemoryReader,
initial_state: &ThreadState,
cpu_type: CpuType,
images: &mut [BinaryImageInfo],
) -> Vec<(u64, RegisterContext)>Expand description
Unwinds a single thread, producing a list of (PC, register context) pairs from top of stack to bottom.
§Arguments
reader— Memory reader for the target process.initial_state— Register state of the thread.cpu_type— CPU type of the process.images— Binary images loaded in the process (sections resolved lazily).