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

Public Member Functions

bool __eq__ (self, 'funcarg_t' r)
 
bool __ne__ (self, 'funcarg_t' r)
 
 __init__ (self, *args)
 

Static Public Attributes

str argloc
 
str name
 
str cmt
 
str type
 
str flags
 

Properties

 thisown
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
* args )
Create a function argument, with the specified name and type.

This constructor has the following signatures:

1. funcarg_t(name: str, type, argloc: argloc_t)
2. funcarg_t(funcarg: funcarg_t)

In the 1st form, the 'type' descriptor, can be one of:

* type_t: if the type is simple (integral/floating/bool). E.g., `BTF_INT`
* tinfo_t: can handle more complex types (structures, pointers, arrays, ...)
* str: a C type declaration

If an input argument is incorrect, the constructor may raise an exception

@param name a valid argument name. May not be empty (1st form).
@param type the member type (1st form).
@param argloc the argument location. Can be empty (1st form).
@param funcarg a funcarg_t to copy

Member Function Documentation

◆ __eq__()

bool __eq__ ( self,
'funcarg_t' r )

◆ __ne__()

bool __ne__ ( self,
'funcarg_t' r )

Member Data Documentation

◆ argloc

str argloc
static
Initial value:
= property(_ida_typeinf.funcarg_t_argloc_get,
_ida_typeinf.funcarg_t_argloc_set)

◆ cmt

str cmt
static
Initial value:
= property(_ida_typeinf.funcarg_t_cmt_get, _ida_typeinf.
funcarg_t_cmt_set)

◆ flags

str flags
static
Initial value:
= property(_ida_typeinf.funcarg_t_flags_get,
_ida_typeinf.funcarg_t_flags_set)

◆ name

str name
static
Initial value:
= property(_ida_typeinf.funcarg_t_name_get,
_ida_typeinf.funcarg_t_name_set)

◆ type

str type
static
Initial value:
= property(_ida_typeinf.funcarg_t_type_get,
_ida_typeinf.funcarg_t_type_set)

Property Documentation

◆ 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: