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
b2972947
Commit
b2972947
authored
Dec 07, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Print sizes and offsets in hex.
parent
2844f383
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
pe.c
tools/winedump/pe.c
+5
-6
No files found.
tools/winedump/pe.c
View file @
b2972947
...
...
@@ -217,7 +217,7 @@ static inline void print_datadirectory(DWORD n, const IMAGE_DATA_DIRECTORY *dire
for
(
i
=
0
;
i
<
n
&&
i
<
16
;
i
++
)
{
printf
(
" %-12s rva: 0x%-8
X size: %8u
\n
"
,
printf
(
" %-12s rva: 0x%-8
x size: 0x%-8x
\n
"
,
DirectoryNames
[
i
],
directory
[
i
].
VirtualAddress
,
directory
[
i
].
Size
);
}
...
...
@@ -372,12 +372,11 @@ static void dump_pe_header(void)
void
dump_section
(
const
IMAGE_SECTION_HEADER
*
sectHead
)
{
printf
(
" %-8.8s VirtSize: %-8u VirtAddr: %-8u 0x%08x
\n
"
,
sectHead
->
Name
,
sectHead
->
Misc
.
VirtualSize
,
sectHead
->
VirtualAddress
,
sectHead
->
VirtualAddress
);
printf
(
" raw data offs: %-8u raw data size: %-8u
\n
"
,
printf
(
" %-8.8s VirtSize: 0x%08x VirtAddr: 0x%08x
\n
"
,
sectHead
->
Name
,
sectHead
->
Misc
.
VirtualSize
,
sectHead
->
VirtualAddress
);
printf
(
" raw data offs: 0x%08x raw data size: 0x%08x
\n
"
,
sectHead
->
PointerToRawData
,
sectHead
->
SizeOfRawData
);
printf
(
" relocation offs:
%-8u relocations: %-8u
\n
"
,
printf
(
" relocation offs:
0x%08x relocations: 0x%08x
\n
"
,
sectHead
->
PointerToRelocations
,
sectHead
->
NumberOfRelocations
);
printf
(
" line # offs: %-8u line #'s: %-8u
\n
"
,
sectHead
->
PointerToLinenumbers
,
sectHead
->
NumberOfLinenumbers
);
...
...
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