25 Patch(HMODULE module_base,
size_t patch_id, DWORD start_rva)
61 this->
type = hook_type;
69 bool setHookTargetInfo(ULONGLONG targetModuleBase,
bool isSuspiocious, std::string targetModuleName)
80 const bool toTAG(std::ofstream &patch_report,
const char delimiter);
81 const bool toJSON(std::stringstream &outs,
size_t level,
bool short_info);
110 std::vector<Patch*>::const_iterator itr;
111 for (itr = other.
patches.begin(); itr != other.
patches.end(); ++itr) {
137 const size_t toTAGs(std::ofstream &patch_report,
const char delimiter);
139 const bool toJSON(std::stringstream &outs,
size_t level,
bool short_info);
A postprocessor of the detected code patches. Detects if the patch is a hook, and if so,...
void setHookTarget(ULONGLONG target_va, bool is_direct=true, t_patch_type hook_type=pesieve::HOOK_INLINE)
std::string getFormattedName()
std::string hookTargetModName
Patch(const Patch &other)
bool resolveHookedExport(peconv::ExportsMapper &expMap)
bool setHookTargetInfo(ULONGLONG targetModuleBase, bool isSuspiocious, std::string targetModuleName)
Patch(HMODULE module_base, size_t patch_id, DWORD start_rva)
const bool toTAG(std::ofstream &patch_report, const char delimiter)
ULONGLONG getHookTargetVA()
const bool toJSON(std::stringstream &outs, size_t level, bool short_info)
ULONGLONG hookTargetModule
void setEnd(DWORD end_rva)
size_t checkForHookedExports(peconv::ExportsMapper &expMap)
PatchList & operator=(const PatchList &other)
std::vector< Patch * > patches
const bool toJSON(std::stringstream &outs, size_t level, bool short_info)
const size_t toTAGs(std::ofstream &patch_report, const char delimiter)