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, Oct 3, 4:43 PM
Unknown Object (File)
Thu, Oct 2, 2:38 PM
Unknown Object (File)
Thu, Oct 2, 12:10 PM
Unknown Object (File)
Wed, Oct 1, 11:00 AM
Unknown Object (File)
Tue, Sep 30, 7:02 PM
Unknown Object (File)
Tue, Sep 30, 8:57 AM
Unknown Object (File)
Thu, Sep 25, 7:30 PM
Unknown Object (File)
Wed, Sep 24, 10:13 AM
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 Not Applicable
Unit
Tests Not Applicable