- fun_initialize = GetProcAddress(instance, "SymInitialize");
- fun_cleanup = GetProcAddress(instance, "SymCleanup");
- fun_function_table_access = GetProcAddress(instance, "SymFunctionTableAccess");
- fun_get_line_from_addr = GetProcAddress(instance, "SymGetLineFromAddr");
- fun_get_module_base = GetProcAddress(instance, "SymGetModuleBase");
- fun_get_options = GetProcAddress(instance, "SymGetOptions");
- fun_get_sym_from_addr = GetProcAddress(instance, "SymGetSymFromAddr");
- fun_set_options = GetProcAddress(instance, "SymSetOptions");
- fun_stack_walk = GetProcAddress(instance, "StackWalk");
+ fun_initialize = GetProcAddress(hlp_dbg_instance, "SymInitialize");
+ fun_cleanup = GetProcAddress(hlp_dbg_instance, "SymCleanup");
+ fun_function_table_access = GetProcAddress(hlp_dbg_instance, "SymFunctionTableAccess");
+ fun_get_line_from_addr = GetProcAddress(hlp_dbg_instance, "SymGetLineFromAddr");
+ fun_get_module_base = GetProcAddress(hlp_dbg_instance, "SymGetModuleBase");
+ fun_get_options = GetProcAddress(hlp_dbg_instance, "SymGetOptions");
+ fun_get_sym_from_addr = GetProcAddress(hlp_dbg_instance, "SymGetSymFromAddr");
+ fun_set_options = GetProcAddress(hlp_dbg_instance, "SymSetOptions");
+ fun_stack_walk = GetProcAddress(hlp_dbg_instance, "StackWalk");