mirror of
https://github.com/momo5502/emulator.git
synced 2026-02-01 19:15:23 +01:00
Isolate more analysis into analyzer
This commit is contained in:
@@ -2,4 +2,24 @@
|
||||
|
||||
class windows_emulator;
|
||||
|
||||
void register_analysis_callbacks(windows_emulator& win_emu);
|
||||
struct analysis_settings
|
||||
{
|
||||
bool concise_logging{false};
|
||||
bool verbose_logging{false};
|
||||
bool silent{false};
|
||||
bool buffer_stdout{false};
|
||||
|
||||
std::set<std::string, std::less<>> modules{};
|
||||
std::set<std::string, std::less<>> ignored_functions{};
|
||||
};
|
||||
|
||||
struct analysis_context
|
||||
{
|
||||
const analysis_settings* settings{};
|
||||
windows_emulator* win_emu{};
|
||||
|
||||
std::string output{};
|
||||
bool has_reached_main{false};
|
||||
};
|
||||
|
||||
void register_analysis_callbacks(analysis_context& c);
|
||||
|
||||
Reference in New Issue
Block a user