48int main(
int argc,
char *argv[])
55 uParams.printBriefInfo();
59 if (!uParams.parse(argc, argv)) {
65 if (args.data == pesieve::PE_DATA_SCAN_INACCESSIBLE || args.data == pesieve::PE_DATA_SCAN_INACCESSIBLE_ONLY) {
66 if (!args.make_reflection) {
67 args.make_reflection =
true;
69 paramkit::print_in_color(paramkit::WARNING_COLOR,
"[WARNING] Scanning of inaccessible pages requested: auto-enabled reflection mode!\n");
75 std::cout <<
"PID: " << args.pid << std::endl;
86 if (summary.scanned > 0) {
int main(int argc, char *argv[])
void print_report(const pesieve::ReportEx &report, const t_params args)
void free_params(t_params &args)
std::string report_to_json(const pesieve::ReportEx &report, const t_report_type rtype, ProcessScanReport::t_report_filter filter, const pesieve::t_json_level &jdetails, size_t start_level=0)