"Kamil Rytarowski" writes: > Module Name: src > Committed By: kamil > Date: Wed May 1 17:02:40 UTC 2019 > > Modified Files: > src/sys/kern: sys_ptrace_common.c > > Log Message: > Disallow resuming program with PC=0x0 in ptrace(2) > > If the address parameter is 0, report error. > It's a popular mistake to set Program Counter to 0x0. > In certain kernels this is allowable parameter and causes > portability issue. > > Disallow explicitly zeroed PC, instead of triggering > a harder to debug crash later.
VA 0 can be valid executable code on some platforms. .mrg.