Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
cb5e95c8
Commit
cb5e95c8
authored
Nov 29, 2005
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Nov 29, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stub StackWalk64.
parent
d10a90dc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
65 additions
and
1 deletion
+65
-1
dbghelp.spec
dlls/dbghelp/dbghelp.spec
+1
-1
stack.c
dlls/dbghelp/stack.c
+18
-0
dbghelp.h
include/dbghelp.h
+46
-0
No files found.
dlls/dbghelp/dbghelp.spec
View file @
cb5e95c8
...
...
@@ -23,7 +23,7 @@
@ stdcall MiniDumpReadDumpStream(ptr long ptr ptr ptr)
@ stdcall MiniDumpWriteDump(ptr long ptr long long long long)
@ stdcall SearchTreeForFile(str str str)
@ st
ub StackWalk64
@ st
dcall StackWalk64(long long long ptr ptr ptr ptr ptr ptr)
@ stdcall StackWalk(long long long ptr ptr ptr ptr ptr ptr)
@ stdcall SymCleanup(long)
@ stdcall SymEnumLines(ptr double str str ptr ptr)
...
...
dlls/dbghelp/stack.c
View file @
cb5e95c8
...
...
@@ -401,6 +401,24 @@ done_err:
return
FALSE
;
}
/***********************************************************************
* StackWalk64 (DBGHELP.@)
*/
BOOL
WINAPI
StackWalk64
(
DWORD
MachineType
,
HANDLE
hProcess
,
HANDLE
hThread
,
LPSTACKFRAME64
frame
,
LPVOID
ctx
,
PREAD_PROCESS_MEMORY_ROUTINE64
f_read_mem
,
PFUNCTION_TABLE_ACCESS_ROUTINE64
FunctionTableAccessRoutine
,
PGET_MODULE_BASE_ROUTINE64
GetModuleBaseRoutine
,
PTRANSLATE_ADDRESS_ROUTINE64
f_xlat_adr
)
{
FIXME
(
"(%ld, %p, %p, %p, %p, %p, %p, %p, %p) - stub!
\n
"
,
MachineType
,
hProcess
,
hThread
,
frame
,
ctx
,
f_read_mem
,
FunctionTableAccessRoutine
,
GetModuleBaseRoutine
,
f_xlat_adr
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/******************************************************************
* SymRegisterFunctionEntryCallback (DBGHELP.@)
*
...
...
include/dbghelp.h
View file @
cb5e95c8
...
...
@@ -60,6 +60,13 @@ typedef struct _tagADDRESS
ADDRESS_MODE
Mode
;
}
ADDRESS
,
*
LPADDRESS
;
typedef
struct
_tagADDRESS64
{
DWORD64
Offset
;
WORD
Segment
;
ADDRESS_MODE
Mode
;
}
ADDRESS64
,
*
LPADDRESS64
;
#define SYMF_OMAP_GENERATED 0x00000001
#define SYMF_OMAP_MODIFIED 0x00000002
#define SYMF_USER_GENERATED 0x00000004
...
...
@@ -864,6 +871,19 @@ typedef struct _KDHELP
DWORD
SystemRangeStart
;
}
KDHELP
,
*
PKDHELP
;
typedef
struct
_KDHELP64
{
DWORD64
Thread
;
DWORD
ThCallbackStack
;
DWORD
ThCallbackBStore
;
DWORD
NextCallback
;
DWORD
FramePointer
;
DWORD64
KiCallUserMode
;
DWORD64
KeUserCallbackDispatcher
;
DWORD64
SystemRangeStart
;
DWORD64
Reserved
[
8
];
}
KDHELP64
,
*
PKDHELP64
;
typedef
struct
_STACKFRAME
{
ADDRESS
AddrPC
;
...
...
@@ -879,6 +899,21 @@ typedef struct _STACKFRAME
ADDRESS
AddrBStore
;
}
STACKFRAME
,
*
LPSTACKFRAME
;
typedef
struct
_STACKFRAME64
{
ADDRESS64
AddrPC
;
ADDRESS64
AddrReturn
;
ADDRESS64
AddrFrame
;
ADDRESS64
AddrStack
;
ADDRESS64
AddrBStore
;
PVOID
FuncTableEntry
;
DWORD64
Params
[
4
];
BOOL
Far
;
BOOL
Virtual
;
DWORD64
Reserved
[
3
];
KDHELP64
KdHelp
;
}
STACKFRAME64
,
*
LPSTACKFRAME64
;
typedef
BOOL
(
CALLBACK
*
PREAD_PROCESS_MEMORY_ROUTINE
)
(
HANDLE
,
DWORD
,
PVOID
,
DWORD
,
PDWORD
);
typedef
PVOID
(
CALLBACK
*
PFUNCTION_TABLE_ACCESS_ROUTINE
)(
HANDLE
,
DWORD
);
...
...
@@ -890,6 +925,17 @@ BOOL WINAPI StackWalk(DWORD, HANDLE, HANDLE, LPSTACKFRAME, PVOID,
PGET_MODULE_BASE_ROUTINE
,
PTRANSLATE_ADDRESS_ROUTINE
);
typedef
BOOL
(
CALLBACK
*
PREAD_PROCESS_MEMORY_ROUTINE64
)
(
HANDLE
,
DWORD64
,
PVOID
,
DWORD
,
PDWORD
);
typedef
PVOID
(
CALLBACK
*
PFUNCTION_TABLE_ACCESS_ROUTINE64
)(
HANDLE
,
DWORD64
);
typedef
DWORD
(
CALLBACK
*
PGET_MODULE_BASE_ROUTINE64
)(
HANDLE
,
DWORD64
);
typedef
DWORD
(
CALLBACK
*
PTRANSLATE_ADDRESS_ROUTINE64
)(
HANDLE
,
HANDLE
,
LPADDRESS64
);
BOOL
WINAPI
StackWalk64
(
DWORD
,
HANDLE
,
HANDLE
,
LPSTACKFRAME64
,
PVOID
,
PREAD_PROCESS_MEMORY_ROUTINE64
,
PFUNCTION_TABLE_ACCESS_ROUTINE64
,
PGET_MODULE_BASE_ROUTINE64
,
PTRANSLATE_ADDRESS_ROUTINE64
);
PVOID
WINAPI
SymFunctionTableAccess
(
HANDLE
,
DWORD
);
typedef
PVOID
(
CALLBACK
*
PSYMBOL_FUNCENTRY_CALLBACK
)(
HANDLE
,
DWORD
,
PVOID
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment