diff --git a/Gensida/ida/ida_debug.cpp b/Gensida/ida/ida_debug.cpp index 9608f9c..791ca8b 100644 --- a/Gensida/ida/ida_debug.cpp +++ b/Gensida/ida/ida_debug.cpp @@ -249,7 +249,7 @@ void stop_server() { server->Shutdown(); //std::chrono::system_clock::now() + std::chrono::milliseconds(100)); } -static class cond_break_t : public exec_request_t { +class cond_break_t : public exec_request_t { uint32 elang = 0; const char* cond = nullptr; public: diff --git a/Gensida/ida/ida_plugin.cpp b/Gensida/ida/ida_plugin.cpp index 46a0610..7947f61 100644 --- a/Gensida/ida/ida_plugin.cpp +++ b/Gensida/ida/ida_plugin.cpp @@ -141,10 +141,6 @@ static void print_insn(insn_t* insn) } } -static __inline ea_t dw_ea(ea_t addr) { - return (addr & 0xFFFFFFFF); -} - static void print_op(ea_t ea, op_t* op) { if (my_dbg) @@ -896,6 +892,10 @@ static bool ask_assembler() { return res == 1; } +static __inline ea_t dw_ea(ea_t addr) { + return (addr & 0xFFFFFFFF); +} + static ssize_t idaapi process_asm_output(void* user_data, int notification_code, va_list va) { switch (notification_code) {