Please suggest some website or some book that deals with these topics in really good detail.
I need to have a better understanding of th开发者_高级运维ese concepts (in reference to C++):
- stack and heaps
- symbol tables
- implementation of scope rules
- implementation of function calls
You could read the Dragon Book, but I guess it might be too much.
For calling functions, this Wikipedia page is great: x86 calling conventions - it explains the various ways to translate function calls to assembly.
Also, this Wikibook on x86 Disassembly, has some interesting pages on this topic:
- The stack
- Calling convention examples
Try online version of the "Linkers &Loaders" book. Chapter 11 may help you with these concepts w.r.t C++. A very good book to get your fundamentals right. Try Gustavo's excellent blog to understand concepts of memory management (stack, heap and a lot more).
精彩评论