49 outs << std::dec <<
status;
69 return (ULONGLONG)this->
module;
88 outs <<
"\"" << std::hex << (ULONGLONG)
module <<
"\"";
92 outs <<
"\"" << std::hex << (ULONGLONG)
moduleSize <<
"\"";
98 OUT_PADDED(outs, level,
"\"original_base\" : ");
99 outs << std::hex <<
"\"" <<
origBase <<
"\"";
105 outs << std::hex <<
"\"" <<
relocBase <<
"\"";
109 OUT_PADDED(outs, level,
"\"module_file\" : ");
114 OUT_PADDED(outs, level,
"\"is_dot_net\" : \"");
133 OUT_PADDED(outs, level,
"\"unreachable_scan\" : ");
153 OUT_PADDED(outs, level,
"\"skipped_scan\" : ");
173 OUT_PADDED(outs, level,
"\"malformed_header\" : ");
virtual const bool _toJSON(std::stringstream &outs, size_t level=JSON_LEVEL, const pesieve::t_json_level &jdetails=JSON_BASIC)
static const size_t JSON_LEVEL
static t_scan_status get_scan_status(const ElementScanReport *report)
ElementScanReport(t_scan_status _status=SCAN_NOT_SUSPICIOUS)
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)
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.