A misaligned frame pointer is certainly not a valid frame pointer and can cause panics when it is loaded from later in the code.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
can cause panics when it is loaded from later in the code.
Not unless you turn on the bit for trapping on unaligned accesses. It's only a problem for downstream CHERI where you don't get unaligned capabilities.
Comment Actions
I think you either want __is_aligned or to define is_aligned in FreeBSD. I only see is_aligned in CheriBSD.