Linked by Thom Holwerda on Thu 29th Nov 2007 21:22 UTC, submitted by Steven Edwards
Mac OS X On the Wine mailing list, there is some interesting information on Leopard's apparent ability to load basic Windows binaries. "When tracking down a crash in the kernel32 loader test, Dmitry found a bug in the Mac OS loader when Wine tried to load his dummy PE file. Upon further research I found that the Mac loader seems to have its own undocumented PE loader built in. I did some further testing with a Windows binary and got some really interesting results." The first thought was that this was a remnant from Mac OS X' EFI support, but upon further investigation, this really seems like new, Leopard-specific behaviour: "This is new to Leopard. On Tiger, dlopen rejects PE files as expected. The Wine testing that Steven was originally trying to do would probably not crash on Tiger." Apparently, Apple is trying its best to hide this behaviour.
Thread beginning with comment 287592
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: legal?
by gman1223 on Thu 29th Nov 2007 21:55 UTC in reply to "legal?"
gman1223
Member since:
2007-11-25

I find it hard to believe mac could do it on their own. look how long its taken wine to get to the point it's at now. Then you have to ask yourself, if Apple didn't get the documention from microsoft, why would they go to all the trouble to reverse engineer the windows api like that? Instead of promoting/trying to get people to port stuff to their own system.

Reply Parent Score: 1

RE[2]: legal?
by flanque on Thu 29th Nov 2007 22:26 in reply to "RE: legal?"
flanque Member since:
2005-12-15

Research I'd imagine. A lot of companies do these sorts of things just to learn more. The great ideas become a product then. Take Google for instance.

Reply Parent Score: 3

RE[2]: legal?
by KugelKurt on Thu 29th Nov 2007 23:07 in reply to "RE: legal?"
KugelKurt Member since:
2005-07-06

Loading PE binaries is not the same as reverse engineering the Windows API.

Reply Parent Score: 7

RE[2]: legal?
by wirespot on Fri 30th Nov 2007 13:39 in reply to "RE: legal?"
wirespot Member since:
2006-06-21

I find it hard to believe mac could do it on their own.


What Apple has and the Wine team doesn't is complete access to the Windows XP API. The 1997 agreement between Apple and Microsoft (which ran until 2002) covered cross-licensing technology between the two companies. Windows XP shipped in 2001.

I'll let Robert Cringely explain the rest:
http://www.pbs.org/cringely/pulpit/2006/pulpit_20060420_000893.html
I'm told Apple has long had this running in the Cupertino lab -- Intel Macs running OS X while mixing Apple and XP applications. This is not a guess or a rumor, this something that has been demonstrated and observed by people who have since reported to me.


So it's not a question of whether Apple can do this, it's whether they'd have enough reasons to do it.

Reply Parent Score: 6