mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-27 19:20:08 +08:00
GP-0: PR cleanup
This commit is contained in:
+2
-1
@@ -351,7 +351,7 @@ public class OmfFileHeader extends OmfRecord {
|
|||||||
header.groups.add(group);
|
header.groups.add(group);
|
||||||
}
|
}
|
||||||
else if (record instanceof OmfFixupRecord fixuprec) {
|
else if (record instanceof OmfFixupRecord fixuprec) {
|
||||||
if(lastDataBlock != null) {
|
if (lastDataBlock != null) {
|
||||||
fixuprec.setDataBlock(lastDataBlock);
|
fixuprec.setDataBlock(lastDataBlock);
|
||||||
header.fixup.add(fixuprec);
|
header.fixup.add(fixuprec);
|
||||||
}
|
}
|
||||||
@@ -370,6 +370,7 @@ public class OmfFileHeader extends OmfRecord {
|
|||||||
lastDataBlock = iterheader;
|
lastDataBlock = iterheader;
|
||||||
}
|
}
|
||||||
else if (record instanceof OmfUnsupportedRecord) {
|
else if (record instanceof OmfUnsupportedRecord) {
|
||||||
|
// TODO: Should we always set lastDataBlock to null?
|
||||||
if (record.getRecordType() == COMDAT) {
|
if (record.getRecordType() == COMDAT) {
|
||||||
lastDataBlock = null;
|
lastDataBlock = null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user