IDAPython 8.4
Loading...
Searching...
No Matches
macro_constructor_t Class Reference

Proxy of C++ macro_constructor_t class.

Inheritance diagram for macro_constructor_t:

Public Member Functions

"bool" build_macro (self, *args)
 build_macro(self, insn, may_go_forward) -> bool Try to extend the instruction.
 
 __init__ (self, *args)
 init(self) -> macro_constructor_t
 
 __disown__ (self)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
 reserved = property(_ida_ua.macro_constructor_t_reserved_get, _ida_ua.macro_constructor_t_reserved_set, doc=)
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
* args )
Parameters
selfPyObject *

Member Function Documentation

◆ __disown__()

__disown__ ( self)

◆ build_macro()

"bool" build_macro ( self,
* args )
Parameters
insn(C++: insn_t *) Instruction to modify, usually the first instruction of the macro
may_go_forward(C++: bool) Is it ok to consider the next instruction for the macro? This argument may be false, for example, if there is a cross reference to the end of INSN. In this case creating a macro is not desired. However, it may still be useful to perform minor tweaks to the instruction using the information about the surrounding instructions.
Returns
: true if created an macro instruction. This function may modify 'insn' and return false; these changes will be accepted by the kernel but the instruction will not be considered as a macro.

Property Documentation

◆ reserved

reserved = property(_ida_ua.macro_constructor_t_reserved_get, _ida_ua.macro_constructor_t_reserved_set, doc=)
static

◆ thisown

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

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