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

Add ELF loading information #19

Open
ailrst opened this issue Aug 22, 2024 · 0 comments
Open

Add ELF loading information #19

ailrst opened this issue Aug 22, 2024 · 0 comments

Comments

@ailrst
Copy link
Contributor

ailrst commented Aug 22, 2024

This paper describes work formalising linking/ELF loading https://github.com/rems-project/linksem/blob/master/papers/oopsla-elf-linking-2016/oopsla-elf-linking-2016.pdf

Their ocaml library (that is at least partly code-extracted from the formal semantics?) seems fairly straightforward to use, we should load the elf table information this way and dump it into BASIL as JSON or similar. https://ocaml.org/p/linksem/0.8/doc/Elf_file/index.html

The functionality to produce memory images to begin execution is worth looking into.

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