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:

Why is your open source project still hosted on GitHub?

Perhaps the younger generation don't know anything about the past "evils" of Microsoft and naively believe that Microsoft is now the good friend to open source, but the truth is that all Microsoft acquisitions of open source projects is a busi…

via unixdigest.com May 22, 2025

StarFive VisionFive v2 and FreeBSD

This week I powered up the StarFive VisionFive v2 board that I have. I figured I would give FreeBSD another whirl on it, in the vague hope that RISC-V boards are a more cohesive family than ARM boards were five years ago. tl;dr: I didn’t get it to work as…

via [bobulate] May 20, 2025

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