Skip to content

Instantly share code, notes, and snippets.

View in7egral's full-sized avatar

Vladimir Putin in7egral

  • IRT
  • World
View GitHub Profile
# IDA Python RTTI parser ~pod2g 06/2013
# Porting to the IDA and some new features ~in7egral 05/2024
from idaapi import *
from idc import *
# TODO: test on 64bit !!!
addr_size = 4
code_seg = code_seg_end = 0
from idc import *
from idaapi import *
def getSysctlSegment():
addr = 0
seg = SegByName("__sysctl_set")
if seg != BADADDR:
addr = SegByBase(seg)
return addr