The size of the object at 'addr' is unknown and might be smaller than
the size of a pointer (e.g. some x86 instructions are smaller than a
pointer). Instead, just check that the address is in the bounds of
the program header.
Details
Details
- some TLS tests failed under CHERI because function pointers can't (easily) be added to under CHERI that now pass, but examining the failure led to the notion that the sizeof() was arbitrary and not always correct.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable