|
DynamoRIO
|
dynamorio::drmemtrace::test_decode_cache_t< DecodeInfo > Class Template Reference
#include <decode_cache.h>
Inheritance diagram for dynamorio::drmemtrace::test_decode_cache_t< DecodeInfo >:
Private Member Functions | |
| std::string | make_module_mapper (const std::string &unused_module_file_path, const std::string &unused_alt_module_dir) override |
Additional Inherited Members | |
Public Member Functions inherited from dynamorio::drmemtrace::decode_cache_t< DecodeInfo > | |
| DecodeInfo * | get_decode_info (app_pc pc) |
| std::string | add_decode_info (const dynamorio::drmemtrace::_memref_instr_t &memref_instr, DecodeInfo *&cached_decode_info) |
| virtual std::string | init (offline_file_type_t filetype, const std::string &module_file_path="", const std::string &alt_module_dir="") |
| void | clear_cache () |
Protected Member Functions inherited from dynamorio::drmemtrace::decode_cache_base_t | |
| decode_cache_base_t (unsigned int verbosity) | |
| std::string | init_module_mapper (const std::string &module_file_path, const std::string &alt_module_dir) |
| std::string | find_mapped_trace_address (app_pc trace_pc, app_pc &decode_pc) |
| offline_file_type_t | build_arch_file_type () |
Protected Attributes inherited from dynamorio::drmemtrace::decode_cache_base_t | |
| bool | use_module_mapper_ = false |
| unsigned int | verbosity_ = 0 |
Detailed Description
template<class DecodeInfo>
class dynamorio::drmemtrace::test_decode_cache_t< DecodeInfo >
A dynamorio::drmemtrace::decode_cache_t for testing which uses a dynamorio::drmemtrace::test_module_mapper_t.
Member Function Documentation
◆ make_module_mapper()
template<class DecodeInfo >
|
inlineoverrideprivatevirtual |
Creates a module_mapper_t. This does not need to worry about races as the module_mapper_mutex_ will be acquired before calling.
Non-static to allow sub-classes to override. This is guaranteed to be invoked only when the count of existing dynamorio::drmemtrace::decode_cache_t instances that are initialized with a non-empty module_file_path is zero.
Returns the empty string on success, or an error message.
Reimplemented from dynamorio::drmemtrace::decode_cache_base_t.
The documentation for this class was generated from the following file:
- /home/runner/work/dynamorio/dynamorio/build_release-64/clients/include/drmemtrace/decode_cache.h
Public Member Functions inherited from