Skip to content

Everybody Loves GDB

Take apart software with Tom

Tag: gdb

A Call Without a Call

Using the concepts we looked at in A For Loop Without a For Loop and A Simple Infinite Loop, we can call a different function rather than calling the same one in a loop. In this post, we are going to call a function within main(), by overwriting main()'s return address and replacing it with the … Continue reading A Call Without a Call →

Tom Uncategorized Leave a comment 11th Mar 2020 2 Minutes

A Simple Infinite Loop

Usually, you don't want to have something looping forever and ever. It serves no purpose. There has to be a condition when whatever needs to be done is finished and the loops stops. Unless we want to write a program to specifically do something it's not supposed to. Which is precisely what we will do … Continue reading A Simple Infinite Loop →

Tom Uncategorized 2 Comments 10th Mar 202021st Mar 2020 10 Minutes

Walk the Call Stack

Recently, I was working on a VMKernel core dump in which GDB's backtrace information for some threads was not reliable. This was due to a data structure holding the register values not having been updated before the kernel crashed. However, since whatever was running in the affected threads was probably still writing to the call … Continue reading Walk the Call Stack →

Tom Uncategorized Leave a comment 7th Mar 202026th Mar 2020 4 Minutes

Posts navigation

Older Posts
Newer posts
Blog at WordPress.com.
Everybody Loves GDB
Blog at WordPress.com.
  • Subscribe Subscribed
    • Everybody Loves GDB
    • Already have a WordPress.com account? Log in now.
    • Everybody Loves GDB
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...