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
a4ebfe8c
Commit
a4ebfe8c
authored
Oct 06, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Oct 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Expose no children in SymGetTypeInfo() for some SymTags.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
dbcc714c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
4 deletions
+22
-4
type.c
dlls/dbghelp/type.c
+22
-4
No files found.
dlls/dbghelp/type.c
View file @
a4ebfe8c
...
@@ -559,6 +559,17 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
...
@@ -559,6 +559,17 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
case
SymTagFunctionType
:
v
=
&
((
const
struct
symt_function_signature
*
)
type
)
->
vchildren
;
break
;
case
SymTagFunctionType
:
v
=
&
((
const
struct
symt_function_signature
*
)
type
)
->
vchildren
;
break
;
case
SymTagFunction
:
v
=
&
((
const
struct
symt_function
*
)
type
)
->
vchildren
;
break
;
case
SymTagFunction
:
v
=
&
((
const
struct
symt_function
*
)
type
)
->
vchildren
;
break
;
case
SymTagBlock
:
v
=
&
((
const
struct
symt_block
*
)
type
)
->
vchildren
;
break
;
case
SymTagBlock
:
v
=
&
((
const
struct
symt_block
*
)
type
)
->
vchildren
;
break
;
case
SymTagPointerType
:
case
SymTagArrayType
:
case
SymTagFunctionArgType
:
case
SymTagThunk
:
case
SymTagLabel
:
case
SymTagFuncDebugStart
:
case
SymTagFuncDebugEnd
:
case
SymTagTypedef
:
case
SymTagBaseType
:
/* for those, CHILDRENCOUNT returns 0 */
return
tifp
->
Count
==
0
;
default:
default:
FIXME
(
"Unsupported sym-tag %s for find-children
\n
"
,
FIXME
(
"Unsupported sym-tag %s for find-children
\n
"
,
symt_get_tag_str
(
type
->
tag
));
symt_get_tag_str
(
type
->
tag
));
...
@@ -621,18 +632,25 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
...
@@ -621,18 +632,25 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
case
SymTagBlock
:
case
SymTagBlock
:
X
(
DWORD
)
=
vector_length
(
&
((
const
struct
symt_block
*
)
type
)
->
vchildren
);
X
(
DWORD
)
=
vector_length
(
&
((
const
struct
symt_block
*
)
type
)
->
vchildren
);
break
;
break
;
case
SymTagPointerType
:
/* MS does it that way */
/* some SymTag:s return 0 */
case
SymTagArrayType
:
/* MS does it that way */
case
SymTagPointerType
:
case
SymTagThunk
:
/* MS does it that way */
case
SymTagArrayType
:
case
SymTagFunctionArgType
:
case
SymTagThunk
:
case
SymTagFuncDebugStart
:
case
SymTagFuncDebugEnd
:
case
SymTagLabel
:
case
SymTagTypedef
:
case
SymTagBaseType
:
X
(
DWORD
)
=
0
;
X
(
DWORD
)
=
0
;
break
;
break
;
default:
default:
FIXME
(
"Unsupported sym-tag %s for get-children-count
\n
"
,
FIXME
(
"Unsupported sym-tag %s for get-children-count
\n
"
,
symt_get_tag_str
(
type
->
tag
));
symt_get_tag_str
(
type
->
tag
));
/* fall through */
/* fall through */
/* some others return error */
case
SymTagData
:
case
SymTagData
:
case
SymTagPublicSymbol
:
case
SymTagPublicSymbol
:
case
SymTagBaseType
:
return
FALSE
;
return
FALSE
;
}
}
break
;
break
;
...
...
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