Queue: also skip the compiler's import thunks and unwind funclets (0x6BAB3A-0x6BB9AC)

This commit is contained in:
KeelrLeek committed 2026-10-05 14:34:03 -05:00
1 parent 4da2eb93e3
commit 3f32d0eb3e
1 file changed
+2 -1
+2 -1
View File
@@ -119,7 +119,8 @@ class FunctionQueue:
return []
with open(path, encoding="utf-8") as f:
return [(int(r["start"], 16), int(r["end"], 16)) for r in csv.DictReader(f)
if r.get("verdict", "").startswith("D3DX")]
if r.get("verdict", "").startswith("D3DX") or "stubs" in r.get("verdict", "")]
# the D3DX9 block, and the compiler's import thunks and exception-unwind funclets: nothing to decompile
def is_library(self, addr, library, ranges):
return addr in library or any(lo <= addr < hi for lo, hi in ranges)