mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-01-09 22:17:55 -05:00
GP-5361 fix indexoutofboundsexception in decompiler code comparison
This commit is contained in:
@@ -231,13 +231,7 @@ public class DataGraph {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
boolean outCast = true;
|
||||
if ((out.sinks.size() == 1 && out.vn.isUnique()) || in.sources.size() == 0) {
|
||||
outCast = false;
|
||||
}
|
||||
|
||||
if (outCast) {
|
||||
if (in.sources.size() == 1 && in.sinks.size() == 1 && in.vn.isUnique()) {
|
||||
// PcodeOp defining CAST input, now defines CAST output
|
||||
// input is isolated
|
||||
DataVertex topOp = in.sources.get(0);
|
||||
|
||||
Reference in New Issue
Block a user