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
1d3dfd9e
Commit
1d3dfd9e
authored
May 01, 2011
by
Eric Pouech
Committed by
Alexandre Julliard
May 02, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Correctly get to the optional header for 64 bit images.
parent
9c76ed18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
pe.c
tools/winedump/pe.c
+3
-5
No files found.
tools/winedump/pe.c
View file @
1d3dfd9e
...
...
@@ -941,13 +941,11 @@ static void dump_dir_debug_dir(const IMAGE_DEBUG_DIRECTORY* idd, int idx)
static
void
dump_dir_debug
(
void
)
{
const
IMAGE_DEBUG_DIRECTORY
*
debugDir
=
get_dir
(
IMAGE_FILE_DEBUG_DIRECTORY
);
unsigned
nb_dbg
,
i
;
const
IMAGE_DEBUG_DIRECTORY
*
debugDir
=
get_dir_and_size
(
IMAGE_FILE_DEBUG_DIRECTORY
,
&
nb_dbg
);
if
(
!
debugDir
)
return
;
nb_dbg
=
PE_nt_headers
->
OptionalHeader
.
DataDirectory
[
IMAGE_FILE_DEBUG_DIRECTORY
].
Size
/
sizeof
(
*
debugDir
);
if
(
!
nb_dbg
)
return
;
nb_dbg
/=
sizeof
(
*
debugDir
);
if
(
!
debugDir
||
!
nb_dbg
)
return
;
printf
(
"Debug Table (%u directories)
\n
"
,
nb_dbg
);
...
...
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