mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-12-03 17:41:33 +00:00
Merge branch 'GP-0_ryanmkurtz_PR-5166_Gravelbones_omf_skip_comdat2'
This commit is contained in:
commit
1af765ef5c
@ -351,10 +351,8 @@ public class OmfFileHeader extends OmfRecord {
|
||||
header.groups.add(group);
|
||||
}
|
||||
else if (record instanceof OmfFixupRecord fixuprec) {
|
||||
if (lastDataBlock != null) {
|
||||
fixuprec.setDataBlock(lastDataBlock);
|
||||
header.fixup.add(fixuprec);
|
||||
}
|
||||
fixuprec.setDataBlock(lastDataBlock);
|
||||
header.fixup.add(fixuprec);
|
||||
}
|
||||
else if (record instanceof OmfEnumeratedData enumheader) {
|
||||
header.addEnumeratedBlock(enumheader);
|
||||
|
@ -198,6 +198,9 @@ public class OmfLoader extends AbstractProgramWrapperLoader {
|
||||
int method, index, locationType = -1;
|
||||
locAddress = null;
|
||||
|
||||
if(fixup.getDataBlock() == null) {
|
||||
continue; // If no data block don't try to fixup
|
||||
}
|
||||
try {
|
||||
if (subrec.isTargetThread()) {
|
||||
Subrecord rec = targetThreads[subrec.getFixThreadNum()];
|
||||
|
Loading…
Reference in New Issue
Block a user