I am doing a reverse homework. see the following pictures:
as can be seen from this picture, before call push touch3
, "saved rip" is at 0x5561dca8, which is equal to the current rsp(0x5561dca8).
once called push touch3
, the "saved rip" is at 0x5561dca0, which is also equal to new rsp(0x5561dca0).
My question is, why push instruction changed the "saved rip" address.