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

Determine elf proc stack size by inspecting binary #51

Open
mullr opened this issue Aug 14, 2019 · 1 comment
Open

Determine elf proc stack size by inspecting binary #51

mullr opened this issue Aug 14, 2019 · 1 comment

Comments

@mullr
Copy link
Collaborator

mullr commented Aug 14, 2019

We currently hardwire elf procs to have a 64k stack. We have the opportunity to find out their actual required stack size, using the keep-stack-sizes compiler directive (perhaps aided by https://crates.io/crates/stack-sizes) and some kind of call graph analysis, to figure out the maximum possible stack size. (This will break on recursive code, which is actually desirable. We at least want an explicit opt-out for that.)

@mullr mullr changed the title Determine elf proc stack size with build output Determine elf proc stack size by inspecting binary Aug 14, 2019
@mullr
Copy link
Collaborator Author

mullr commented Aug 15, 2019

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

No branches or pull requests

1 participant