[RFC] Throwing an exception with null pointers

Walter Bright newshound2 at digitalmars.com
Wed Apr 16 20:31:18 UTC 2025


On 4/16/2025 1:16 PM, Dave P. wrote:
> The 0 address on WASM is writable, which has burned me many times.

How that oversight was made seems incredible.

Anyhow, what you can do is allocate some memory at location 0, and fill it with 
0xDEAD_BEEF. Then, periodically, check to see if those values changed.


More information about the Digitalmars-d mailing list