Commit 1e141eee authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: Allow loading PE module with 64bit addresses.

parent 8e48cd1a
...@@ -578,7 +578,7 @@ extern BOOL path_find_symbol_file(const struct process* pcs, PCSTR full_ ...@@ -578,7 +578,7 @@ extern BOOL path_find_symbol_file(const struct process* pcs, PCSTR full_
extern BOOL pe_load_nt_header(HANDLE hProc, DWORD64 base, IMAGE_NT_HEADERS* nth); extern BOOL pe_load_nt_header(HANDLE hProc, DWORD64 base, IMAGE_NT_HEADERS* nth);
extern struct module* extern struct module*
pe_load_native_module(struct process* pcs, const WCHAR* name, pe_load_native_module(struct process* pcs, const WCHAR* name,
HANDLE hFile, DWORD base, DWORD size); HANDLE hFile, DWORD64 base, DWORD size);
extern struct module* extern struct module*
pe_load_builtin_module(struct process* pcs, const WCHAR* name, pe_load_builtin_module(struct process* pcs, const WCHAR* name,
DWORD64 base, DWORD64 size); DWORD64 base, DWORD64 size);
......
...@@ -733,7 +733,7 @@ BOOL pe_load_debug_info(const struct process* pcs, struct module* module) ...@@ -733,7 +733,7 @@ BOOL pe_load_debug_info(const struct process* pcs, struct module* module)
* *
*/ */
struct module* pe_load_native_module(struct process* pcs, const WCHAR* name, struct module* pe_load_native_module(struct process* pcs, const WCHAR* name,
HANDLE hFile, DWORD base, DWORD size) HANDLE hFile, DWORD64 base, DWORD size)
{ {
struct module* module = NULL; struct module* module = NULL;
BOOL opened = FALSE; BOOL opened = FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment