From 5e51ca0f803219aed9df0fd7c07428bd8bcfad03 Mon Sep 17 00:00:00 2001 From: GoD-Tony Date: Sat, 12 Dec 2015 22:01:21 +0100 Subject: [PATCH] Update IDA vtable dump script A small fix to work with multiple versions of IDA x86 & x64 --- tools/ida_scripts/vtable_dump.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ida_scripts/vtable_dump.py b/tools/ida_scripts/vtable_dump.py index 1f5bd52e..b44efd59 100644 --- a/tools/ida_scripts/vtable_dump.py +++ b/tools/ida_scripts/vtable_dump.py @@ -42,8 +42,8 @@ innerclass = "" classname = None offsetdata = {} -# Detect address size based on ScreenEA object -adr_size = (sys.getsizeof(ScreenEA()) - 8) +# Detect address size +adr_size = 8 if __EA64__ else 4 def ExtractTypeInfo(ea, level = 0): global catchclass