This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from idc import * | |
from idaapi import * | |
def getSysctlSegment(): | |
addr = 0 | |
seg = SegByName("__sysctl_set") | |
if seg != BADADDR: | |
addr = SegByBase(seg) | |
return addr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |