forked from Keelrleek/Harbor
Queue: also skip the compiler's import thunks and unwind funclets (0x6BAB3A-0x6BB9AC)
This commit is contained in:
1 parent
4da2eb93e3
commit
3f32d0eb3e
1 file changed
+2
-1
+2
-1
@@ -119,7 +119,8 @@ class FunctionQueue:
|
|||||||
return []
|
return []
|
||||||
with open(path, encoding="utf-8") as f:
|
with open(path, encoding="utf-8") as f:
|
||||||
return [(int(r["start"], 16), int(r["end"], 16)) for r in csv.DictReader(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):
|
def is_library(self, addr, library, ranges):
|
||||||
return addr in library or any(lo <= addr < hi for lo, hi in ranges)
|
return addr in library or any(lo <= addr < hi for lo, hi in ranges)
|
||||||
|
|||||||
Reference in new issue
Block a user