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

rust: Add support for parsing ELF files #200

Merged
merged 7 commits into from
Jul 7, 2022
Merged

rust: Add support for parsing ELF files #200

merged 7 commits into from
Jul 7, 2022

Conversation

flaub
Copy link
Member

@flaub flaub commented Jul 7, 2022

No description provided.

@flaub flaub requested review from shkoo and jbruestle July 7, 2022 07:34
@flaub flaub self-assigned this Jul 7, 2022
Base automatically changed from flaub/bazgo to main July 7, 2022 17:31
Copy link
Contributor

@shkoo shkoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat! Could we add a test to make sure this can get some info out of a compiled method?

@flaub
Copy link
Member Author

flaub commented Jul 7, 2022

Yes, tests are upcoming. I have them but they are in later PRs which include integration with cirgen.

@flaub flaub enabled auto-merge (squash) July 7, 2022 18:32
@mitchellharper12
Copy link

This is a PR that's reminding me we need at least some place to write down itemized threats for our libraries. I don't see a need to block this PR right now, but anything doing parsing of as complex a format as ELF we will want written review and documentation of how we are using the library and potential points for things parser confusion if there's drift between our parser and the VM loader, weird header tricks that could lead to unexpected behavior, etc.

Copy link
Contributor

@shkoo shkoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok!

@flaub flaub merged commit b10f733 into main Jul 7, 2022
@flaub flaub deleted the flaub/elf branch July 7, 2022 23:04
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 this pull request may close these issues.

None yet

3 participants