50 return (ULONGLONG)this->
module;
68 outs <<
"\"" << std::hex << (ULONGLONG)
module <<
"\"" <<
",\n";
71 outs <<
"\"" << std::hex << (ULONGLONG)
moduleSize <<
"\"" <<
",\n";
76 OUT_PADDED(outs, level,
"\"original_base\" : ");
77 outs << std::hex <<
"\"" <<
origBase <<
"\"" <<
",\n";
82 outs << std::hex <<
"\"" <<
relocBase <<
"\"" <<
",\n";
89 outs << std::dec <<
status;
92 OUT_PADDED(outs, level,
"\"is_dot_net\" : \"");
111 OUT_PADDED(outs, level,
"\"unreachable_scan\" : ");
131 OUT_PADDED(outs, level,
"\"skipped_scan\" : ");
151 OUT_PADDED(outs, level,
"\"malformed_header\" : ");
A base class of all the reports detailing on the output of the performed module's scan.
virtual const bool _toJSON(std::stringstream &outs, size_t level=JSON_LEVEL, const pesieve::t_json_level &jdetails=JSON_BASIC)
virtual ULONGLONG getRelocBase()
virtual const bool toJSON(std::stringstream &outs, size_t level=JSON_LEVEL, const pesieve::t_json_level &jdetails=JSON_BASIC)=0
ModuleScanReport(HMODULE _module, size_t _moduleSize, t_scan_status _status=SCAN_NOT_SUSPICIOUS)
static const size_t JSON_LEVEL
static t_scan_status get_scan_status(const ModuleScanReport *report)
virtual ~ModuleScanReport()
SkippedModuleReport(HMODULE _module, size_t _moduleSize, std::string _moduleFile)
virtual const bool toJSON(std::stringstream &outs, size_t level=JSON_LEVEL, const pesieve::t_json_level &jdetails=JSON_BASIC)
virtual const bool toJSON(std::stringstream &outs, size_t level=JSON_LEVEL, const pesieve::t_json_level &jdetails=JSON_BASIC)
UnreachableModuleReport(HMODULE _module, size_t _moduleSize, std::string _moduleFile)
std::string escape_path_separators(std::string path)
enum pesieve::module_scan_status t_scan_status
The types used by PE-sieve API.
Final summary about the scanned process.