#include <Windows.h>
#include <cstdio>
#include <chrono>
#include <iostream>
#include <string>
#include "scanner_ipc.hpp"
#include "absl/flags/flag.h"
#include "absl/flags/parse.h"
#include <nlohmann/json.hpp>
Go to the source code of this file.
|
| | ABSL_FLAG (std::string, file, "", "File for Panoptes To Scan") |
| | ABSL_FLAG (int, timeout, 120, "Seconds to wait for every extension's result (YARA, ML)") |
| int | main () |
◆ ABSL_FLAG() [1/2]
| ABSL_FLAG |
( |
int | , |
|
|
timeout | , |
|
|
120 | , |
|
|
"Seconds to wait for every extension's result (YARA, ML)" | ) |
◆ ABSL_FLAG() [2/2]
| ABSL_FLAG |
( |
std::string | , |
|
|
file | , |
|
|
"" | , |
|
|
"File for Panoptes To Scan" | ) |
◆ main()
Definition at line 30 of file scan_cli.cpp.
30 {
31 int result = Run();
32 std::cout.flush();
33 fflush(stdout);
34 fflush(stderr);
35 _exit(result);
36}