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
2ace215b
Commit
2ace215b
authored
Jan 22, 2015
by
Charles Davis
Committed by
Alexandre Julliard
Jan 23, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Recognize 64-bit Mach-O modules, too.
parent
6f6e4249
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
module.c
dlls/kernel32/module.c
+3
-2
No files found.
dlls/kernel32/module.c
View file @
2ace215b
...
...
@@ -289,10 +289,11 @@ void MODULE_get_binary_info( HANDLE hfile, struct binary_info *info )
}
}
/* Mach-o File with Endian set to Big Endian or Little Endian */
else
if
(
header
.
macho
.
magic
==
0xfeedface
||
header
.
macho
.
magic
==
0xcefaedfe
)
else
if
(
header
.
macho
.
magic
==
0xfeedface
||
header
.
macho
.
magic
==
0xcefaedfe
||
header
.
macho
.
magic
==
0xfeedfacf
||
header
.
macho
.
magic
==
0xcffaedfe
)
{
if
((
header
.
macho
.
cputype
>>
24
)
==
1
)
info
->
flags
|=
BINARY_FLAG_64BIT
;
if
(
header
.
macho
.
magic
==
0xcefaedfe
)
if
(
header
.
macho
.
magic
==
0xcefaedfe
||
header
.
macho
.
magic
==
0xcffaedfe
)
{
header
.
macho
.
filetype
=
RtlUlongByteSwap
(
header
.
macho
.
filetype
);
header
.
macho
.
cputype
=
RtlUlongByteSwap
(
header
.
macho
.
cputype
);
...
...
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