Question: Q 2 . 1 : Given the information from the GDB memory dump, what two lines get printed by q 2 ( ) ? Hint:
Q: Given the information from the GDB memory dump, what two lines get printed by q Hint: Try and find where the two constants are in the stack. What information in the GDB dump could you have used to find those constants, if you didn't know their actual values?
Hint: Remember that when printing a string, it prints characters at increasing memory addresses until we reach the NULL terminator byte x
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
