|
@@ -18,7 +18,6 @@ import typing
|
|
|
import angr
|
|
|
import msgspec
|
|
|
|
|
|
-from . import vtable as vt_helpers
|
|
|
from .angr.vtable_disamb import VTableConstraintDict, VtableDisambiguator
|
|
|
from .types import ByteSequence, ByteSignature, Code, IntLiteral
|
|
|
|
|
@@ -207,8 +206,8 @@ class VirtualFunctionEntry(BaseEntry, tag="vfn"):
|
|
|
vtsym = bin.angr.loader.find_symbol(f"_ZTV{self.typename}")
|
|
|
if not vtsym:
|
|
|
raise ValueError(f"Could not find vtable symbol _ZTV{self.typename}")
|
|
|
- orig_vtable, *thunk_vtables = vt_helpers.get_vtables_from_address(bin, vtsym)
|
|
|
- win_vtable = vt_helpers.get_windows_vtables_from(bin, vtsym)
|
|
|
+ orig_vtable, *thunk_vtables = bin.vtable_disambiguator.get_vtables_from_address(vtsym)
|
|
|
+ win_vtable = bin.vtable_disambiguator.get_windows_vtables_from(vtsym)
|
|
|
|
|
|
sym = bin.angr.loader.find_symbol(self.symbol)
|
|
|
return {
|