mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-01-09 14:08:03 -05:00
GP-0: Fix type behavior for Varnode (ANY)
This commit is contained in:
@@ -21,6 +21,7 @@ import java.util.Objects;
|
||||
import ghidra.pcode.emu.jit.analysis.JitType.*;
|
||||
import ghidra.pcode.emu.jit.op.JitCopyOp;
|
||||
import ghidra.pcode.emu.jit.op.JitPhiOp;
|
||||
import ghidra.program.model.pcode.Varnode;
|
||||
|
||||
/**
|
||||
* The behavior/requirement for an operand's type.
|
||||
@@ -177,6 +178,9 @@ public enum JitTypeBehavior {
|
||||
if (cls == void.class) {
|
||||
return null;
|
||||
}
|
||||
if (cls == Varnode.class) {
|
||||
return ANY;
|
||||
}
|
||||
if (cls.isPrimitive()) {
|
||||
throw new AssertionError();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user