[tor-bugs] #9145 [Tor Browser]: Tor Browser for windows is borked because mingw, gcc, and Win32 ABI

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jan 18 20:03:14 UTC 2016


#9145: Tor Browser for windows is borked because mingw, gcc, and Win32 ABI
-------------------------------------------------+-------------------------
 Reporter:  dope457                              |          Owner:  tbb-
     Type:  defect                               |  team
 Priority:  High                                 |         Status:  new
Component:  Tor Browser                          |      Milestone:
 Severity:  Normal                               |        Version:
 Keywords:  tbb-crash, Windows, GCC, ABI,        |     Resolution:
  Hardware acceleration                          |  Actual Points:
Parent ID:                                       |         Points:
  Sponsor:                                       |
-------------------------------------------------+-------------------------

Comment (by cypherpunks):

 Why to support platform which intentionally hides real ABI thus breaking
 compatibility for everything but made by MSVC?
 [https://msdn.microsoft.com/en-us/library/984x0h58.aspx Microsoft
 Specific] (disinformation):
 > On x86 plaftorms, all arguments are widened to 32 bits when they are
 passed. Return values are also widened to 32 bits and returned in the EAX
 register, except for 8-byte structures, which are returned in the EDX:EAX
 register pair. Larger structures are returned in the EAX register as
 pointers to hidden return structures. Parameters are pushed onto the stack
 from right to left. Structures that are not PODs will not be returned in
 registers.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9145#comment:27>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list