-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
Component: pargsIssues related to pargs(1)Issues related to pargs(1)Priority: LowNice to haveNice to haveType: EnhancementA request, idea, or new functionalityA request, idea, or new functionality
Description
If we don't have access to /proc (e.g., a core dump without systemd-coredump metadata), recall that the initial stack layout places argc, then argv pointers, then envp pointers. We should be able to find the stack pointer from NT_PRSTATUS or by locating AT_EXECFN and scanning backward.
Open question: Should we try to use program_invocation_name? Is that available in all C libraries?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Component: pargsIssues related to pargs(1)Issues related to pargs(1)Priority: LowNice to haveNice to haveType: EnhancementA request, idea, or new functionalityA request, idea, or new functionality