Environment
Steps to Reproduce
- Compile Android arm64 code with -mbranch-protection=pac-ret
- dump_syms the-built-ELF > symfile
Expected Result
STACK CFI INIT 1c7c 58 .cfa: sp 0 + .ra: x30
STACK CFI 1c8c .cfa: x29 16 + .ra: .cfa -8 + ^ x29: .cfa -16 + ^
Actual Result
STACK CFI INIT 1c7c 58 .cfa: sp 0 +
Problem
STACK CFI INIT line does not contain .ra and probably because of that, STACK CFI line is not written.
I think https://github.com/gimli-rs/gimli probably parses Dwarf correctly and extracts Pointer Authentication instructions as UnknownCallFrameInstruction(DwCfa(45)).
Environment
Steps to Reproduce
Expected Result
Actual Result
Problem
STACK CFI INITline does not contain.raand probably because of that,STACK CFIline is not written.I think https://github.com/gimli-rs/gimli probably parses Dwarf correctly and extracts Pointer Authentication instructions as
UnknownCallFrameInstruction(DwCfa(45)).