Skip to content

Ghidra is a software reverse engineering (SRE) framework

Fix typo causing "hasRangeMatch" to always be true

GameCubeGBA1984e4671fbd
diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb/ApplyFunctions.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb/ApplyFunctions.java
index 5a4f3975b8..1573e36173 100644
--- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb/ApplyFunctions.java
+++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb/ApplyFunctions.java
@@ -112,7 +112,7 @@ class ApplyFunctions {
return null;
}
AddressSet thunkBody = new AddressSet(thunkFunction.getBody());
- boolean hasRangeMatch = true;
+ boolean hasRangeMatch = false;
AddressRangeIterator ari = thunkBody.getAddressRanges(true);
while (ari.hasNext()) {
if (monitor.isCancelled()) {