CHAPTER 10. POINTERS CHAPTER 10. POINTERS
Let’s see this in OllyDbg:
Figure 10.1:OllyDbg: global variables addresses are passed tof1()
First, global variables’ addresses are passed tof1(). We can click “Follow in dump” on the stack element, and we can see
the place in the data segment allocated for the two variables.