![]() ![]() It would be nice to be able to recompile the program with debugging information. or can it? Let’s try to debug the program and find out. The user can’t control the key variable, and therefore cannot make the if statement evaluate as True…. On first glance it seems like we’re stuck. If they’re equal, it prints the flag, otherwise it exits. Finally, it compares the input integer key to the hex value 0xcafebabe. Then func() accepts up to 32 characters of input from the user. We can see the main() function calls a function func() with the 32-bit hexidecimal value 0xdeadbeef. ![]()
0 Comments
Leave a Reply. |