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

Public Member Functions

 __init__ (self, *args, **kwargs)
 
None set_dbctx_ids (self, int local, int remote, int base)
 
int local_id (self)
 
int remote_id (self)
 
int base_id (self)
 
None add_event_handler (self, 'merge_handler_t *' handler)
 
None remove_event_handler (self, 'merge_handler_t *' handler)
 
ida_idaapi.ea_t get_block_head (self, 'diff_source_idx_t' idx, ida_idaapi.ea_t item_head)
 
bool setup_blocks (self, 'diff_source_idx_t' dst_idx, 'diff_source_idx_t' src_idx, 'diff_range_t const &' region)
 
bool has_existing_node (self, str nodename)
 
bool map_privrange_id (self, 'tid_t *' tid, ida_idaapi.ea_t ea, 'diff_source_idx_t' _from, 'diff_source_idx_t' to, bool strict=True)
 
bool map_tinfo (self, 'tinfo_t' tif, 'diff_source_idx_t' _from, 'diff_source_idx_t' to, bool strict=True)
 
int compare_merging_tifs (self, 'tinfo_t' tif1, 'diff_source_idx_t' diffidx1, 'tinfo_t' tif2, 'diff_source_idx_t' diffidx2)
 

Static Public Attributes

str dbctx_ids
 
str nbases
 
str ev_handlers
 
str item_block_locator
 
str last_udt_related_merger
 

Properties

 thisown
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
* args,
** kwargs )

Member Function Documentation

◆ add_event_handler()

None add_event_handler ( self,
'merge_handler_t *' handler )

◆ base_id()

int base_id ( self)

◆ compare_merging_tifs()

int compare_merging_tifs ( self,
'tinfo_t' tif1,
'diff_source_idx_t' diffidx1,
'tinfo_t' tif2,
'diff_source_idx_t' diffidx2 )
compare types from two databases 

@param tif1: type
@param diffidx1: database index, diff_source_idx_t
@param tif2: type
@param diffidx2: database index, diff_source_idx_t
@returns -1, 0, 1

◆ get_block_head()

ida_idaapi.ea_t get_block_head ( self,
'diff_source_idx_t' idx,
ida_idaapi.ea_t item_head )

◆ has_existing_node()

bool has_existing_node ( self,
str nodename )
check that node exists in any of databases

◆ local_id()

int local_id ( self)

◆ map_privrange_id()

bool map_privrange_id ( self,
'tid_t *' tid,
ida_idaapi.ea_t ea,
'diff_source_idx_t' _from,
'diff_source_idx_t' to,
bool strict = True )
map IDs of structures, enumerations and their members 

@param tid: item ID in TO database
@param ea: item ID to find counterpart
@param to: destination database index, diff_source_idx_t
@param strict: raise interr if could not map
@returns success

◆ map_tinfo()

bool map_tinfo ( self,
'tinfo_t' tif,
'diff_source_idx_t' _from,
'diff_source_idx_t' to,
bool strict = True )
migrate type, replaces type references into FROM database to references into TO database 

@param tif: type to migrate, will be cleared in case of fail
@param to: destination database index, diff_source_idx_t
@param strict: raise interr if could not map
@returns success

◆ remote_id()

int remote_id ( self)

◆ remove_event_handler()

None remove_event_handler ( self,
'merge_handler_t *' handler )

◆ set_dbctx_ids()

None set_dbctx_ids ( self,
int local,
int remote,
int base )

◆ setup_blocks()

bool setup_blocks ( self,
'diff_source_idx_t' dst_idx,
'diff_source_idx_t' src_idx,
'diff_range_t const &' region )

Member Data Documentation

◆ dbctx_ids

str dbctx_ids
static
Initial value:
= property(_ida_merge.merge_data_t_dbctx_ids_get,
_ida_merge.merge_data_t_dbctx_ids_set)

◆ ev_handlers

str ev_handlers
static
Initial value:
= property(_ida_merge.
merge_data_t_ev_handlers_get, _ida_merge.merge_data_t_ev_handlers_set)

◆ item_block_locator

str item_block_locator
static
Initial value:
= property(
_ida_merge.merge_data_t_item_block_locator_get, _ida_merge.
merge_data_t_item_block_locator_set)

◆ last_udt_related_merger

str last_udt_related_merger
static
Initial value:
= property(_ida_merge.
merge_data_t_last_udt_related_merger_get, _ida_merge.
merge_data_t_last_udt_related_merger_set)

◆ nbases

str nbases
static
Initial value:
= property(_ida_merge.merge_data_t_nbases_get, _ida_merge
.merge_data_t_nbases_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: