[Issue 5176] Limit static object sizes
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon May 20 00:59:00 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5176
9999 <sibaqexozequgaba at tempomail.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sibaqexozequgaba at tempomail.
| |fr
--- Comment #28 from 9999 <sibaqexozequgaba at tempomail.fr> 2013-05-20 00:58:57 PDT ---
Copying my comment from the forums so it won't get lost:
(http://forum.dlang.org/post/fuqkpmkfdjxwgmzfizuu@forum.dlang.org)
Isn't the solution as easy as doing:
OR PTR:[address], 0
the same way it's done for the stack?
The offset it known at compile time in most cases, so the command
would be required only if both:
* The object is larger than target OS' guard page size.
* The position is greater than target OS' guard page size, OR is
unknown at compile time.
Walter: "Not a bad idea." :)
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list