|
IDA C++ SDK 9.2
|
Topics | |
| Match dependencies flags | |
Misc | |
| enum | dscu_svc_t::depmatch_code_t { dscu_svc_t::dmc_ok = 0 , dscu_svc_t::dmc_bad_file , dscu_svc_t::dmc_cpu_mismatch , dscu_svc_t::dmc_platform_mismatch , dscu_svc_t::dmc_failed } |
| virtual bool | dscu_svc_t::find_string (string_match_vec_t *out, const char *needle, uint32 flags=0, size_t max_count=size_t(-1)) const =0 |
Find all occurrences of needle in the cache's byte content. | |
| virtual bool | dscu_svc_t::has_local_symbols () const =0 |
| Whether this cache has a .symbols sidecar file. | |
| virtual region_type_t | dscu_svc_t::get_region_type (size_t region_index) const =0 |
Return the type of the region at region_index. | |
| virtual bool | dscu_svc_t::query_symbols (symbol_match_vec_t *out, const range_t &range) const =0 |
Find symbols from the cache's local symbol table that fall within range. | |
| virtual std::string_view | dscu_svc_t::query_symbol (ea_t ea) const =0 |
| Look up a single address in the local symbol table. | |
| virtual std::string_view | dscu_svc_t::query_exported_symbol (ea_t ea) const =0 |
| Look up an address in the per-image export tables. | |
| virtual bool | dscu_svc_t::find_symbol (symbol_match_vec_t *out, const char *needle, uint32 flags=0, size_t max_count=size_t(-1)) const =0 |
Find all symbols whose name contains needle, searching the cache's local symbol table and each image's export table. | |
| virtual depmatch_code_t | dscu_svc_t::match_dependencies (dependency_match_result_t *out, const char *path, uint32 flags=0) const =0 |
| Parse the Mach-O file's load commands, and match the image dependencies to this DSC. | |
| virtual void | dscu_svc_t::dump_layout (uint32 flags=DLF_ALL) const =0 |
| Dump the full cache layout to the output window. | |
|
pure virtual |
Find all occurrences of needle in the cache's byte content.
Matching is a plain substring match against UTF-8 bytes.
| [out] | out | receives (ea, image_index, file_index, file_offset, context) matches |
| needle | substring to match (must be non-empty) | |
| flags | combination of FSSF_* bits | |
| max_count | stop scanning once this many matches have been collected; default is unlimited |
|
pure virtual |
Whether this cache has a .symbols sidecar file.
|
pure virtual |
Return the type of the region at region_index.
| region_index | index into the global region list |
|
pure virtual |
Find symbols from the cache's local symbol table that fall within range.
| [out] | out | receives the matches. image_index is always -1 since this call only queries the cache's local (.symbols) table. |
| range | address range to query |
|
pure virtual |
Look up a single address in the local symbol table.
| ea | effective address |
|
pure virtual |
Look up an address in the per-image export tables.
Exports are loaded lazily on first access for each image.
| ea | effective address |
|
pure virtual |
Find all symbols whose name contains needle, searching the cache's local symbol table and each image's export table.
Matching is a plain substring match, case-sensitive by default (see FSF_CASE_INSENSITIVE).
| [out] | out | receives (symbol, ea, image_index) matches. image_index is -1 when the match comes from the cache's local symbol table (.symbols). |
| needle | substring to match (must be non-empty) | |
| flags | combination of FSF_* bits | |
| max_count | stop accumulating once this many matches have been collected; default is unlimited |
|
pure virtual |
Parse the Mach-O file's load commands, and match the image dependencies to this DSC.
| [out] | out | result of the match operation |
| path | Mach-O file path | |
| flags | combination of MDF_* bits |