About 56 results
Open links in new tab
  1. C Code how to change return address in the code?

    Apr 4, 2011 · Can you suggest me as to how to change the return address in the above program so that printf ("\nx is 1\n"); is skipped. I have posted this question because I don't know how to change the …

  2. get return address GDB - Stack Overflow

    Sep 2, 2015 · Now how do I get to the return address (RET) of the frame? To get the location of the stored return address of a specific function, you can place a breakpoint at that function and use the …

  3. How can I determine the return address on stack?

    Nov 7, 2009 · The relationship between the first parameter to a function and the position of the return address on the stack is far more likely to be a reliably fixed value than the relationship between a …

  4. How is return address specified in stack? - Stack Overflow

    Jun 5, 2014 · The return address is just the address directly after the parameters to the call instruction. To see what the return address is in your example above, you'd have to look at the stack as soon as …

  5. Frame pointer, epb, and return address - Stack Overflow

    Dec 13, 2010 · When the function is called. The return address is pushed onto stack and the stack pointer now points to return address. This is what happens inside the function: push ebp ; Push the …

  6. Can you mail a letter without a return address? - Answers

    Sep 15, 2023 · What is a return to sender letter? Example: if you send a letter in the mail and if there isn't a stamp, or if the address doesn't exist then they will send it back to you.

  7. How to get function return address within function?

    I assumed that "return address" refers to the executable code location to which control will be returned, not the value being return from the current function.

  8. How can you tell where a letter was mailed from if there is no return ...

    Sep 11, 2023 · The practical reason that you put a return address at the top of a business letter is so that a response can be sent.

  9. _AddressOfReturnAddress() equivalent in Clang/LLVM - Stack Overflow

    Aug 6, 2016 · 6 Visual C++ has an intrinsic function called _AddressOfReturnAddress which returns the address of the current function's return address on the stack. Note that this is not the same as …

  10. Buffer Overflow Return Address Attack

    Nov 18, 2022 · return 0; } I am trying to fill the buffer within foo() with random characters as well as the address of pass() such that the return address of foo() gets overwritten to the starting address of …