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
02fcbeb5
Commit
02fcbeb5
authored
Jun 06, 2023
by
André Zwing
Committed by
Alexandre Julliard
Jun 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wow64: Ignore Thumb flag when parsing ARM syscall number.
parent
fc7e2041
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
syscall.c
dlls/wow64/syscall.c
+3
-2
No files found.
dlls/wow64/syscall.c
View file @
02fcbeb5
...
...
@@ -639,6 +639,7 @@ NTSTATUS WINAPI wow64_NtWow64IsProcessorFeaturePresent( UINT *args )
*/
static
DWORD
get_syscall_num
(
const
BYTE
*
syscall
)
{
WORD
*
arm_syscall
=
(
WORD
*
)((
ULONG_PTR
)
syscall
&
~
1
);
DWORD
id
=
~
0u
;
if
(
!
syscall
)
return
id
;
...
...
@@ -650,9 +651,9 @@ static DWORD get_syscall_num( const BYTE *syscall )
break
;
case
IMAGE_FILE_MACHINE_ARMNT
:
if
(
*
(
WORD
*
)
syscall
==
0xb40f
)
if
(
*
arm_
syscall
==
0xb40f
)
{
DWORD
inst
=
*
(
DWORD
*
)(
(
WORD
*
)
syscall
+
1
);
DWORD
inst
=
*
(
DWORD
*
)(
arm_
syscall
+
1
);
id
=
((
inst
<<
1
)
&
0x0800
)
+
((
inst
<<
12
)
&
0xf000
)
+
((
inst
>>
20
)
&
0x0700
)
+
((
inst
>>
16
)
&
0x00ff
);
}
...
...
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