This is what I see, parsing function(1,2,3); for the operator function(1,2,3); :
movl $0x3,0x8(%esp) movl $0x2,0x4(%esp) movl $0x1,(%esp) call 0x4012d0 <_Z8functioniii>
It seems that the ret address didn't hit the stack at all, then how does ret work?
assembly stack calling-convention
Mask
source share