RaasAhsan / elf

Read and manipulate ELF objects
Apache License 2.0
1 stars 0 forks source link

Design a high-level API for ELF files #1

Open RaasAhsan opened 1 year ago

RaasAhsan commented 1 year ago

The low-level structs cast byte arrays directly into a C-repr struct. This greatly simplifies parsing, but leaves much to be desired in terms of semantic typing and validation. Aligned access and conversion to named strings is also somewhat annoying.

RaasAhsan commented 1 year ago

We could resolve section references to an actual Rust reference. Parse values into enums (leaving opportunity for extensions.