mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-02 07:48:16 +08:00
Merge branch 'GP-3151_ryanmkurtz_macho' into patch
This commit is contained in:
+5
@@ -46,6 +46,11 @@ public class DyldChainedStartsInImage implements StructConverter {
|
|||||||
ArrayList<DyldChainedStartsInSegment> starts = new ArrayList<>();
|
ArrayList<DyldChainedStartsInSegment> starts = new ArrayList<>();
|
||||||
for (int off : seg_info_offset) {
|
for (int off : seg_info_offset) {
|
||||||
|
|
||||||
|
// off == 0 means there is no associated starts_in_segment entry
|
||||||
|
if (off == 0) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
reader.setPointerIndex(ptrIndex + off);
|
reader.setPointerIndex(ptrIndex + off);
|
||||||
starts.add(new DyldChainedStartsInSegment(reader));
|
starts.add(new DyldChainedStartsInSegment(reader));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user