mirror of
https://github.com/Noratrieb/uwuwind.git
synced 2026-01-14 08:35:09 +01:00
16 lines
552 B
Rust
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);
|
|
}
|
|
}
|