Debian Codegraph @

third_party/rust/framehop/src/aarch64/pe.rs

raw
1 use super::arch::ArchAarch64;
2 use crate::pe::{PeSections, PeUnwinderError, PeUnwinding};
3 use crate::unwind_result::UnwindResult;
4
5 impl PeUnwinding for ArchAarch64 {
6 fn unwind_frame<F, D>(
7 _sections: PeSections<D>,
8 _address: u32,
9 _regs: &mut Self::UnwindRegs,
10 _is_first_frame: bool,
11 _read_stack: &mut F,
12 ) -> Result<UnwindResult<Self::UnwindRule>, PeUnwinderError>
13 where
14 F: FnMut(u64) -> Result<u64, ()>,
15 D: core::ops::Deref<Target = [u8]>,
16 {
17 Err(PeUnwinderError::Aarch64Unsupported)
18 }
19 }