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
4e640f8a
Commit
4e640f8a
authored
Jan 19, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Remove an unused flag.
parent
c66972df
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
pe.c
tools/winedump/pe.c
+2
-4
winedump.h
tools/winedump/winedump.h
+0
-3
No files found.
tools/winedump/pe.c
View file @
4e640f8a
...
...
@@ -1560,13 +1560,13 @@ static void do_grab_sym( void )
if
(
!
pName
)
{
printf
(
"Can't grab functions' name table
\n
"
);
return
;}
pOrdl
=
RVA
(
exportDir
->
AddressOfNameOrdinals
,
exportDir
->
NumberOfNames
*
sizeof
(
WORD
));
if
(
!
pOrdl
)
{
printf
(
"Can't grab functions' ordinal table
\n
"
);
return
;}
pFunc
=
RVA
(
exportDir
->
AddressOfFunctions
,
exportDir
->
NumberOfFunctions
*
sizeof
(
DWORD
));
if
(
!
pFunc
)
{
printf
(
"Can't grab functions' address table
\n
"
);
return
;}
/* dll_close(); */
if
(
!
(
dll_symbols
=
malloc
((
exportDir
->
NumberOfFunctions
+
1
)
*
sizeof
(
dll_symbol
))))
fatal
(
"Out of memory"
);
if
(
exportDir
->
AddressOfFunctions
!=
exportDir
->
NumberOfNames
||
exportDir
->
Base
>
1
)
globals
.
do_ordinals
=
1
;
/* bit map of used funcs */
map
=
calloc
(((
exportDir
->
NumberOfFunctions
+
31
)
&
~
31
)
/
32
,
sizeof
(
DWORD
));
...
...
@@ -1581,8 +1581,6 @@ static void do_grab_sym( void )
dll_symbols
[
j
].
ordinal
=
exportDir
->
Base
+
*
pOrdl
;
assert
(
dll_symbols
[
j
].
symbol
);
}
pFunc
=
RVA
(
exportDir
->
AddressOfFunctions
,
exportDir
->
NumberOfFunctions
*
sizeof
(
DWORD
));
if
(
!
pFunc
)
{
printf
(
"Can't grab functions' address table
\n
"
);
return
;}
for
(
i
=
0
;
i
<
exportDir
->
NumberOfFunctions
;
i
++
)
{
...
...
tools/winedump/winedump.h
View file @
4e640f8a
...
...
@@ -136,9 +136,6 @@ typedef struct __globals
/* Option arguments: dump mode */
const
char
*
dumpsect
;
/* -j */
/* internal options */
int
do_ordinals
;
}
_globals
;
extern
_globals
globals
;
...
...
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