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
16f538a1
Commit
16f538a1
authored
Jun 23, 2023
by
Eric Pouech
Committed by
Alexandre Julliard
Jun 23, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Tidy up print out in minidumps.
- adjust hex/decimal print out - use internal helpers Signed-off-by:
Eric Pouech
<
epouech@codeweavers.com
>
parent
38f6eb34
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
minidump.c
tools/winedump/minidump.c
+6
-8
No files found.
tools/winedump/minidump.c
View file @
16f538a1
...
...
@@ -95,7 +95,7 @@ void mdmp_dump(void)
printf
(
"Version: %#x
\n
"
,
hdr
->
Version
);
printf
(
"NumberOfStreams: %u
\n
"
,
hdr
->
NumberOfStreams
);
printf
(
"StreamDirectoryRva: %u
\n
"
,
(
UINT
)
hdr
->
StreamDirectoryRva
);
printf
(
"CheckSum: %
u
\n
"
,
hdr
->
CheckSum
);
printf
(
"CheckSum: %
#x (%u)
\n
"
,
hdr
->
CheckSum
,
hdr
->
CheckSum
);
printf
(
"TimeDateStamp: %s
\n
"
,
get_time_str
(
hdr
->
TimeDateStamp
));
print_longlong
(
"Flags"
,
hdr
->
Flags
);
...
...
@@ -145,8 +145,8 @@ void mdmp_dump(void)
{
printf
(
" Module #%d:
\n
"
,
i
);
print_longlong
(
" BaseOfImage"
,
mm
->
BaseOfImage
);
printf
(
" SizeOfImage: %
u
\n
"
,
mm
->
SizeOfImage
);
printf
(
" CheckSum: %#x
\n
"
,
mm
->
CheckSum
);
printf
(
" SizeOfImage: %
#x (%u)
\n
"
,
mm
->
SizeOfImage
,
mm
->
SizeOfImage
);
printf
(
" CheckSum: %#x
(%u)
\n
"
,
mm
->
CheckSum
,
mm
->
CheckSum
);
printf
(
" TimeDateStamp: %s
\n
"
,
get_time_str
(
mm
->
TimeDateStamp
));
printf
(
" ModuleName: "
);
dump_mdmp_string
(
mm
->
ModuleNameRva
);
...
...
@@ -164,7 +164,7 @@ void mdmp_dump(void)
LOWORD
(
mm
->
VersionInfo
.
dwProductVersionMS
),
HIWORD
(
mm
->
VersionInfo
.
dwProductVersionLS
),
LOWORD
(
mm
->
VersionInfo
.
dwProductVersionLS
));
printf
(
" dwFileFlagsMask: %
u
\n
"
,
(
UINT
)
mm
->
VersionInfo
.
dwFileFlagsMask
);
printf
(
" dwFileFlagsMask: %
x
\n
"
,
(
UINT
)
mm
->
VersionInfo
.
dwFileFlagsMask
);
printf
(
" dwFileFlags: %s%s%s%s%s%s
\n
"
,
mm
->
VersionInfo
.
dwFileFlags
&
VS_FF_DEBUG
?
"Debug "
:
""
,
mm
->
VersionInfo
.
dwFileFlags
&
VS_FF_INFOINFERRED
?
"Inferred "
:
""
,
...
...
@@ -214,10 +214,8 @@ void mdmp_dump(void)
dump_mdmp_data
(
&
mm
->
CvRecord
,
" "
);
printf
(
" MiscRecord: <%u>
\n
"
,
(
UINT
)
mm
->
MiscRecord
.
DataSize
);
dump_mdmp_data
(
&
mm
->
MiscRecord
,
" "
);
printf
(
" Reserved0: 0x%x%08x
\n
"
,
(
UINT
)(
mm
->
Reserved0
>>
32
),
(
UINT
)
mm
->
Reserved0
);
printf
(
" Reserved1: 0x%x%08x
\n
"
,
(
UINT
)(
mm
->
Reserved1
>>
32
),
(
UINT
)
mm
->
Reserved1
);
print_longlong
(
" Reserved0"
,
mm
->
Reserved0
);
print_longlong
(
" Reserved1"
,
mm
->
Reserved1
);
}
}
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