cole14 / rust-elf

Library for parsing ELF files for Rust
Other
234 stars 45 forks source link

Make all fields of Symbol public #38

Closed igelado closed 7 months ago

igelado commented 7 months ago

When working with non-standard ELF files, the st_info and st_other fields in the symbol entry might be used to store format-specific information. Since the meaning of these values are defined by the specific format, it seems non-practical to use a set of methods to access this information.

This pull request makes both symbols fields public and, thus, accessible by the application code reading the non-standard ELF file.

cole14 commented 7 months ago

Thanks for the PR. I manually merged in the functional commit.