Am trying to understand why is the instruction:
pushl 0x4013ea
not pushing the value expected but rather I have this on the stack:
(gdb) x/wx $esp
0x22ff18: 0xc3899090
I am on windows using gdb if that could help
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I would bet that 0x4013ea is being treated as a memory address, therefore, the value at that address is being pushed onto stack rather than the literal value itself.
try
pushl $4013ea(might need to include 0x, depends on your assembler syntax)