Returns an iterator to the function's relocation information.
(&self)
| 138 | |
| 139 | /// Returns an iterator to the function's relocation information. |
| 140 | pub fn relocations(&self) -> impl Iterator<Item = Relocation> + '_ { |
| 141 | self.buffer |
| 142 | .relocs() |
| 143 | .iter() |
| 144 | .map(|r| mach_reloc_to_reloc(r, &self.name_map)) |
| 145 | } |
| 146 | |
| 147 | /// Returns an iterator to the function's trap information. |
| 148 | pub fn traps<'a>( |