Typical security issues in C++: why the GC isn't your enemy

Adam D Ruppe destructionator at gmail.com
Mon Dec 12 13:22:56 UTC 2022


On Monday, 12 December 2022 at 12:23:08 UTC, Basile B. wrote:
> The problem would be then that there's no way to disable 
> assertions, so we also need
>
>     -assertion={on|off}

Already there:

   -check=[assert|bounds|in|invariant|out|switch][=[on|off]]
                     enable or disable specific checks
   -checkaction=[D|C|halt|context]
                     behavior on assert/boundscheck/finalswitch

> And then we can drop -release.

-release should never have existed. It is absolutely unacceptable 
to ever use is in real world code under any circumstances.


More information about the Digitalmars-d mailing list