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
22d2b61a
Commit
22d2b61a
authored
Nov 09, 2021
by
Martin Storsjö
Committed by
Alexandre Julliard
Nov 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Distinguish between 16 and 32 bit nop opcodes in ARM unwind data.
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
825e8d81
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
pe.c
tools/winedump/pe.c
+9
-2
No files found.
tools/winedump/pe.c
View file @
22d2b61a
...
...
@@ -1171,13 +1171,20 @@ static void dump_armnt_unwind_info( const struct runtime_function_armnt *fnc )
excode
=
(
code
<<
24
)
|
(
excodes
[
0
]
<<
16
)
|
(
excodes
[
1
]
<<
8
)
|
excodes
[
2
];
printf
(
"%s sp, sp, #%u
\n
"
,
inepilogue
?
"add"
:
"sub"
,
(
excode
&
0xffffff
)
*
4
);
}
else
if
(
code
<=
0xf
c
)
else
if
(
code
<=
0xf
b
)
printf
(
"nop
\n
"
);
else
if
(
code
<=
0xfe
)
else
if
(
code
<=
0xfc
)
printf
(
"nop.w
\n
"
);
else
if
(
code
<=
0xfd
)
{
printf
(
"(end) nop
\n
"
);
inepilogue
=
TRUE
;
}
else
if
(
code
<=
0xfe
)
{
printf
(
"(end) nop.w
\n
"
);
inepilogue
=
TRUE
;
}
else
{
printf
(
"end
\n
"
);
...
...
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