dbghelp: Allow loading PE module with 64bit addresses.
This commit is contained in:
parent
8e48cd1ad7
commit
1e141eee4f
|
@ -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)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue