mirror of
https://github.com/Noratrieb/uwuwind.git
synced 2026-01-14 08:35:09 +01:00
thanks chrisd
This commit is contained in:
parent
598ddadc6b
commit
18d980357d
1 changed files with 1 additions and 0 deletions
|
|
@ -332,6 +332,7 @@ impl InstrIter {
|
||||||
/// # Safety
|
/// # Safety
|
||||||
/// `data` must be a pointer to valid DWARF call frame information with a null terminator.
|
/// `data` must be a pointer to valid DWARF call frame information with a null terminator.
|
||||||
pub(super) unsafe fn new(data: *const u8) -> Self {
|
pub(super) unsafe fn new(data: *const u8) -> Self {
|
||||||
|
// SAFETY: uses random ass pointer
|
||||||
Self { data }
|
Self { data }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue