IDAPython 9.0
Loading...
Searching...
No Matches
func_t Class Reference
Inheritance diagram for func_t:
range_t

Public Member Functions

bool is_far (self)
 
bool does_return (self)
 
bool analyzed_sp (self)
 
bool need_prolog_analysis (self)
 
 __init__ (self, ida_idaapi.ea_t start=0, ida_idaapi.ea_t end=0, 'flags64_t' f=0)
 
'dynamic_wrapped_array_t< stkpnt_t >' __get_points__ (self)
 
'dynamic_wrapped_array_t< regvar_t >' __get_regvars__ (self)
 
'dynamic_wrapped_array_t< range_t >' __get_tails__ (self)
 
'dynamic_wrapped_array_t< ea_t >' __get_referers__ (self)
 
'dynamic_wrapped_array_t< regarg_t >' __get_regargs__ (self)
 
 addresses (self)
 
 code_items (self)
 
 data_items (self)
 
 head_items (self)
 
 not_tails (self)
 
 get_frame_object (self)
 
 get_name (self)
 
 get_prototype (self)
 
 __iter__ (self)
 
- Public Member Functions inherited from range_t
bool __eq__ (self, 'range_t' r)
 
bool __ne__ (self, 'range_t' r)
 
bool __lt__ (self, 'range_t' r)
 
bool __gt__ (self, 'range_t' r)
 
bool __le__ (self, 'range_t' r)
 
bool __ge__ (self, 'range_t' r)
 
int compare (self, 'range_t' r)
 
bool contains (self, *args)
 
bool overlaps (self, 'range_t' r)
 
None clear (self)
 
bool empty (self)
 
'asize_t' size (self)
 
None intersect (self, 'range_t' r)
 
None extend (self, ida_idaapi.ea_t ea)
 

Static Public Attributes

str flags
 
str frame
 
str frsize
 
str frregs
 
str argsize
 
str fpd
 
str color
 
str pntqty
 
str points
 
str regvarqty
 
str regvars
 
str regargqty
 
str regargs
 
str tailqty
 
str tails
 
str owner
 
str refqty
 
str referers
 
- Static Public Attributes inherited from range_t
str start_ea
 
str end_ea
 

Properties

 thisown
 
 frame_object = property(get_frame_object)
 
 name = property(get_name)
 
 prototype = property(get_prototype)
 
- Properties inherited from range_t
 thisown
 

Additional Inherited Members

- Protected Member Functions inherited from range_t
'size_t' _print (self, *args)
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
ida_idaapi.ea_t start = 0,
ida_idaapi.ea_t end = 0,
'flags64_t' f = 0 )

Reimplemented from range_t.

Member Function Documentation

◆ __get_points__()

'dynamic_wrapped_array_t< stkpnt_t >' __get_points__ ( self)

◆ __get_referers__()

'dynamic_wrapped_array_t< ea_t >' __get_referers__ ( self)

◆ __get_regargs__()

'dynamic_wrapped_array_t< regarg_t >' __get_regargs__ ( self)

◆ __get_regvars__()

'dynamic_wrapped_array_t< regvar_t >' __get_regvars__ ( self)

◆ __get_tails__()

'dynamic_wrapped_array_t< range_t >' __get_tails__ ( self)

◆ __iter__()

__iter__ ( self)
Alias for func_item_iterator_t(self).__iter__()

◆ addresses()

addresses ( self)
Alias for func_item_iterator_t(self).addresses()

◆ analyzed_sp()

bool analyzed_sp ( self)
Has SP-analysis been performed?

◆ code_items()

code_items ( self)
Alias for func_item_iterator_t(self).code_items()

◆ data_items()

data_items ( self)
Alias for func_item_iterator_t(self).data_items()

◆ does_return()

bool does_return ( self)
Does function return?

◆ get_frame_object()

get_frame_object ( self)
Retrieve the function frame, in the form of a structure
where frame offsets that are accessed by the program, as well
as areas for "saved registers" and "return address", are
represented by structure members.

If the function has no associated frame, return None

@return a ida_typeinf.tinfo_t object representing the frame, or None

◆ get_name()

get_name ( self)
Get the function name

@return the function name

◆ get_prototype()

get_prototype ( self)
Retrieve the function prototype.

Once you have obtained the prototype, you can:

* retrieve the return type through ida_typeinf.tinfo_t.get_rettype()
* iterate on the arguments using ida_typeinf.tinfo_t.iter_func()

If the function has no associated prototype, return None

@return a ida_typeinf.tinfo_t object representing the prototype, or None

◆ head_items()

head_items ( self)
Alias for func_item_iterator_t(self).head_items()

◆ is_far()

bool is_far ( self)
Is a far function?

◆ need_prolog_analysis()

bool need_prolog_analysis ( self)
Needs prolog analysis?

◆ not_tails()

not_tails ( self)
Alias for func_item_iterator_t(self).not_tails()

Member Data Documentation

◆ argsize

str argsize
static
Initial value:
= property(_ida_funcs.func_t_argsize_get, _ida_funcs
.func_t_argsize_set)

◆ color

str color
static
Initial value:
= property(_ida_funcs.func_t_color_get, _ida_funcs.
func_t_color_set)

◆ flags

str flags
static
Initial value:
= property(_ida_funcs.func_t_flags_get, _ida_funcs.
func_t_flags_set)

◆ fpd

str fpd
static
Initial value:
= property(_ida_funcs.func_t_fpd_get, _ida_funcs.
func_t_fpd_set)

◆ frame

str frame
static
Initial value:
= property(_ida_funcs.func_t_frame_get, _ida_funcs.
func_t_frame_set)

◆ frregs

str frregs
static
Initial value:
= property(_ida_funcs.func_t_frregs_get, _ida_funcs.
func_t_frregs_set)

◆ frsize

str frsize
static
Initial value:
= property(_ida_funcs.func_t_frsize_get, _ida_funcs.
func_t_frsize_set)

◆ owner

str owner
static
Initial value:
= property(_ida_funcs.func_t_owner_get, _ida_funcs.
func_t_owner_set)

◆ pntqty

str pntqty
static
Initial value:
= property(_ida_funcs.func_t_pntqty_get, _ida_funcs.
func_t_pntqty_set)

◆ points

points
static
Initial value:
= property(_ida_funcs.func_t_points_get,
_ida_funcs.func_t_points_set)

◆ referers

referers
static
Initial value:
= property(_ida_funcs.func_t_referers_get,
_ida_funcs.func_t_referers_set)

◆ refqty

str refqty
static
Initial value:
= property(_ida_funcs.func_t_refqty_get, _ida_funcs.
func_t_refqty_set)

◆ regargqty

str regargqty
static
Initial value:
= property(_ida_funcs.func_t_regargqty_get, _ida_funcs
.func_t_regargqty_set)

◆ regargs

regargs
static
Initial value:
= property(_ida_funcs.func_t_regargs_get,
_ida_funcs.func_t_regargs_set)

◆ regvarqty

str regvarqty
static
Initial value:
= property(_ida_funcs.func_t_regvarqty_get, _ida_funcs
.func_t_regvarqty_set)

◆ regvars

regvars
static
Initial value:
= property(_ida_funcs.func_t_regvars_get,
_ida_funcs.func_t_regvars_set)

◆ tailqty

str tailqty
static
Initial value:
= property(_ida_funcs.func_t_tailqty_get, _ida_funcs.
func_t_tailqty_set)

◆ tails

tails
static
Initial value:
= property(_ida_funcs.func_t_tails_get, _ida_funcs.
func_t_tails_set)

Property Documentation

◆ frame_object

frame_object = property(get_frame_object)
static

◆ name

name = property(get_name)
static

◆ prototype

prototype = property(get_prototype)
static

◆ thisown

thisown
static
Initial value:
= property(lambda x: x.this.own(), lambda x, v: x.this.own(v),
doc='The membership flag')

The documentation for this class was generated from the following file: