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
15620659
Commit
15620659
authored
Aug 31, 2013
by
Piotr Caban
Committed by
Alexandre Julliard
Sep 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Improve TLB string table handling.
parent
ec49a574
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
3 deletions
+24
-3
tlb.c
tools/winedump/tlb.c
+24
-3
No files found.
tools/winedump/tlb.c
View file @
15620659
...
...
@@ -428,14 +428,35 @@ static int dump_msft_nametab(seg_t *seg)
return
-
1
;
}
static
int
dump_msft_stringtab
(
seg_t
*
seg
)
static
void
dump_msft_string
(
int
n
)
{
print_begin_block
(
"StringTab"
)
;
int
len
;
dump_binary
(
seg
->
length
);
/* FIXME */
print_begin_block_id
(
"String"
,
n
);
len
=
print_short_hex
(
"stringlen"
);
print_offset
();
printf
(
"string = "
);
dump_string
(
len
,
2
);
if
(
len
<
3
)
{
for
(
len
=
0
;
len
<
4
;
len
++
)
printf
(
"
\\
%2.2x"
,
tlb_read_byte
());
}
printf
(
"
\n
"
);
print_end_block
();
}
static
int
dump_msft_stringtab
(
seg_t
*
seg
)
{
int
i
;
for
(
i
=
0
;
offset
<
seg
->
offset
+
seg
->
length
;
i
++
)
dump_msft_string
(
i
);
assert
(
offset
==
seg
->
offset
+
seg
->
length
);
return
-
1
;
}
...
...
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