Skillset can help you prepare! Sign up for your free Skillset account and take the first steps towards your certification.
Which mechanism tells a program where to return after executing a function ?
Executable code
A return point
Memory register
A code variable
The correct response is return point (aka return address). The return point tells the program were to return after executing a function. The canonical method for exploiting a stack based buffer overflow is to overwrite the function return address with a pointer to attacker-controlled data (usually on the stack itself). https://en.wikipedia.org/wiki/Stackbufferoverflow (EDIT) This is confusing to me because I thought that the return point is typically pushed to a memory register? That's typically where the return point is found. This question is nonsense. "return point" is the one a name for the return address, but is definitely no "mechanism". One mechanism is to push the return address on the stack before calling the function and pop once the function completes. In this sense, you could also say that the return address on the stack is a (system generated) variable.
Train with Skillset and pass your certification exam. Faster. Guaranteed.
Study thousands of practice questions that organized by skills and ranked by difficulty.
Create a tailored training plan based on the knowledge you already possess.
Know when you’re ready for the high-stakes exam. Have the confidence that you will pass on your first attempt.