Page MenuHomeFreeBSD

kboot: Save the upper limit of the call stack.
ClosedPublic

Authored by imp on Apr 16 2025, 7:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 12, 9:31 PM
Unknown Object (File)
Tue, Dec 9, 8:58 AM
Unknown Object (File)
Mon, Dec 8, 7:59 PM
Unknown Object (File)
Tue, Dec 2, 11:00 AM
Unknown Object (File)
Nov 24 2025, 8:59 PM
Unknown Object (File)
Nov 24 2025, 8:15 PM
Unknown Object (File)
Nov 24 2025, 8:15 PM
Unknown Object (File)
Nov 24 2025, 8:14 PM
Subscribers

Details

Summary

The location of argc argument is a fine limit for the extent of the
stack traceback. We could save the location of return address for the
call to _start_c, but we'd have to move that into MD assembler. While
not hard, it wouldn't improve the traces we can get. And the math to
find it is architecture dependent (though the same for both arm64 and
amd64).

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 63543
Build 60427: arc lint + arc unit