Elf symbols 0.3.0
A new release of elf-symbols script. The new version brings the stuff mentioned in the previous article and few more fixes and changes.
CHANGELOG
- Reworked the bit offset from the left
- I had a huge misunderstanding on how this works, so when I was converting it to the offset from right I did not account for the actual bit size which created a huge headache when trying to print the correct bit masks.
- Parse and print static function variables
- Also print variables defined in lexical blocks (between “{}”)
- The linkage_name of these variable is often manged, so print it.
- Add option to print the mangled name of the variable
- This is useful in combination with parting static variables inside functions where apart from a nice name there is also linage_name available which specifies where the variable belongs in the code.
- So far, I do not plan to write any demangler in the near future.
- Update licensing information
- Play a little with README
- I tried to rewrite it to look more like a real project.
All of the changes can be seen in the git logs.
Thoughts
The script is improving, gaining new features with each usage as I find new bugs or edge case with embedded toolchains.
Short imaginary TODO list is:
- Fix bugs which will popup.
- Refactor the code.
- Add some control for the output
- Print more stuff (I forgot about the reference type, again)