HomeFreeBSD

Stack unwinding robustness fixes for RISC-V.

Description

Stack unwinding robustness fixes for RISC-V.

  • Push the kstack_contains check down into unwind_frame() so that it is honored by DDB and DTrace.
  • Check that the trapframe for an exception frame is contained in the traced thread's kernel stack for DDB traces.

Reviewed by: markj
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D27357

Details

Provenance
jhbAuthored on
Reviewer
markj
Differential Revision
D27357: Stack unwinding robustness fixes for RISC-V.
Parents
rS368453: Missed adding netgraph to mtree in r368443:
Branches
Unknown
Tags
Unknown