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
ac3b817d
Commit
ac3b817d
authored
Feb 06, 2008
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Added support for some V3 fields in structure parsing.
parent
b49d2b4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
msc.c
dlls/dbghelp/msc.c
+29
-0
No files found.
dlls/dbghelp/msc.c
View file @
ac3b817d
...
...
@@ -659,6 +659,11 @@ static int codeview_add_type_struct_field_list(struct codeview_type_parse* ctp,
ptr
+=
2
+
4
+
2
+
(
1
+
type
->
stmember_v2
.
p_name
.
namelen
);
break
;
case
LF_STMEMBER_V3
:
/* FIXME: ignored for now */
ptr
+=
2
+
4
+
2
+
(
strlen
(
type
->
stmember_v3
.
name
)
+
1
);
break
;
case
LF_METHOD_V1
:
/* FIXME: ignored for now */
ptr
+=
2
+
2
+
2
+
(
1
+
type
->
method_v1
.
p_name
.
namelen
);
...
...
@@ -669,6 +674,11 @@ static int codeview_add_type_struct_field_list(struct codeview_type_parse* ctp,
ptr
+=
2
+
2
+
4
+
(
1
+
type
->
method_v2
.
p_name
.
namelen
);
break
;
case
LF_METHOD_V3
:
/* FIXME: ignored for now */
ptr
+=
2
+
2
+
4
+
(
strlen
(
type
->
method_v3
.
name
)
+
1
);
break
;
case
LF_NESTTYPE_V1
:
/* FIXME: ignored for now */
ptr
+=
2
+
2
+
(
1
+
type
->
nesttype_v1
.
p_name
.
namelen
);
...
...
@@ -679,6 +689,11 @@ static int codeview_add_type_struct_field_list(struct codeview_type_parse* ctp,
ptr
+=
2
+
2
+
4
+
(
1
+
type
->
nesttype_v2
.
p_name
.
namelen
);
break
;
case
LF_NESTTYPE_V3
:
/* FIXME: ignored for now */
ptr
+=
2
+
2
+
4
+
(
strlen
(
type
->
nesttype_v3
.
name
)
+
1
);
break
;
case
LF_VFUNCTAB_V1
:
/* FIXME: ignored for now */
ptr
+=
2
+
2
;
...
...
@@ -717,6 +732,20 @@ static int codeview_add_type_struct_field_list(struct codeview_type_parse* ctp,
}
break
;
case
LF_ONEMETHOD_V3
:
/* FIXME: ignored for now */
switch
((
type
->
onemethod_v3
.
attribute
>>
2
)
&
7
)
{
case
4
:
case
6
:
/* (pure) introducing virtual method */
ptr
+=
2
+
2
+
4
+
4
+
(
strlen
(
type
->
onemethod_virt_v3
.
name
)
+
1
);
break
;
default:
ptr
+=
2
+
2
+
4
+
(
strlen
(
type
->
onemethod_v3
.
name
)
+
1
);
break
;
}
break
;
default:
FIXME
(
"Unsupported type %04x in STRUCT field list
\n
"
,
type
->
generic
.
id
);
return
FALSE
;
...
...
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