/* Use GDB to get this program to print "You are a wizard" (we did this in class yesterday!). Notes: 1. set a breakpoint in blah 2. run (until the above breakpoint) 3. determine the address of the function wizard() 4. find out where the return address is located in memory. The return address will be the address of the "return(1)" statement in main. 5. replace the return address with the address of wizard(). 6. continue the program in gdb ("continue"), and verify that it prints out "You are a wizard". */ #include void wizard() { printf("You are a wizard\n"); } void blah() { int x,y; x = y + 3; } int main(){ blah(); return(1); }