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
a97b3f64
Commit
a97b3f64
authored
Feb 01, 2024
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Handle ARM64 exception unwind info with flag==3.
parent
3825af60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
pe.c
tools/winedump/pe.c
+11
-1
No files found.
tools/winedump/pe.c
View file @
a97b3f64
...
...
@@ -1645,11 +1645,14 @@ static void dump_arm64_unwind_info( const struct runtime_function_arm64 *func )
const
struct
unwind_info_arm64
*
info
;
const
struct
unwind_info_ext_arm64
*
infoex
;
const
struct
unwind_info_epilog_arm64
*
infoepi
;
const
struct
runtime_function_arm64
*
parent_func
;
const
BYTE
*
ptr
;
unsigned
int
i
,
rva
,
codes
,
epilogs
;
if
(
func
->
Flag
)
switch
(
func
->
Flag
)
{
case
1
:
case
2
:
printf
(
"
\n
Function %08x-%08x:
\n
"
,
func
->
BeginAddress
,
func
->
BeginAddress
+
func
->
FunctionLength
*
4
);
printf
(
" len=%#x flag=%x regF=%u regI=%u H=%u CR=%u frame=%x
\n
"
,
...
...
@@ -1657,6 +1660,13 @@ static void dump_arm64_unwind_info( const struct runtime_function_arm64 *func )
func
->
H
,
func
->
CR
,
func
->
FrameSize
);
dump_arm64_packed_info
(
func
);
return
;
case
3
:
rva
=
func
->
UnwindData
&
~
3
;
parent_func
=
RVA
(
rva
,
sizeof
(
*
parent_func
)
);
printf
(
"
\n
Function %08x-%08x:
\n
"
,
func
->
BeginAddress
,
func
->
BeginAddress
+
12
/* adrl x16, <dest>; br x16 */
);
printf
(
" forward to parent %08x
\n
"
,
parent_func
->
BeginAddress
);
return
;
}
rva
=
func
->
UnwindData
;
...
...
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