So the issue isn't that & is working incorrectly, the issue is that the address of main according to gcc is given as 0x8391 and this seems to not be what we want. (gdb has a different idea of main's address, for instance - 0x8396.)
So the issue isn't that & is working incorrectly, the issue is that the address of main according to gcc is given as 0x8391 and this seems to not be what we want. (gdb has a different idea of main's address, for instance - 0x8396.)