![]() |
Ark Server API 3.54
Serverside plugin support for Ark Survival Evolved.
|
#include <PDBReader.h>
Public Member Functions | |
PdbReader ()=default | |
~PdbReader ()=default | |
void | Read (const std::wstring &path, std::unordered_map< std::string, intptr_t > *offsets_dump, std::unordered_map< std::string, BitField > *bitfields_dump) |
Private Member Functions | |
void | DumpStructs (IDiaSymbol *) |
void | DumpFunctions (IDiaSymbol *) |
void | DumpGlobalVariables (IDiaSymbol *) |
void | DumpType (IDiaSymbol *, const std::string &, int) const |
void | DumpData (IDiaSymbol *, const std::string &) const |
Static Private Member Functions | |
static void | LoadDataFromPdb (const std::wstring &, IDiaDataSource **, IDiaSession **, IDiaSymbol **) |
static std::string | GetSymbolNameString (IDiaSymbol *) |
static uint32_t | GetSymbolId (IDiaSymbol *) |
static void | Cleanup (IDiaSymbol *, IDiaSession *, IDiaDataSource *) |
Private Attributes | |
std::unordered_map< std::string, intptr_t > * | offsets_dump_ {nullptr} |
std::unordered_map< std::string, BitField > * | bitfields_dump_ {nullptr} |
std::unordered_set< uint32_t > | visited_ |
Definition at line 12 of file PDBReader.h.
|
default |
|
default |
|
staticprivate |
Definition at line 365 of file PDBReader.cpp.
Referenced by Read().
|
private |
Definition at line 289 of file PDBReader.cpp.
References GetSymbolNameString(), and type.
Referenced by DumpType().
|
private |
Definition at line 170 of file PDBReader.cpp.
References GetSymbolId(), GetSymbolNameString(), API::ReplaceString(), and visited_.
Referenced by Read().
|
private |
Definition at line 219 of file PDBReader.cpp.
References GetSymbolId(), GetSymbolNameString(), and visited_.
Referenced by Read().
|
private |
Definition at line 143 of file PDBReader.cpp.
References DumpType(), GetSymbolId(), GetSymbolNameString(), and visited_.
Referenced by Read().
|
private |
Definition at line 254 of file PDBReader.cpp.
References DumpData(), and DumpType().
Referenced by DumpStructs(), and DumpType().
|
staticprivate |
Definition at line 357 of file PDBReader.cpp.
Referenced by DumpFunctions(), DumpGlobalVariables(), and DumpStructs().
|
staticprivate |
Definition at line 337 of file PDBReader.cpp.
References ArkApi::Tools::Utf8Encode().
Referenced by DumpData(), DumpFunctions(), DumpGlobalVariables(), and DumpStructs().
|
staticprivate |
Definition at line 82 of file PDBReader.cpp.
References ArkApi::Tools::GetCurrentDir().
Referenced by Read().
void API::PdbReader::Read | ( | const std::wstring & | path, |
std::unordered_map< std::string, intptr_t > * | offsets_dump, | ||
std::unordered_map< std::string, BitField > * | bitfields_dump | ||
) |
Definition at line 44 of file PDBReader.cpp.
References bitfields_dump_, Cleanup(), DumpFunctions(), DumpGlobalVariables(), DumpStructs(), Log::GetLog(), LoadDataFromPdb(), and offsets_dump_.
Referenced by API::ArkBaseApi::Init(), and API::AtlasBaseApi::Init().
|
private |
Definition at line 36 of file PDBReader.h.
Referenced by Read().
|
private |
Definition at line 35 of file PDBReader.h.
Referenced by Read().
|
private |
Definition at line 38 of file PDBReader.h.
Referenced by DumpFunctions(), DumpGlobalVariables(), and DumpStructs().