mjhouse / deaf

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

Create wrapper struct that represents a function symbol as Function/FunctionMut #47

Closed mjhouse closed 1 year ago

mjhouse commented 1 year ago

Is your feature request related to a problem? Please describe. SymbolItems are generic over data and functions, and there's no function-specific functionality on them.

Describe the solution you'd like This struct would provide additional function-specific methods and attributes: the name, visibility etc.

mjhouse commented 1 year ago

This probably isn't going to happen, because maintaining internal references/mutable references to other structs is so dicey. I'm thinking I'll take a more verbose but easier-to-reason-about approach and have functions be standalone until they're set back on a table.

mjhouse commented 1 year ago

Resolved by #50