mirror of
https://github.com/NationalSecurityAgency/ghidra
synced 2024-08-27 21:10:26 +00:00
Merge branch 'GP-0_ryanmkurtz_PR-6414_haarlaj_mz-source-fix'
This commit is contained in:
commit
96ff764a43
|
@ -294,10 +294,12 @@ public class MzLoader extends AbstractLibrarySupportLoader {
|
|||
// split here and join to previous
|
||||
Address splitAddr = offAddr.add(1);
|
||||
String oldName = block.getName();
|
||||
String oldSourceName = block.getSourceName();
|
||||
memory.split(block, splitAddr);
|
||||
memory.join(blocks[i - 1], blocks[i]);
|
||||
blocks = memory.getBlocks();
|
||||
blocks[i].setName(oldName);
|
||||
blocks[i].setSourceName(oldSourceName);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue