Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
5c271afc
Commit
5c271afc
authored
Aug 30, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Aug 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Fill more fields in SYMBOL_INFO in SymGetTypeFromName.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d268cb02
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
type.c
dlls/dbghelp/type.c
+7
-1
No files found.
dlls/dbghelp/type.c
View file @
5c271afc
...
...
@@ -914,6 +914,7 @@ BOOL WINAPI SymGetTypeFromName(HANDLE hProcess, ULONG64 BaseOfDll,
{
struct
module_pair
pair
;
struct
symt
*
type
;
DWORD64
size
;
pair
.
pcs
=
process_find_by_handle
(
hProcess
);
if
(
!
pair
.
pcs
)
return
FALSE
;
...
...
@@ -921,7 +922,12 @@ BOOL WINAPI SymGetTypeFromName(HANDLE hProcess, ULONG64 BaseOfDll,
if
(
!
module_get_debug
(
&
pair
))
return
FALSE
;
type
=
symt_find_type_by_name
(
pair
.
effective
,
SymTagNull
,
Name
);
if
(
!
type
)
return
FALSE
;
Symbol
->
TypeIndex
=
symt_ptr2index
(
pair
.
effective
,
type
);
Symbol
->
Index
=
Symbol
->
TypeIndex
=
symt_ptr2index
(
pair
.
effective
,
type
);
symbol_setname
(
Symbol
,
symt_get_name
(
type
));
symt_get_info
(
pair
.
effective
,
type
,
TI_GET_LENGTH
,
&
size
);
Symbol
->
Size
=
size
;
Symbol
->
ModBase
=
pair
.
requested
->
module
.
BaseOfImage
;
Symbol
->
Tag
=
type
->
tag
;
return
TRUE
;
}
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