Elektrine lite

← Feed

@iralmeida@mastodon.gamedev.place

Post #2285593

2025-11-27 09:28 UTC

@rovarma@mastodon.gamedev.place I'm not too sure actually! Most of the things (dwarf, rax etc) I have heard about before, the eh_frame I hadn't, so I learned sth! :D I got some more understanding from the linked article with "more details", so I think I may be too fuzzy about stack frames, the structure of binaries and how do debug symbols really work. Then I'm trying to decode rather than reading the articles because I'm trying to piece together the context/domain of the optimization. Does it match your guess?

Replies (2)

  • @rovarma@mastodon.gamedev.place I spent the day revisiting how computers work, it was too fuzzy! 🙈 Thankfully I got @brendangregg 's Systems Performance book to the rescue (thx!) plus some intel processor manual. so now I got +1 wisdom for stack frames and traces 🥳 But I got to say, I find it really complicated regarding differences between architectures and the frame pointer being optional and the different methods for stack walking.

    Open ##2285595

  • @iralmeida@mastodon.gamedev.place > Does it match your guess? Yep! It’s one of the things I was worried about. I originally had a section at the start explaining the basics of stack frames, frame pointers etc. But a single section can’t really do it justice, it needs a full article by itself, so I scrapped it. The end result is indeed that some basic knowledge about stacks is needed :-( Awesome that you read up on it and were able to follow it afterwards! Glad you liked it :-)

    Open ##2285602