From b8ea5bf9babe6f55fa92537f2f583b44cfa503f2 Mon Sep 17 00:00:00 2001 From: MS <disinvite@users.noreply.github.com> Date: Mon, 27 May 2024 03:22:10 -0400 Subject: [PATCH] Fix missing float constants (#959) --- tools/isledecomp/isledecomp/compare/core.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/isledecomp/isledecomp/compare/core.py b/tools/isledecomp/isledecomp/compare/core.py index b49600d0..8e93a828 100644 --- a/tools/isledecomp/isledecomp/compare/core.py +++ b/tools/isledecomp/isledecomp/compare/core.py @@ -103,6 +103,11 @@ class Compare: res = CvdumpAnalysis(cv) for sym in res.nodes: + # Skip nodes where we have almost no information. + # These probably came from SECTION CONTRIBUTIONS. + if sym.name() is None and sym.node_type is None: + continue + # The PDB might contain sections that do not line up with the # actual binary. The symbol "__except_list" is one example. # In these cases, just skip this symbol and move on because