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
1131b326
Commit
1131b326
authored
Nov 02, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Nov 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Add some missing next record computation for type leaf.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f0b85183
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
msc.c
tools/winedump/msc.c
+6
-0
No files found.
tools/winedump/msc.c
View file @
1131b326
...
@@ -675,12 +675,14 @@ static void do_field(const unsigned char* start, const unsigned char* end)
...
@@ -675,12 +675,14 @@ static void do_field(const unsigned char* start, const unsigned char* end)
printf
(
"
\t\t
Friend function V1: '%s' type:%x
\n
"
,
printf
(
"
\t\t
Friend function V1: '%s' type:%x
\n
"
,
p_string
(
&
fieldtype
->
friendfcn_v1
.
p_name
),
p_string
(
&
fieldtype
->
friendfcn_v1
.
p_name
),
fieldtype
->
friendfcn_v1
.
type
);
fieldtype
->
friendfcn_v1
.
type
);
ptr
+=
2
+
2
+
(
1
+
fieldtype
->
stmember_v2
.
p_name
.
namelen
);
break
;
break
;
case
LF_FRIENDFCN_V2
:
case
LF_FRIENDFCN_V2
:
printf
(
"
\t\t
Friend function V2: '%s' type:%x
\n
"
,
printf
(
"
\t\t
Friend function V2: '%s' type:%x
\n
"
,
p_string
(
&
fieldtype
->
friendfcn_v2
.
p_name
),
p_string
(
&
fieldtype
->
friendfcn_v2
.
p_name
),
fieldtype
->
friendfcn_v2
.
type
);
fieldtype
->
friendfcn_v2
.
type
);
ptr
+=
2
+
2
+
4
+
(
1
+
fieldtype
->
stmember_v2
.
p_name
.
namelen
);
break
;
break
;
#if 0
#if 0
...
@@ -735,10 +737,12 @@ static void do_field(const unsigned char* start, const unsigned char* end)
...
@@ -735,10 +737,12 @@ static void do_field(const unsigned char* start, const unsigned char* end)
case
LF_FRIENDCLS_V1
:
case
LF_FRIENDCLS_V1
:
printf
(
"
\t\t
Friend class V1: type:%x
\n
"
,
fieldtype
->
friendcls_v1
.
type
);
printf
(
"
\t\t
Friend class V1: type:%x
\n
"
,
fieldtype
->
friendcls_v1
.
type
);
ptr
+=
2
+
2
;
break
;
break
;
case
LF_FRIENDCLS_V2
:
case
LF_FRIENDCLS_V2
:
printf
(
"
\t\t
Friend class V2: type:%x
\n
"
,
fieldtype
->
friendcls_v2
.
type
);
printf
(
"
\t\t
Friend class V2: type:%x
\n
"
,
fieldtype
->
friendcls_v2
.
type
);
ptr
+=
2
+
2
+
4
;
break
;
break
;
case
LF_NESTTYPE_V1
:
case
LF_NESTTYPE_V1
:
...
@@ -777,11 +781,13 @@ static void do_field(const unsigned char* start, const unsigned char* end)
...
@@ -777,11 +781,13 @@ static void do_field(const unsigned char* start, const unsigned char* end)
case
LF_VFUNCOFF_V1
:
case
LF_VFUNCOFF_V1
:
printf
(
"
\t\t
Virtual function table offset V1: type:%x offset:%x
\n
"
,
printf
(
"
\t\t
Virtual function table offset V1: type:%x offset:%x
\n
"
,
fieldtype
->
vfuncoff_v1
.
type
,
fieldtype
->
vfuncoff_v1
.
offset
);
fieldtype
->
vfuncoff_v1
.
type
,
fieldtype
->
vfuncoff_v1
.
offset
);
ptr
+=
2
+
2
+
4
;
break
;
break
;
case
LF_VFUNCOFF_V2
:
case
LF_VFUNCOFF_V2
:
printf
(
"
\t\t
Virtual function table offset V2: type:%x offset:%x
\n
"
,
printf
(
"
\t\t
Virtual function table offset V2: type:%x offset:%x
\n
"
,
fieldtype
->
vfuncoff_v2
.
type
,
fieldtype
->
vfuncoff_v2
.
offset
);
fieldtype
->
vfuncoff_v2
.
type
,
fieldtype
->
vfuncoff_v2
.
offset
);
ptr
+=
2
+
2
+
4
+
4
;
break
;
break
;
default:
default:
...
...
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