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

Public Member Functions

 __init__ (self, 'merge_data_t' _md, str _label, 'merge_kind_t' _kind, 'merge_kind_t' _insert_after, int _mh_flags)
 
bool ui_has_details (self, *args)
 
bool ui_complex_details (self, *args)
 
bool ui_complex_name (self, *args)
 
'char' ui_split_char (self, *args)
 
str ui_split_str (self, *args)
 
bool ui_dp_shortname (self, *args)
 
bool ui_linediff (self, *args)
 
bool ui_indent (self, *args)
 

Static Public Attributes

str md = property(_ida_merge.merge_handler_params_t_md_get)
 
str label
 
str kind
 
str insert_after
 
str mh_flags
 

Properties

 thisown
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
'merge_data_t' _md,
str _label,
'merge_kind_t' _kind,
'merge_kind_t' _insert_after,
int _mh_flags )

Member Function Documentation

◆ ui_complex_details()

bool ui_complex_details ( self,
* args )
This function has the following signatures:

0. ui_complex_details() -> bool
1. ui_complex_details(_mh_flags: int) -> bool

# 0: ui_complex_details() -> bool


# 1: ui_complex_details(_mh_flags: int) -> bool

Do not display the diffpos details in the chooser. For example, the MERGE_KIND_SCRIPTS handler puts the script body as the diffpos detail. It would not be great to show them as part of the chooser. 

◆ ui_complex_name()

bool ui_complex_name ( self,
* args )
This function has the following signatures:

0. ui_complex_name() -> bool
1. ui_complex_name(_mh_flags: int) -> bool

# 0: ui_complex_name() -> bool


# 1: ui_complex_name(_mh_flags: int) -> bool

It customary to create long diffpos names having many components that are separated by any 7-bit ASCII character (besides of '\\0'). In this case it is possible to instruct IDA to use this separator to create a multi-column chooser. For example the MERGE_KIND_ENUMS handler has the following diffpos name: enum_1,enum_2 If MH_UI_COMMANAME is specified, IDA will create 2 columns for these names. 

◆ ui_dp_shortname()

bool ui_dp_shortname ( self,
* args )
This function has the following signatures:

0. ui_dp_shortname() -> bool
1. ui_dp_shortname(_mh_flags: int) -> bool

# 0: ui_dp_shortname() -> bool


# 1: ui_dp_shortname(_mh_flags: int) -> bool

The detail pane shows the diffpos details for the current diffpos range as a tree-like view. In this pane the diffpos names are used as tree node names and the diffpos details as their children. Sometimes, for complex diffpos names, the first part of the name looks better than the entire name. For example, the MERGE_KIND_SEGMENTS handler has the following diffpos name: <range>,<segm1>,<segm2>,<segm3> if MH_UI_DP_SHORTNAME is specified, IDA will use <range> as a tree node name 

◆ ui_has_details()

bool ui_has_details ( self,
* args )
This function has the following signatures:

0. ui_has_details() -> bool
1. ui_has_details(_mh_flags: int) -> bool

# 0: ui_has_details() -> bool


# 1: ui_has_details(_mh_flags: int) -> bool

Should IDA display the diffpos detail pane?

◆ ui_indent()

bool ui_indent ( self,
* args )
This function has the following signatures:

0. ui_indent() -> bool
1. ui_indent(_mh_flags: int) -> bool

# 0: ui_indent() -> bool


# 1: ui_indent(_mh_flags: int) -> bool

In the ordinary situation the spaces from the both sides of diffpos name are trimmed. Use this UI hint to preserve the leading spaces. 

◆ ui_linediff()

bool ui_linediff ( self,
* args )
This function has the following signatures:

0. ui_linediff() -> bool
1. ui_linediff(_mh_flags: int) -> bool

# 0: ui_linediff() -> bool


# 1: ui_linediff(_mh_flags: int) -> bool

In detail pane IDA shows difference between diffpos details. IDA marks added or deleted detail by color. In the modified detail the changes are marked. Use this UI hint if you do not want to show the differences inside detail. 

◆ ui_split_char()

'char' ui_split_char ( self,
* args )
This function has the following signatures:

0. ui_split_char() -> char
1. ui_split_char(_mh_flags: int) -> char

# 0: ui_split_char() -> char


# 1: ui_split_char(_mh_flags: int) -> char

◆ ui_split_str()

str ui_split_str ( self,
* args )
This function has the following signatures:

0. ui_split_str() -> str
1. ui_split_str(_mh_flags: int) -> str

# 0: ui_split_str() -> str


# 1: ui_split_str(_mh_flags: int) -> str

Member Data Documentation

◆ insert_after

str insert_after
static
Initial value:
= property(_ida_merge.
merge_handler_params_t_insert_after_get, _ida_merge.
merge_handler_params_t_insert_after_set)

◆ kind

str kind
static
Initial value:
= property(_ida_merge.
merge_handler_params_t_kind_get, _ida_merge.
merge_handler_params_t_kind_set)

◆ label

str label
static
Initial value:
= property(_ida_merge.merge_handler_params_t_label_get,
_ida_merge.merge_handler_params_t_label_set)

◆ md

str md = property(_ida_merge.merge_handler_params_t_md_get)
static

◆ mh_flags

str mh_flags
static
Initial value:
= property(_ida_merge.
merge_handler_params_t_mh_flags_get, _ida_merge.
merge_handler_params_t_mh_flags_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: