fix index table reference type

This commit was merged in pull request #193.
This commit is contained in:
2022-06-01 18:35:50 +08:00
parent 97a63ca8d0
commit e3ed41ff32
2 changed files with 7 additions and 7 deletions

View File

@@ -138,7 +138,7 @@ impl Library {
reloc::rebind(self.arch, self, name, addr as Elf32_Word)
}
pub fn exidx(&self) -> &[u32] {
pub fn exidx(&self) -> &[EXIDX_Entry] {
self.image.get_ref_slice_unchecked(&self.exidx)
}
}