-
Notifications
You must be signed in to change notification settings - Fork 50
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
Loading ELF files #138
Loading ELF files #138
Conversation
ef90d59
to
ad8faea
Compare
&& section_header.sh_flags == (abi::SHF_ALLOC | abi::SHF_WRITE).into(); | ||
let is_text: bool = section_header.sh_type == abi::SHT_PROGBITS | ||
&& section_header.sh_flags == (abi::SHF_ALLOC | abi::SHF_EXECINSTR).into(); | ||
let is_useful: bool = is_data || is_bss || is_text; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is needed. I've removed this in https://github.com/valida-xyz/valida/pull/145/files and confirmed it works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've fix some warnings and remove is_useful
in https://github.com/valida-xyz/valida/pull/145/files. Please merge that before merging this if you are fine with that. Thanks!
Thanks @thealmarty ! The |
Closes: #135