mjhouse / deaf

A library for inspecting/modifying ELF binaries
GNU General Public License v3.0
7 stars 0 forks source link

RelocationInfo struct needs to be broken into a 64 and 32 bit version #34

Closed mjhouse closed 1 year ago

mjhouse commented 1 year ago

Is your feature request related to a problem? Please describe. RelocationInfo structs parse their internal fields by shifting the given value by 8, but this isn't always the case. Refer to this page under the r_info section. On 64 bit machines, this will fail.

Describe the solution you'd like Relocation info should be broken into two structs, one for 32 bit, and one for 64 bit machines.

Describe alternatives you've considered N/A

mjhouse commented 1 year ago

Resolved without breaking it up in PR #44