10 outs <<
"\"" << std::hex <<
moduleStart <<
"\"" <<
",\n";
12 outs <<
"\"" << std::hex <<
moduleSize <<
"\"" <<
",\n";
15 outs <<
"\"" << std::hex <<
rebasedTo <<
"\"" <<
",\n";
19 outs <<
"\"" << peconv::get_file_name(
dumpFileName) <<
"\"" <<
",\n";
26 OUT_PADDED(outs, level,
"\"pattern_tags_file\" : ");
30 OUT_PADDED(outs, level,
"\"imports_file\" : ");
31 outs <<
"\"" << peconv::get_file_name(
impListFileName) <<
"\"" <<
",\n";
34 OUT_PADDED(outs, level,
"\"imp_rec_result\" : ");
37 OUT_PADDED(outs, level,
"\"imp_not_recovered_file\" : ");
42 OUT_PADDED(outs, level,
"\"iat_hooks_file\" : ");
47 outs <<
"\"" <<
mode_info <<
"\"" <<
",\n";
49 OUT_PADDED(outs, level,
"\"is_shellcode\" : ");
52 OUT_PADDED(outs, level,
"\"is_corrupt_pe\" : ");
65 size_t level = start_level + 1;
69 stream << std::dec << getPid() <<
",\n";
71 OUT_PADDED(stream, level,
"\"output_dir\" : \"");
73 if (minidumpPath.length()) {
74 OUT_PADDED(stream, level,
"\"minidump_path\" : \"");
82 stream << std::dec << countTotal() <<
",\n";
83 OUT_PADDED(stream, level + 1,
"\"dumped\" : ");
84 stream << std::dec << countDumped() <<
"\n";
86 stream << list_dumped_modules(level);
95 std::stringstream stream;
99 std::vector<ModuleDumpReport*>::const_iterator itr;
100 for (itr = moduleReports.begin(); itr != moduleReports.end(); ++itr) {
107 if (mod->
toJSON(stream, level + 2)) {
114 if (moduleReports.size()) {
std::string notRecoveredFileName
virtual const bool toJSON(std::stringstream &outs, size_t level)
std::string hooksTagFileName
std::string iatHooksFileName
std::string impListFileName
std::string patternsTagFileName
virtual bool toJSON(std::stringstream &stream, size_t level) const
std::string list_dumped_modules(size_t level) const
std::string escape_path_separators(std::string path)