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
9a1a849b
Commit
9a1a849b
authored
Oct 19, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Oct 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Add stub implementation of SymFromInlineContext(W).
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bef7e1f2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
2 deletions
+39
-2
dbghelp.spec
dlls/dbghelp/dbghelp.spec
+2
-2
symbol.c
dlls/dbghelp/symbol.c
+37
-0
No files found.
dlls/dbghelp/dbghelp.spec
View file @
9a1a849b
...
...
@@ -77,8 +77,8 @@
@ stdcall SymFromAddrW(ptr int64 ptr ptr)
@ stdcall SymFromIndex(long int64 long ptr)
@ stdcall SymFromIndexW(long int64 long ptr)
@ st
ub SymFromInlineContext
@ st
ub SymFromInlineContextW
@ st
dcall SymFromInlineContext(long int64 long ptr ptr)
@ st
dcall SymFromInlineContextW(long int64 long ptr ptr)
@ stdcall SymFromName(long str ptr)
@ stdcall SymFromNameW(long wstr ptr)
@ stub SymFromToken
...
...
dlls/dbghelp/symbol.c
View file @
9a1a849b
...
...
@@ -2503,3 +2503,40 @@ PWSTR WINAPI SymSetHomeDirectoryW(HANDLE hProcess, PCWSTR dir)
return
NULL
;
}
/******************************************************************
* SymFromInlineContext (DBGHELP.@)
*
*/
BOOL
WINAPI
SymFromInlineContext
(
HANDLE
hProcess
,
DWORD64
addr
,
ULONG
inline_ctx
,
PDWORD64
disp
,
PSYMBOL_INFO
si
)
{
FIXME
(
"(%p, %#I64x, 0x%x, %p, %p): stub
\n
"
,
hProcess
,
addr
,
inline_ctx
,
disp
,
si
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/******************************************************************
* SymFromInlineContextW (DBGHELP.@)
*
*/
BOOL
WINAPI
SymFromInlineContextW
(
HANDLE
hProcess
,
DWORD64
addr
,
ULONG
inline_ctx
,
PDWORD64
disp
,
PSYMBOL_INFOW
siW
)
{
PSYMBOL_INFO
si
;
unsigned
len
;
BOOL
ret
;
TRACE
(
"(%p, %#I64x, 0x%x, %p, %p)
\n
"
,
hProcess
,
addr
,
inline_ctx
,
disp
,
siW
);
len
=
sizeof
(
*
si
)
+
siW
->
MaxNameLen
*
sizeof
(
WCHAR
);
si
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
);
if
(
!
si
)
return
FALSE
;
si
->
SizeOfStruct
=
sizeof
(
*
si
);
si
->
MaxNameLen
=
siW
->
MaxNameLen
;
if
((
ret
=
SymFromInlineContext
(
hProcess
,
addr
,
inline_ctx
,
disp
,
si
)))
{
copy_symbolW
(
siW
,
si
);
}
HeapFree
(
GetProcessHeap
(),
0
,
si
);
return
ret
;
}
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