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
4bfd7059
Commit
4bfd7059
authored
Mar 03, 2007
by
Joris Huizer
Committed by
Alexandre Julliard
Mar 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: sign-compare fixes.
parent
e1e54d1e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
minidump.c
tools/winedump/minidump.c
+1
-1
msc.c
tools/winedump/msc.c
+9
-7
No files found.
tools/winedump/minidump.c
View file @
4bfd7059
...
...
@@ -44,7 +44,7 @@ static void dump_mdmp_string(DWORD rva)
printf
(
"<<?>>"
);
}
static
const
MINIDUMP_DIRECTORY
*
get_mdmp_dir
(
const
MINIDUMP_HEADER
*
hdr
,
int
str_idx
)
static
const
MINIDUMP_DIRECTORY
*
get_mdmp_dir
(
const
MINIDUMP_HEADER
*
hdr
,
unsigned
int
str_idx
)
{
const
MINIDUMP_DIRECTORY
*
dir
;
unsigned
int
i
;
...
...
tools/winedump/msc.c
View file @
4bfd7059
...
...
@@ -511,6 +511,7 @@ static void codeview_dump_one_type(unsigned curr_type, const union codeview_type
{
const
union
codeview_reftype
*
reftype
=
(
const
union
codeview_reftype
*
)
type
;
int
i
,
leaf_len
,
value
;
unsigned
int
j
;
const
char
*
str
;
switch
(
type
->
generic
.
id
)
...
...
@@ -663,9 +664,9 @@ static void codeview_dump_one_type(unsigned curr_type, const union codeview_type
case
LF_ARGLIST_V2
:
printf
(
"
\t
%x => Arglist V2(#%u):"
,
curr_type
,
reftype
->
arglist_v2
.
num
);
for
(
i
=
0
;
i
<
reftype
->
arglist_v2
.
num
;
i
++
)
for
(
j
=
0
;
j
<
reftype
->
arglist_v2
.
num
;
j
++
)
{
printf
(
"
\t
%x"
,
reftype
->
arglist_v2
.
args
[
i
]);
printf
(
"
\t
%x"
,
reftype
->
arglist_v2
.
args
[
j
]);
}
printf
(
"
\t\n
"
);
break
;
...
...
@@ -786,9 +787,9 @@ static void codeview_dump_one_type(unsigned curr_type, const union codeview_type
case
LF_DERIVED_V2
:
printf
(
"
\t
%x => Derived V2(#%u):"
,
curr_type
,
reftype
->
derived_v2
.
num
);
for
(
i
=
0
;
i
<
reftype
->
derived_v2
.
num
;
i
++
)
for
(
j
=
0
;
j
<
reftype
->
derived_v2
.
num
;
j
++
)
{
printf
(
" %x"
,
reftype
->
derived_v2
.
drvdcls
[
i
]);
printf
(
" %x"
,
reftype
->
derived_v2
.
drvdcls
[
j
]);
}
printf
(
"
\n
"
);
break
;
...
...
@@ -832,9 +833,10 @@ int codeview_dump_types_from_block(const void* table, unsigned long len)
int
codeview_dump_symbols
(
const
void
*
root
,
unsigned
long
size
)
{
int
i
,
length
;
char
*
curr_func
=
NULL
;
int
nest_block
=
0
;
unsigned
int
i
;
int
length
;
char
*
curr_func
=
NULL
;
int
nest_block
=
0
;
/*
* Loop over the different types of records and whenever we
* find something we are interested in, record it and move on.
...
...
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