IDA C++ SDK 9.2
Loading...
Searching...
No Matches

Convenience functions offered by the user interface. More...

Functions

ea_t idaapi get_tev_ea (int n)
int idaapi get_tev_type (int n)
int idaapi get_tev_tid (int n)
void idaapi bring_debugger_to_front (void)
void idaapi get_manual_regions (meminfo_vec_t *ranges)
void idaapi set_manual_regions (const meminfo_vec_t *ranges)
void idaapi edit_manual_regions ()
void idaapi enable_manual_regions (bool enable)
int idaapi handle_debug_event (const debug_event_t *ev, int rqflags)
bool idaapi add_virt_module (const modinfo_t *mod)
bool idaapi del_virt_module (const ea_t base)
int idaapi internal_get_sreg_base (ea_t *answer, thid_t tid, int sreg_value)
int idaapi internal_ioctl (int fn, const void *buf, size_t size, void **poutbuf, ssize_t *poutsize)
int idaapi get_reg_vals (thid_t tid, int clsmask, regval_t *values)
int idaapi set_reg_val (thid_t tid, int regidx, const regval_t *value)
int idaapi get_dbg_memory_info (meminfo_vec_t *ranges)
bool idaapi set_bpt_group (bpt_t &bpt, const char *grp_name)
 Move a bpt into a folder in the breakpoint dirtree if the folder didn't exists, it will be created.
bool idaapi set_bptloc_group (const bpt_location_t &bptloc, const char *grp_name)
 Move a bpt into a folder in the breakpoint dirtree based on the bpt_location find_bpt is called to retrieve the bpt and then set_bpt_group if the folder didn't exists, it will be created.
bool idaapi get_bpt_group (qstring *grp_name, const bpt_location_t &bptloc)
 Retrieve the absolute path to the folder of the bpt based on the bpt_location find_bpt is called to retrieve the bpt.
size_t idaapi list_bptgrps (qstrvec_t *bptgrps)
 Retrieve the list of absolute path of all folders of bpt dirtree.
bool idaapi rename_bptgrp (const char *old_name, const char *new_name)
 Rename a folder of bpt dirtree.
bool idaapi del_bptgrp (const char *name)
 Delete a folder, bpt that were part of this folder are moved to the root folder.
ssize_t idaapi get_grp_bpts (bpt_vec_t *bpts, const char *grp_name)
 Retrieve a copy the bpts stored in a folder.
int idaapi enable_bptgrp (const char *bptgrp_name, bool enable=true)
 Enable (or disable) all bpts in a folder.
bool idaapi get_local_vars (srcinfo_provider_t *prov, ea_t ea, source_items_t *out)
bool idaapi srcdbg_request_step_into (void)
bool idaapi srcdbg_request_step_over (void)
bool idaapi srcdbg_request_step_until_ret (void)

Detailed Description

Convenience functions offered by the user interface.

Function Documentation

◆ get_tev_ea()

ea_t idaapi get_tev_ea ( int n)
inline

◆ get_tev_type()

int idaapi get_tev_type ( int n)
inline

◆ get_tev_tid()

int idaapi get_tev_tid ( int n)
inline

◆ bring_debugger_to_front()

void idaapi bring_debugger_to_front ( void )
inline

◆ get_manual_regions()

void idaapi get_manual_regions ( meminfo_vec_t * ranges)
inline

◆ set_manual_regions()

void idaapi set_manual_regions ( const meminfo_vec_t * ranges)
inline

◆ edit_manual_regions()

void idaapi edit_manual_regions ( )
inline

◆ enable_manual_regions()

void idaapi enable_manual_regions ( bool enable)
inline

◆ handle_debug_event()

int idaapi handle_debug_event ( const debug_event_t * ev,
int rqflags )
inline

◆ add_virt_module()

bool idaapi add_virt_module ( const modinfo_t * mod)
inline

◆ del_virt_module()

bool idaapi del_virt_module ( const ea_t base)
inline

◆ internal_get_sreg_base()

int idaapi internal_get_sreg_base ( ea_t * answer,
thid_t tid,
int sreg_value )
inline

◆ internal_ioctl()

int idaapi internal_ioctl ( int fn,
const void * buf,
size_t size,
void ** poutbuf,
ssize_t * poutsize )
inline

◆ get_reg_vals()

int idaapi get_reg_vals ( thid_t tid,
int clsmask,
regval_t * values )
inline

◆ set_reg_val()

int idaapi set_reg_val ( thid_t tid,
int regidx,
const regval_t * value )
inline

◆ get_dbg_memory_info()

int idaapi get_dbg_memory_info ( meminfo_vec_t * ranges)
inline

◆ set_bpt_group()

bool idaapi set_bpt_group ( bpt_t & bpt,
const char * grp_name )
inline

Move a bpt into a folder in the breakpoint dirtree if the folder didn't exists, it will be created.

TypeSynchronous function
Notificationnone (synchronous function)
Parameters
bptbpt that will be moved
grp_nameabsolute path to the breakpoint dirtree folder
Returns
success

◆ set_bptloc_group()

bool idaapi set_bptloc_group ( const bpt_location_t & bptloc,
const char * grp_name )
inline

Move a bpt into a folder in the breakpoint dirtree based on the bpt_location find_bpt is called to retrieve the bpt and then set_bpt_group if the folder didn't exists, it will be created.

TypeSynchronous function
Notificationnone (synchronous function)
Parameters
bptlocbptlocation of the bpt that will be moved
grp_nameabsolute path to the breakpoint dirtree folder
Returns
success

◆ get_bpt_group()

bool idaapi get_bpt_group ( qstring * grp_name,
const bpt_location_t & bptloc )
inline

Retrieve the absolute path to the folder of the bpt based on the bpt_location find_bpt is called to retrieve the bpt.

TypeSynchronous function
Notificationnone (synchronous function)
Parameters
[out]grp_nameabsolute path to the breakpoint dirtree folder, can be null
bptlocbptlocation of the bpt
Returns
success
Return values
truebreakpoint correclty moved to the directory

◆ list_bptgrps()

size_t idaapi list_bptgrps ( qstrvec_t * bptgrps)
inline

Retrieve the list of absolute path of all folders of bpt dirtree.

TypeSynchronous function
Notificationnone (synchronous function)
Parameters
[out]bptgrpslist of absolute path in the bpt dirtree
Returns
number of folders returned

◆ rename_bptgrp()

bool idaapi rename_bptgrp ( const char * old_name,
const char * new_name )
inline

Rename a folder of bpt dirtree.

TypeSynchronous function
Notificationnone (synchronous function)
Parameters
old_nameabsolute path to the folder to be renamed
new_nameabsolute path of the new folder name
Returns
success

◆ del_bptgrp()

bool idaapi del_bptgrp ( const char * name)
inline

Delete a folder, bpt that were part of this folder are moved to the root folder.

TypeSynchronous function
Notificationnone (synchronous function)
Parameters
namefull path to the folder to be deleted
Returns
success

◆ get_grp_bpts()

ssize_t idaapi get_grp_bpts ( bpt_vec_t * bpts,
const char * grp_name )
inline

Retrieve a copy the bpts stored in a folder.

TypeSynchronous function
Notificationnone (synchronous function)
Parameters
[out]bpts: pointer to a vector where the copy of bpts are stored
grp_nameabsolute path to the folder
Returns
number of bpts present in the vector

◆ enable_bptgrp()

int idaapi enable_bptgrp ( const char * bptgrp_name,
bool enable = true )
inline

Enable (or disable) all bpts in a folder.

TypeSynchronous function
Notificationnone (synchronous function)
Parameters
bptgrp_nameabsolute path to the folder
enableby default true, enable bpts, false disable bpts
Return values
-1an error occured
0no changes
>0nubmers of bpts udpated

◆ get_local_vars()

bool idaapi get_local_vars ( srcinfo_provider_t * prov,
ea_t ea,
source_items_t * out )
inline

◆ srcdbg_request_step_into()

bool idaapi srcdbg_request_step_into ( void )
inline

◆ srcdbg_request_step_over()

bool idaapi srcdbg_request_step_over ( void )
inline

◆ srcdbg_request_step_until_ret()

bool idaapi srcdbg_request_step_until_ret ( void )
inline