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
872c61ff
Commit
872c61ff
authored
Aug 24, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Aug 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Add support for dumping trampoline codeview records.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
45d4021f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
mscvpdb.h
include/wine/mscvpdb.h
+12
-0
msc.c
tools/winedump/msc.c
+10
-0
No files found.
include/wine/mscvpdb.h
View file @
872c61ff
...
...
@@ -1501,6 +1501,18 @@ union codeview_symbol
{
unsigned
short
int
len
;
unsigned
short
int
id
;
unsigned
short
trampType
;
/* 0: incremental, 1: branchisland */
unsigned
short
cbThunk
;
unsigned
int
offThunk
;
unsigned
int
offTarget
;
unsigned
short
sectThunk
;
unsigned
short
sectTarget
;
}
trampoline_v3
;
struct
{
unsigned
short
int
len
;
unsigned
short
int
id
;
unsigned
int
offset
;
unsigned
short
segment
;
unsigned
char
flags
;
...
...
tools/winedump/msc.c
View file @
872c61ff
...
...
@@ -1566,6 +1566,16 @@ BOOL codeview_dump_symbols(const void* root, unsigned long size)
sym
->
objname_v1
.
signature
,
p_string
(
&
sym
->
objname_v1
.
p_name
));
break
;
case
S_TRAMPOLINE
:
printf
(
"Trampoline V3 kind:%u %04x:%08x#%x -> %04x:%08x
\n
"
,
sym
->
trampoline_v3
.
trampType
,
sym
->
trampoline_v3
.
sectThunk
,
sym
->
trampoline_v3
.
offThunk
,
sym
->
trampoline_v3
.
cbThunk
,
sym
->
trampoline_v3
.
sectTarget
,
sym
->
trampoline_v3
.
offTarget
);
break
;
case
S_LABEL32_ST
:
printf
(
"Label V1 '%s' in '%s' (%04x:%08x)
\n
"
,
p_string
(
&
sym
->
label_v1
.
p_name
),
...
...
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