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