Re:“Unexplainable” core dump (2011)
by 3836293648 on Wednesday January 04, 2023 @12:51AM
(#34242472)
You can check if the address is 0, but the value of the nullptr is implementation definied behaviour. You can have a system where the null pointer is 4.
And address 0 isn't too special on a machine level either. Embedded systems have valid data to read and write there.
And address 0 isn't too special on a machine level either. Embedded systems have valid data to read and write there.