Add various helper methods to SymbolItem that will allow users to quickly check types, binding, get the body of functions, get data from object symbols etc. Note: In the following list, &binary and &mut binary mean the overall ELF binary struct that will be written as part of issue #24.
[x] Add data/data_mut methods
[x] Returns the body of function-type symbols
[x] Returns the data of object-type symbols (as strings/integers etc?)
[x] Add section/section_mut methods
Get the section of the symbol given a &binary/&mut binary param
[ ] ~Add name and set_name methods to get the string name~
~Rename current name method to be name_index or something~
~The name and set_name methods take a &binary/&mut binary~
Add various helper methods to SymbolItem that will allow users to quickly check types, binding, get the body of functions, get data from object symbols etc. Note: In the following list, &binary and &mut binary mean the overall ELF binary struct that will be written as part of issue #24.
data
/data_mut
methodssection
/section_mut
methods&binary
/&mut binary
paramname
andset_name
methods to get the string name~name_index
or something~name
andset_name
methods take a&binary
/&mut binary
~