Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad BinOpBitAnd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If NameLoad body AugAssignBitOr AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse AugAssignBitAnd AttributeStore AttributeLoad NameLoad attr attr UnaryOpInvert AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call NameLoad BinOpBitAnd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If NameLoad body AugAssignBitOr AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse AugAssignBitAnd AttributeStore AttributeLoad NameLoad attr attr UnaryOpInvert AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call NameLoad BinOpBitAnd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If NameLoad body AugAssignBitOr AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse AugAssignBitAnd AttributeStore AttributeLoad NameLoad attr attr UnaryOpInvert AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr TupleLoad IfExp AttributeLoad NameLoad attr Str Str IfExp AttributeLoad NameLoad attr Str Str IfExp AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Dict Num Num Num Num Num Num Assign NameStore Dict Num Num Num Num Num Num ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str If CompareGt Call NameLoad TupleLoad CompareNotIn NameLoad TupleLoad AttributeLoad NameLoad attr NameLoad CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad Num body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad NameLoad NameLoad orelse If CompareIsNot NameLoad NameLoad body Assign NameStore NameLoad orelse If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse If CompareIs NameLoad NameLoad body Raise Call NameLoad Str orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Raise Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareLtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args defaults body For NameStore Call NameLoad Call AttributeLoad NameLoad attr body Expr Yield Call NameLoad keyword NameLoad decorator_list
N/A N/A idc N/A idaapi N/A idautils function functions line lines N/A exceptions Comments N/A object N/A __init__ N/A N/A self segment N/A N/A N/A N/A N/A N/A super Comments self __init__ N/A N/A self _segment segment N/A regular N/A N/A self N/A N/A N/A N/A N/A idaapi get_segment_cmt N/A self _segment False N/A property regular N/A N/A self comment N/A N/A N/A N/A N/A idaapi set_segment_cmt N/A self _segment comment False N/A N/A regular setter repeat N/A N/A self N/A N/A N/A N/A N/A idaapi get_segment_cmt N/A self _segment True N/A property repeat N/A N/A self comment N/A N/A N/A N/A N/A idaapi set_segment_cmt N/A self _segment comment True N/A N/A repeat setter N/A SegmentPermissions N/A object N/A __init__ N/A N/A self segment_t N/A N/A N/A N/A N/A N/A super SegmentPermissions self __init__ N/A N/A self _segment segment_t N/A x N/A N/A self N/A N/A N/A N/A bool N/A N/A N/A self _segment perm N/A idaapi SEGPERM_EXEC N/A property x N/A N/A self value N/A N/A N/A value N/A N/A N/A N/A self _segment perm N/A idaapi SEGPERM_EXEC N/A N/A N/A N/A self _segment perm N/A N/A idaapi SEGPERM_EXEC N/A N/A x setter w N/A N/A self N/A N/A N/A N/A bool N/A N/A N/A self _segment perm N/A idaapi SEGPERM_WRITE N/A property w N/A N/A self value N/A N/A N/A value N/A N/A N/A N/A self _segment perm N/A idaapi SEGPERM_WRITE N/A N/A N/A N/A self _segment perm N/A N/A idaapi SEGPERM_WRITE N/A N/A w setter r N/A N/A self N/A N/A N/A N/A bool N/A N/A N/A self _segment perm N/A idaapi SEGPERM_READ N/A property r N/A N/A self value N/A N/A N/A value N/A N/A N/A N/A self _segment perm N/A idaapi SEGPERM_READ N/A N/A N/A N/A self _segment perm N/A N/A idaapi SEGPERM_READ N/A N/A r setter N/A execute x N/A write w N/A read r __str__ N/A N/A self N/A N/A N/A N/A N/A join N/A N/A N/A self r R N/A N/A self w W N/A N/A self x X N/A __repr__ N/A N/A self N/A N/A N/A N/A N/A <SegmentPermissions(read={}, write={}, execute={})> format N/A self r N/A self w N/A self x N/A N/A Segment N/A object N/A N/A BITNESS_TO_BITS N/A 0 1 2 16 32 64 N/A BITS_TO_BITNESS N/A 16 32 64 0 1 2 UseCurrentAddress N/A object N/A N/A N/A __init__ N/A N/A self ea name index segment_t N/A UseCurrentAddress None None None N/A N/A Wrapper around IDA segments.

        There are 3 ways to get a segment - by name, ea or index. Only use one.

        Args:
            ea - address in the segment
            name - name of the segment
            index - index of the segment
         N/A N/A N/A sum N/A N/A ea N/A N/A self UseCurrentAddress None N/A name None N/A index None N/A segment_t None 1 N/A N/A N/A ValueError N/A N/A Expected only one (ea, name, index or segment_t). Got (ea={!r}, name={!r}, index={!r}, segment_t={!r}) format ea name index segment_t N/A N/A N/A segment_t None N/A N/A seg segment_t N/A N/A N/A name None N/A N/A seg N/A N/A idaapi get_segm_by_name name N/A N/A N/A index None N/A N/A seg N/A N/A idaapi getnseg index N/A N/A N/A ea N/A self UseCurrentAddress N/A N/A seg N/A N/A idaapi getseg N/A N/A idc here N/A N/A N/A ea None N/A N/A N/A ValueError `None` is not a valid address. To use the current screen ea, use `Function(ea=Function.UseCurrentAddress)` or supply no `ea`. N/A N/A seg N/A N/A idaapi getseg ea N/A N/A self _segment seg N/A segment_t N/A N/A self N/A N/A N/A N/A self _segment N/A property permissions N/A N/A self N/A N/A N/A Segment permissions.

        Can be used to get or set the segment permissions (r/w/x).

        Returns:
            A `SegmentPermissions` object.
         N/A N/A SegmentPermissions N/A self segment_t N/A property startEA N/A N/A self N/A N/A N/A N/A N/A self _segment startEA N/A property N/A ea startEA endEA N/A N/A self N/A N/A N/A N/A N/A self _segment endEA N/A property name N/A N/A self N/A N/A N/A N/A N/A idaapi get_true_segm_name N/A self segment_t N/A property name N/A N/A self name N/A N/A N/A N/A N/A idaapi set_segm_name N/A self segment_t name N/A N/A name setter class_ N/A N/A self N/A N/A N/A N/A N/A idaapi get_segm_class N/A self segment_t N/A property class_ N/A N/A self value N/A N/A N/A N/A N/A idaapi set_segm_class N/A self segment_t value N/A N/A class_ setter functions N/A N/A self N/A N/A N/A Iterate all functions in the segment. N/A N/A functions N/A self startEA N/A self endEA N/A property lines N/A N/A self N/A N/A N/A Iterate all lines in the segment. N/A N/A lines N/A self startEA N/A self endEA N/A property bitness N/A N/A self N/A N/A N/A Segment's Bitness.

        Can be 16, 32 or 64.
         N/A N/A N/A self BITNESS_TO_BITS N/A N/A N/A self segment_t bitness N/A property bitness N/A N/A self bits N/A N/A N/A N/A N/A N/A N/A self segment_t bitness N/A N/A self BITS_TO_BITNESS N/A bits N/A N/A N/A KeyError N/A N/A N/A N/A exceptions InvalidBitness N/A N/A Got {}. Expecting 16, 32 or 64. format bits N/A N/A bitness setter next N/A N/A self N/A N/A N/A Get the next segment. N/A seg N/A Segment segment_t N/A N/A idaapi get_next_seg N/A self ea N/A N/A N/A seg ea N/A self ea N/A N/A N/A N/A exceptions NoMoreSegments This is the last segment. No segments exist after it. N/A seg N/A property prev N/A N/A self N/A N/A N/A Get the previous segment. N/A seg N/A Segment segment_t N/A N/A idaapi get_prev_seg N/A self ea N/A N/A N/A seg ea N/A self ea N/A N/A N/A N/A exceptions NoMoreSegments This is the first segment. no segments exist before it. N/A seg N/A property comments N/A N/A self N/A N/A N/A N/A Comments N/A self segment_t N/A property size N/A N/A self N/A N/A N/A N/A N/A self endEA N/A self startEA N/A property __repr__ N/A N/A self N/A N/A N/A N/A N/A <Segment(ea=0x{:08X}, name={!r}, size=0x{:08X}, permissions={!r}, bitness={})> format N/A self ea N/A self name N/A self size N/A str N/A self permissions N/A self bitness N/A N/A segments N/A N/A N/A N/A N/A index N/A xrange N/A N/A idaapi get_segm_qty N/A N/A N/A N/A Segment index index N/A