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
    • The original dwex code is under BSD
    • My code is from now on under GPLv3
  • 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)

Articles from blogs I follow:

Stop telling people to sanitize user input

Whether you're dealing with a web application or some other application, all user input should always be considered "hostile" and "dangerous", but you should not just universally sanitize user input.

via Unix Digest - Articles March 7, 2026

GPG Update 2026

A recent toot of mine got the response “friends don’t let friends use GPG” which, I suppose, is true enough. It certainly isn’t the attestation-friendly thing to use, and the opsec failures that are so easy with GPG-encrypted mail make it a hazard there. …

via [bobulate] February 3, 2026

Steve Ballmer was an underrated CEO

There's a common narrative that Microsoft was moribund under Steve Ballmer and then later saved by the miraculous leadership of Satya Nadella. This is the dominant narrative in every online discussion about the topic I've seen and it's a commo…

via danluu.com October 28, 2024

Generated by openring