Implemented SymUnloadModule64.
This commit is contained in:
parent
a37bb2a033
commit
22f9f4f0c3
|
@ -86,7 +86,7 @@
|
|||
@ stub SymSetSymWithAddr64
|
||||
@ stub SymUnDName64
|
||||
@ stdcall SymUnDName(ptr str long)
|
||||
@ stub SymUnloadModule64
|
||||
@ stdcall SymUnloadModule64(long double)
|
||||
@ stdcall SymUnloadModule(long long)
|
||||
@ stdcall UnDecorateSymbolName(str str long long)
|
||||
@ stdcall UnmapDebugInformation(ptr)
|
||||
|
|
|
@ -446,6 +446,23 @@ BOOL WINAPI SymUnloadModule(HANDLE hProcess, DWORD BaseOfDll)
|
|||
return module_remove(pcs, module);
|
||||
}
|
||||
|
||||
/******************************************************************
|
||||
* SymUnloadModule64 (DBGHELP.@)
|
||||
*
|
||||
*/
|
||||
BOOL WINAPI SymUnloadModule64(HANDLE hProcess, DWORD64 BaseOfDll)
|
||||
{
|
||||
struct process* pcs;
|
||||
struct module* module;
|
||||
|
||||
pcs = process_find_by_handle(hProcess);
|
||||
if (!pcs) return FALSE;
|
||||
if (!validate_addr64(BaseOfDll)) return FALSE;
|
||||
module = module_find_by_addr(pcs, (DWORD)BaseOfDll, DMT_UNKNOWN);
|
||||
if (!module) return FALSE;
|
||||
return module_remove(pcs, module);
|
||||
}
|
||||
|
||||
/******************************************************************
|
||||
* SymEnumerateModules (DBGHELP.@)
|
||||
*
|
||||
|
|
|
@ -617,6 +617,7 @@ DWORD WINAPI SymLoadModule(HANDLE, HANDLE, PSTR, PSTR, DWORD, DWORD);
|
|||
DWORD64 WINAPI SymLoadModuleEx(HANDLE, HANDLE, PCSTR, PCSTR, DWORD64, DWORD,
|
||||
PMODLOAD_DATA, DWORD);
|
||||
BOOL WINAPI SymUnloadModule(HANDLE, DWORD);
|
||||
BOOL WINAPI SymUnloadModule64(HANDLE, DWORD64);
|
||||
|
||||
/*************************
|
||||
* Symbol Handling *
|
||||
|
|
Loading…
Reference in New Issue