mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-02-18 08:30:11 +00:00
Merge remote-tracking branch 'origin/GP-3376_NullForceUnion' into
Ghidra_10.3 (Closes #5232)
This commit is contained in:
commit
0085e15971
@ -128,6 +128,10 @@ public class ForceUnionAction extends AbstractDecompilerAction {
|
||||
int opcode = accessOp.getOpcode();
|
||||
if (opcode == PcodeOp.PTRSUB) {
|
||||
parentDt = typeIsUnionRelated(accessOp.getInput(0));
|
||||
if (parentDt == null) {
|
||||
accessOp = null;
|
||||
return;
|
||||
}
|
||||
accessVn = accessOp.getInput(0);
|
||||
accessSlot = 0;
|
||||
if (accessOp.getInput(1).getOffset() == 0) { // Artificial op
|
||||
|
Loading…
Reference in New Issue
Block a user