x86 code execution after call/return/jmp etc?

后端 未结 3 2156
死守一世寂寞
死守一世寂寞 2021-01-24 09:26

I hope this question isn\'t to stupid cause it may seem obvious. As I\'m doing a little research on Buffer overflows I stumble over a simple question:

After going to a n

3条回答
  •  庸人自扰
    2021-01-24 09:57

    While the CPU is processing instructions, it does increment eip by appropriate size of last executed instruction automatically (unless overridden by one of those jmp/j[condition]/call/ret/int/... instructions).

    That's what i wanted to know.

    I'm well aware that thers more Stuff arround (NX Bit, Pipelining ect).

    Thanks everybody for their replys

提交回复
热议问题