diff --git a/src/analyzer/main.cpp b/src/analyzer/main.cpp index 353682e4..ec943fa0 100644 --- a/src/analyzer/main.cpp +++ b/src/analyzer/main.cpp @@ -56,6 +56,11 @@ namespace void watch_system_objects(windows_emulator& win_emu, const std::set>& modules, const bool cache_logging) { + (void)win_emu; + (void)modules; + (void)cache_logging; + +#if !defined(__GNUC__) || defined(__clang__) watch_object(win_emu, modules, *win_emu.current_thread().teb, cache_logging); watch_object(win_emu, modules, win_emu.process.peb, cache_logging); watch_object(win_emu, modules, emulator_object{win_emu.emu(), kusd_mmio::address()}, @@ -79,6 +84,7 @@ namespace params_hook = watch_object(win_emu, modules, obj, cache_logging); } }); +#endif } bool read_yes_no_answer()