20 #ifndef PSYSTEM_SYMBOL_FILE_MODULE_HPP
21 #define PSYSTEM_SYMBOL_FILE_MODULE_HPP
33 class dll_export_view;
155 std::unique_ptr< uint8_t, std::function<void(uint8_t*)> >
m_view;
176 #endif // PSYSTEM_SYMBOL_FILE_MODULE_HPP
std::unique_ptr< uint8_t, std::function< void(uint8_t *)> > m_view
Address of the bytes for the memory mapped file.
Definition: symbol_file_module.hpp:155
std::unique_ptr< dll_export_view > m_dll_export_view
Loaded view of DLL exports (may be NULL).
Definition: symbol_file_module.hpp:171
Uniquely manage a single "handle".
Definition: unique_handle.hpp:249
psystem::unique_handle m_mapping_handle
System handle to the memory mapping.
Definition: symbol_file_module.hpp:158
~symbol_file_module() noexcept
Clean up resources used by the symbol_file_module instance.
Definition: symbol_file_module.cpp:238
Defines the psystem::not_assignable interface.
Exposes a DLL's symbol export table.
Definition: dll_export_view.hpp:40
symbol_file_module(std::string const &file_name)
Construct an instance by loading file_name.
Definition: symbol_file_module.cpp:179
symbol_view const * get_symbol_view()
Obtain a "view" into the debugging symbols for this module.
Definition: symbol_file_module.cpp:400
Remove the ability to copy or reassign from derived classes.
Definition: not_copyable.hpp:43
std::unique_ptr< symbol_view > m_symbol_view
Loaded view of debugging symbols (may be NULL).
Definition: symbol_file_module.hpp:168
Encapsulates a module (file) for the purpose of gathering debugging symbols.
Definition: symbol_file_module.hpp:50
Declare an RAII container for system API handles (psystem::unique_handle).
uint8_t const * get_base_address() const noexcept
Acquire the base memory address where this module has been loaded.
Definition: symbol_file_module.cpp:302
void dump_module_info() const
Prints executable image headers to the console.
Definition: symbol_file_module.cpp:247
The basic header file for the PSystem namespce.
Exposes an executable image's debugging symbol data.
Definition: symbol_view.hpp:40
Contains the process examination "system" and basic frameworks.
Definition: pstack_event_handler.hpp:28
psystem::unique_handle m_file_handle
Open handle to the file-system file (to be mapped).
Definition: symbol_file_module.hpp:161
Wraps the C++ standard header, memory, to provide a uniform interface.
dll_export_view const * get_dll_export_view()
Obtain a "view" into the exported DLL symbols for this module.
Definition: symbol_file_module.cpp:308