#include <exported_func.h>
A class storing the information about the exported function.
Definition at line 53 of file exported_func.h.
◆ ExportedFunc() [1/5]
peconv::ExportedFunc::ExportedFunc |
( |
| ) |
|
|
inline |
◆ ExportedFunc() [2/5]
◆ ExportedFunc() [3/5]
ExportedFunc::ExportedFunc |
( |
std::string | libName, |
|
|
std::string | funcName, |
|
|
DWORD | funcOrdinal ) |
◆ ExportedFunc() [4/5]
ExportedFunc::ExportedFunc |
( |
std::string | libName, |
|
|
DWORD | funcOrdinal ) |
◆ ExportedFunc() [5/5]
ExportedFunc::ExportedFunc |
( |
const std::string & | forwarderName | ) |
|
◆ formatName()
std::string ExportedFunc::formatName |
( |
std::string | name | ) |
|
|
static |
◆ isTheSameDllName()
◆ isTheSameFunc()
Compares functions' names. If function is defined by an ordinal, compares ordinals. Includes the DLL name in the comparison.
Definition at line 225 of file exported_func.cpp.
◆ isTheSameFuncName()
Compares functions' names. If function is defined by an ordinal, compares ordinals. Does not include the DLL name in the comparison.
Definition at line 165 of file exported_func.cpp.
◆ isValid()
bool peconv::ExportedFunc::isValid |
( |
| ) |
const |
|
inline |
◆ nameToString()
std::string ExportedFunc::nameToString |
( |
| ) |
const |
Gets a string representation of the variable. Short info about the function: only function name or ordinal (if the name is missing).
Definition at line 252 of file exported_func.cpp.
◆ operator<()
bool peconv::ExportedFunc::operator< |
( |
const ExportedFunc & | other | ) |
const |
|
inline |
Compare two functions with each other. Gives the priority to the named functions: if one of the compared functions is unnamed, the named one is treated as smaller. If both functions are unnamed, the function with the smaller ordinal is treated as smaller. Otherwise, the function with the shorter name is treated as smaller.
Definition at line 89 of file exported_func.h.
◆ toString()
std::string ExportedFunc::toString |
( |
| ) |
const |
Gets a string representation of the variable. Full info about the function: library, name, ordinal.
Definition at line 236 of file exported_func.cpp.
◆ funcName
std::string peconv::ExportedFunc::funcName |
◆ funcOrdinal
DWORD peconv::ExportedFunc::funcOrdinal |
◆ isByOrdinal
bool peconv::ExportedFunc::isByOrdinal |
◆ libName
std::string peconv::ExportedFunc::libName |
The documentation for this class was generated from the following files: