I'm trying to find the pointer's memory address of a global variable on my C
program.
It looks something like that:
int target;
int main(){
return 0;
}
I tried to use objdump -t
on the binary code and I got got:
0000000000004014 g O .bss 0000000000000004 target
Does 0000000000004014
is the actual pointer address? When I ran
printf("%p",&target);
the pointer value kept changing each time. Am I missing something?
Any help will be great ;)