Skip to content

Commit

Permalink
Fix crash triggered by running on an outdated pdb
Browse files Browse the repository at this point in the history
  • Loading branch information
jonschz committed Mar 4, 2025
1 parent 4350c24 commit cb94140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reccmp/isledecomp/compare/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ def _match_thunks(self):
# Now match the thunks from orig where we can.
for orig_thunk, orig_addr in self.orig_bin.thunks:
orig_func = self._db.get_by_orig(orig_addr)
if orig_func is None:
if orig_func is None or orig_func.recomp_addr is None:
continue

# Check whether the thunk destination is a matched symbol
Expand Down

0 comments on commit cb94140

Please sign in to comment.