mirror of
https://github.com/cemu-project/idapython.git
synced 2025-01-29 17:56:49 +01:00
idc.py: RefreshDebuggerMemory() was broken
This commit is contained in:
parent
0e9f53eaad
commit
ab7a03431e
11
swig/dbg.i
11
swig/dbg.i
@ -22,12 +22,23 @@ PyObject *meminfo_vec_t_to_py(meminfo_vec_t &areas);
|
||||
%inline %{
|
||||
|
||||
//<inline(py_dbg)>
|
||||
//-------------------------------------------------------------------------
|
||||
PyObject *py_get_manual_regions()
|
||||
{
|
||||
meminfo_vec_t areas;
|
||||
get_manual_regions(&areas);
|
||||
return meminfo_vec_t_to_py(areas);
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
PyObject *refresh_debugger_memory()
|
||||
{
|
||||
invalidate_dbgmem_config();
|
||||
invalidate_dbgmem_contents(BADADDR, BADADDR);
|
||||
if ( dbg != NULL && dbg->stopped_at_debug_event != NULL )
|
||||
dbg->stopped_at_debug_event(true);
|
||||
Py_RETURN_NONE;
|
||||
}
|
||||
//</inline(py_dbg)>
|
||||
|
||||
int idaapi DBG_Callback(void *ud, int notification_code, va_list va);
|
||||
|
Loading…
x
Reference in New Issue
Block a user