Trait deflect::DebugInfoProvider
source · pub unsafe trait DebugInfoProvider: Clone {
type Reader: Reader<Offset = usize>;
fn info_for(
&self,
fn_addr: u64
) -> Result<DebugInfo<'_, Self::Reader>, Error>;
}
Expand description
A source of debug info that can be trusted to correspond to the current executable.
Safety
Implementers of this trait must provide accurate debug info for this program.