Common interface to any structure containing images, i.e., processes. More...
#include <dcfg_api.H>
Public Member Functions | |
virtual UINT32 | get_image_ids (DCFG_ID_CONTAINER &image_ids) const =0 |
Get the set of image IDs. | |
virtual DCFG_IMAGE_CPTR | get_image_info (DCFG_ID image_id) const =0 |
Get access to data for an image. | |
![]() | |
virtual UINT32 | get_routine_ids (DCFG_ID_CONTAINER &node_ids) const =0 |
Get the set of routine IDs. | |
virtual DCFG_ROUTINE_CPTR | get_routine_info (DCFG_ID routine_id) const =0 |
Get access to data for a routine. | |
![]() | |
virtual UINT32 | get_loop_ids (DCFG_ID_CONTAINER &node_ids) const =0 |
Get the set of loop IDs. | |
virtual DCFG_LOOP_CPTR | get_loop_info (DCFG_ID loop_id) const =0 |
Get access to data for a loop. | |
![]() | |
virtual UINT32 | get_basic_block_ids (DCFG_ID_CONTAINER &node_ids) const =0 |
Get IDs of all basic blocks in the structure. | |
virtual UINT32 | get_internal_edge_ids (DCFG_ID_CONTAINER &edge_ids) const =0 |
Get list of internal edge IDs. | |
virtual UINT32 | get_inbound_edge_ids (DCFG_ID_CONTAINER &edge_ids) const =0 |
Get list of in-bound edge IDs. | |
virtual UINT32 | get_outbound_edge_ids (DCFG_ID_CONTAINER &edge_ids) const =0 |
Get list of out-bound edge IDs. | |
virtual UINT64 | get_instr_count () const =0 |
Get the total dynamic instruction count. | |
virtual UINT64 | get_instr_count_for_thread (UINT32 thread_id) const =0 |
Get per-thread dynamic instruction count. | |
Common interface to any structure containing images, i.e., processes.
|
pure virtual |
Get the set of image IDs.
Get IDs of all images seen, not just the ones that are active at any given time. The address ranges of two or more of the the images may overlap if an image was loaded after another was unloaded.
image_ids
. [out] | image_ids | Container to which image IDs are added. Previous contents of the container are not emptied by this call, so it should be emptied by the programmer before the call if desired. The programmer can use any implementation of DCFG_ID_CONTAINER: DCFG_ID_VECTOR, DCFG_ID_SET, etc. |
|
pure virtual |
Get access to data for an image.
NULL
if image_id
is invalid. [in] | image_id | ID of desired image. |