2024-07-15 10:47:44 +00:00
|
|
|
#include <CLI/App.hpp>
|
|
|
|
#include <CLI/CLI.hpp>
|
|
|
|
#include <CLI/Validators.hpp>
|
|
|
|
#include <filesystem>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
struct Config {
|
2024-08-08 09:06:59 +00:00
|
|
|
std::filesystem::path images_path = "./";
|
2024-07-15 10:47:44 +00:00
|
|
|
std::filesystem::path memory_file;
|
|
|
|
std::vector<std::filesystem::path> refs;
|
2024-07-16 06:33:45 +00:00
|
|
|
std::vector<std::string> refs_prefix;
|
2024-07-15 10:47:44 +00:00
|
|
|
std::filesystem::path dut;
|
2024-07-16 06:33:45 +00:00
|
|
|
std::string dut_prefix = "";
|
2024-07-22 08:20:19 +00:00
|
|
|
std::string gdbstub_addr = "/tmp/gdbstub-diffu.sock";
|
|
|
|
bool use_debugger = false;
|
2024-07-16 06:33:45 +00:00
|
|
|
|
2024-07-15 10:47:44 +00:00
|
|
|
int cli_parse(int argc, char **argv);
|
|
|
|
};
|
|
|
|
|
|
|
|
extern Config config;
|