GDB Logging Function Parameters, Part 2
In this second part on the topic, let us write a GDB script to log the parameters of a desired function, and also see how the application state can be modified by changing…
GDB: Logging Function Parameters, Part 1
Sometimes an application’s release version crashes in particular scenarios, but the debug version does not — and to make matters worse, the call-trace gets corrupted. It’s then very difficult to find the cause…
Modify-function-return-value hack! — Part 2
In my previous article on this topic, we discussed some guidelines on how to write a secure application in C. The article focused on functions defined in the application itself. Now, we will…
Modify-function-return-value Hack! — Part 1
Sometimes it’s helpful to think from a hacker’s perspective. The information obtained can be used to write better code and a secure application. An application shipped in release mode (without any debug information)…




