Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider adding stacktraces to permissive mode logs #406

Open
ayrtonm opened this issue Oct 2, 2024 · 1 comment · May be fixed by #434
Open

Consider adding stacktraces to permissive mode logs #406

ayrtonm opened this issue Oct 2, 2024 · 1 comment · May be fixed by #434
Assignees

Comments

@ayrtonm
Copy link
Contributor

ayrtonm commented Oct 2, 2024

This could be a minimal stack trace that only includes functions up to the previous compartment transition. Also if it's optional it might be feasible to require -fno-omit-frame-pointers to use this which would simplify walking the stack since we wouldn't have to parse .eh_frame_hdr stuff.

@ayrtonm
Copy link
Contributor Author

ayrtonm commented Oct 2, 2024

Using frame pointers may or may not be feasible depending on whether some dependencies like libc or ld.so are usually built with them or not.

@ayrtonm ayrtonm linked a pull request Oct 7, 2024 that will close this issue
@ayrtonm ayrtonm self-assigned this Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant