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)
Tue, Mar 17, 9:17 AM
Unknown Object (File)
Sat, Mar 14, 11:24 PM
Unknown Object (File)
Fri, Mar 13, 5:37 PM
Unknown Object (File)
Thu, Mar 12, 11:55 PM
Unknown Object (File)
Wed, Mar 11, 7:07 PM
Unknown Object (File)
Wed, Mar 11, 11:03 AM
Unknown Object (File)
Wed, Mar 11, 7:08 AM
Unknown Object (File)
Thu, Mar 5, 8:44 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