diff --git a/harbor/queue.py b/harbor/queue.py index a1fb749..2902608 100644 --- a/harbor/queue.py +++ b/harbor/queue.py @@ -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)