GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — IDAScripts/dbg-loc-off.py at master · maiyao1988/IDAScripts

Expand file tree

/

dbg-loc-off.py

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
22 lines (16 loc) · 549 Bytes
/

dbg-loc-off.py

Copy path

File metadata and controls

22 lines (16 loc) · 549 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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.