[tor-bugs] #22477 [Core Tor/Tor]: Add -Wl, --large-address-aware to tor-for-Windows build chain
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Jun 23 17:25:18 UTC 2017
#22477: Add -Wl,--large-address-aware to tor-for-Windows build chain
--------------------------+------------------------------------
Reporter: tom | Owner:
Type: defect | Status: new
Priority: Low | Milestone: Tor: 0.3.2.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: win32 | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------------------
Comment (by cypherpunks):
Replying to [ticket:22477 tom]:
> This linker flag
It's a compiler flag.
> gives a 32 bit application the full 4GB address space,
App always has it, but not always handles it properly.
> effectively doubling the randomization provided by ASLR and making heap
spraying slightly more difficult.
Things are not so obvious as you think.
> -
https://sourceforge.net/p/mingw-w64/mailman/mingw-w64-public/thread/51DF8445.9050105@gmail.com/
It's a bad design, when linker automatically sets it, but doesn't allow to
pass it.
> tor-for-Windows build chain
Firefox's chain, Tor Browser's chain, TBB's (incl. Expert?) chain, and
then that. First chain has it, second - inherits, third - only for
Firefox, fourth - not a TBB Team's problem? And this ticket doesn't
improve TBB then.
Somebody should synchronize 'em all.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22477#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list