top | item 45883724 (no title) Measter | 3 months ago Only if that memory page is unmapped, and only if the optimizer doesn't detect that it's a null pointer and start deleting verification code because derefing null is UB, and UB is assumed to never happen. discuss order hn newest charlie90|3 months ago How common is this in practice? adrianN|3 months ago Compilers regularly delete null pointer checks when they can see that the pointer is dereferenced. load replies (1)
charlie90|3 months ago How common is this in practice? adrianN|3 months ago Compilers regularly delete null pointer checks when they can see that the pointer is dereferenced. load replies (1)
adrianN|3 months ago Compilers regularly delete null pointer checks when they can see that the pointer is dereferenced. load replies (1)
charlie90|3 months ago
adrianN|3 months ago