mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-25 17:00:36 -09:00
Merge branch 'GP-2802_ryanmkurtz_MachOProgramTree' into patch
(Closes #4724)
This commit is contained in:
@@ -427,8 +427,18 @@ public class MachoProgramBuilder {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (segmentFragment == null) {
|
||||
log.appendMsg("Could not find/fixup segment in Program Tree: " + segmentName);
|
||||
continue;
|
||||
}
|
||||
ProgramModule segmentModule = rootModule.createModule(segmentName);
|
||||
segmentModule.reparent(noSectionsName, rootModule);
|
||||
try {
|
||||
segmentModule.reparent(noSectionsName, rootModule);
|
||||
}
|
||||
catch (NotFoundException e) {
|
||||
log.appendException(e);
|
||||
continue;
|
||||
}
|
||||
|
||||
// Add the sections, which will remove overlapped ranges from the segment fragment
|
||||
for (Section section : segment.getSections()) {
|
||||
|
||||
Reference in New Issue
Block a user