GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — IDAScripts/dbg-loc-off.py at master · maiyao1988/IDAScripts Expand file tree/ Copy pathdbg-loc-off.pyMore file actions 22 lines (16 loc) · 549 Bytes / Copy pathdbg-loc-off.pyFile metadata and controls22 lines (16 loc) · 549 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 import idc import os somodule = AskStr('libcms.so', 'module name') off_str = AskStr('0x0', 'in hex') off = int(off_str, 16) modulebase = GetFirstModule() while (modulebase != None) and (GetModuleName(modulebase).find(somodule) == -1): modulebase = GetNextModule(modulebase) if modulebase == None: print ('failed to find module:' , somodule) else: abs_off = modulebase + off print ('module of %s base address is: 0x%08X'%(somodule, modulebase)) print("jump to 0x%08X"%abs_off) Jump(abs_off) # |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |