Ghidra is a software reverse engineering (SRE) framework
GP-3503 Minor cleanup
emteereb97b3ec5d51f
diff --git a/Ghidra/Features/Decompiler/ghidra_scripts/ShowConstantUse.java b/Ghidra/Features/Decompiler/ghidra_scripts/ShowConstantUse.javaindex 7d50f50b5a..adf4e50b64 100644--- a/Ghidra/Features/Decompiler/ghidra_scripts/ShowConstantUse.java+++ b/Ghidra/Features/Decompiler/ghidra_scripts/ShowConstantUse.java@@ -665,8 +665,7 @@ public class ShowConstantUse extends GhidraScript {// decompile function// look for call to this function// display call- @SuppressWarnings("unchecked")- ArrayList<PcodeOp> localDefUseList = (ArrayList<PcodeOp>) defUseList.clone();+ ArrayList<PcodeOp> localDefUseList = new ArrayList<PcodeOp>(defUseList);this.monitor.setMessage("Analyzing : " + refFunc.getName() + " for refs to " +addr + ":" + paramIndex);