Why is a function executed from the same memory address each time?
Posted
by Mask
on Stack Overflow
See other posts from Stack Overflow
or by Mask
Published on 2010-03-31T19:29:37Z
Indexed on
2010/03/31
19:33 UTC
Read the original article
Hit count: 468
disassembling
|memory-management
I'm disassembling an executable:
(gdb) disas main
Dump of assembler code for function main:
0x004012d0 <main+0>: push %ebp
0x004012d1 <main+1>: mov %esp,%ebp
...
Each time the memory address is the same:0x004012d0
.
Isn't the memory address to be dynamically assigned by the OS?
© Stack Overflow or respective owner