#include <address_info.h>
Address info class This class can be used to query information about a memory address (e.g. the file path of the binary where the address is located in)
◆ AddressInfo() [1/2]
template<typename ReturnType, typename... Args>
| a_util::system::AddressInfo::AddressInfo |
( |
ReturnType(* | function )(Args...) | ) |
|
|
inlineexplicitnoexcept |
Constructor for function addresses
◆ AddressInfo() [2/2]
template<typename T>
| a_util::system::AddressInfo::AddressInfo |
( |
const T & | variable | ) |
|
|
inlineexplicitnoexcept |
Constructor for global or static variables addresses
- Warning
variable must not be a heap or stack variable!
◆ getFilePath()
Get the fully qualified file path to the executable or shared library the address is located in.
- Returns
- File path of the binary the address is located in (e.g. "C:\dir\test.exe", "C:\dir\test.dll", "netdrive\test.exe" or "\\netdrive\test.so"). Might be empty if an error occurs.
The documentation for this class was generated from the following file: