zero-ing is not enough

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 10 12:18:07 PDT 2014


On 9/10/2014 3:34 AM, Dominikus Dittes Scherkl wrote:
> On Tuesday, 9 September 2014 at 18:59:33 UTC, Walter Bright wrote:
>> 1. The compiler has -gx, which will "stomp" the stack upon function return.
> Nice. But this will be set for the whole program.
> But if I want to use e.g. a crypto-library, the rest of the program should not
> be slowed by stomping the stack all the time, only the library-functions that
> need this.

This is incorrect, it would apply only to the module being compiled. If you 
compile the crypto code with a separate command to dmd, then only that code is 
affected.



More information about the Digitalmars-d mailing list