uwuwind/src/dwarf/mod.rs
2023-06-13 17:33:58 +02:00

16 lines
552 B
Rust

//! this implements the stuff necessary to get the uwutables for actual unwinding
//!
//! for this we need a DWARF parser and a DWARF call frame information interpreter (yes, that shit is basically a programming
//! language). See https://dwarfstd.org/doc/DWARF5.pdf for more information if more information is desired.
mod divination;
mod parse;
pub use divination::{dwarf_info, DwarfInfo};
pub unsafe fn uwutables(eh_frame: *const u8) {
trace!("getting uwutables from {:p}", eh_frame);
unsafe {
parse::parse_cie(eh_frame);
}
}