pub fn parse(data: &'a [u8]) -> Result<Self, Error> {
        let header = CompactUnwindInfoHeader::parse(data)?;
        let global_opcodes = header.global_opcodes(data)?;
        let pages = header.pages(data)?;
        Ok(Self {
            data,
            global_opcodes,
            pages,
        })
    }
/// Create an [UnwindInfo] instance which wraps the raw bytes of a mach-O binary's
/// `__unwind_info` section. The data can have arbitrary alignment. The parsing done
/// in this function is minimal; it's basically just three bounds checks.
Create an [UnwindInfo] instance which wraps the raw bytes of a mach-O binary's
`__unwind_info` section. The data can have arbitrary alignment. The parsing done
in this function is minimal; it's basically just three bounds checks.
Create an [ UnwindInfo ] instance which wraps the raw bytes of a mach - O binary ' s ` __unwind_info ` section . The data can have arbitrary alignment . The parsing done in this function is minimal ; it ' s basically just three bounds checks .
pub fn parse(data: &'a [u8]) -> Result<Self, Error> {
        let header = CompactUnwindInfoHeader::parse(data)?;
        let global_opcodes = header.global_opcodes(data)?;
        let pages = header.pages(data)?;
        Ok(Self {
            data,
            global_opcodes,
            pages,
        })
    }
pub fn parse ( data : & ' a [ u8 ] ) -> Result < Self , Error > { let header = CompactUnwindInfoHeader :: parse ( data ) ? ; let global_opcodes = header . global_opcodes ( data ) ? ; let pages = header . pages ( data ) ? ; Ok ( Self { data , global_opcodes , pages , } ) }
Create an [UnwindInfo] instance which wraps the raw bytes of a mach-O binary's
`__unwind_info` section.
Create an [ UnwindInfo ] instance which wraps the raw bytes of a mach - O binary ' s ` __unwind_info ` section .
data
&'a [u8]
data
&'a [u8]