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
8eb1a29a
Commit
8eb1a29a
authored
May 24, 2005
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
May 24, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Print data offset additionally to prefix while dumping data.
parent
d5e1804c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
dump.c
tools/winedump/dump.c
+2
-2
minidump.c
tools/winedump/minidump.c
+0
-0
pe.c
tools/winedump/pe.c
+0
-0
No files found.
tools/winedump/dump.c
View file @
8eb1a29a
...
@@ -57,7 +57,7 @@ void dump_data( const unsigned char *ptr, unsigned int size, const char *prefix
...
@@ -57,7 +57,7 @@ void dump_data( const unsigned char *ptr, unsigned int size, const char *prefix
{
{
unsigned
int
i
,
j
;
unsigned
int
i
,
j
;
printf
(
"%s
"
,
prefix
);
printf
(
"%s
%08x: "
,
prefix
,
0
);
if
(
!
ptr
)
if
(
!
ptr
)
{
{
printf
(
"NULL
\n
"
);
printf
(
"NULL
\n
"
);
...
@@ -71,7 +71,7 @@ void dump_data( const unsigned char *ptr, unsigned int size, const char *prefix
...
@@ -71,7 +71,7 @@ void dump_data( const unsigned char *ptr, unsigned int size, const char *prefix
printf
(
" "
);
printf
(
" "
);
for
(
j
=
0
;
j
<
16
;
j
++
)
for
(
j
=
0
;
j
<
16
;
j
++
)
printf
(
"%c"
,
isprint
(
ptr
[
i
-
15
+
j
])
?
ptr
[
i
-
15
+
j
]
:
'.'
);
printf
(
"%c"
,
isprint
(
ptr
[
i
-
15
+
j
])
?
ptr
[
i
-
15
+
j
]
:
'.'
);
if
(
i
<
size
-
1
)
printf
(
"
\n
%s
"
,
prefix
);
if
(
i
<
size
-
1
)
printf
(
"
\n
%s
%08x: "
,
prefix
,
i
+
1
);
}
}
}
}
if
(
i
%
16
)
if
(
i
%
16
)
...
...
tools/winedump/minidump.c
View file @
8eb1a29a
tools/winedump/pe.c
View file @
8eb1a29a
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