News for hackers. Stuff that matters.
Re:WebAssembly doesn’t make unsafe languages safe by int_19h on Sunday November 25, 2018 @11:06PM (#18530986)
> Also, my understanding is that whether the platform has useful things at address 0 falls in the category of "implementation defined".

If address zero is a null pointer, then IIRC no allocated object, whether static, automatic or heap, can have that address - i.e pointers to them must always compare unequal to nullptr.

If null pointer is something other than address zero, then it's just a regular address, and can have anything - it's not even "implementation defined", not anymore so than saying that e.g. 0x12345678 is a valid object address on x86.

There are no comments on this comment yet.