Bringing MDBs walkers to GDB ( Matthew Malcomson) FOSDEM 2020
We introduce a GDB plugin for working with large data structures in the inferior. This plugin brings some of the flexibility of Unix pipelines to the GDB command prompt, providing the ability to conveniently run some action on every element in a data structure that matches certain criteria. One big aim of this plugin is to make it easy and convenient for a user to write their own subcommands to iterate over the data structures used in their own program. This is intended for anyone who has found difficulty inspecting large data structures from inside GDB. MDB the debugger on Solaris has a feature called walkers that is used to great effect when inspecting the contents of large data structures in the Solaris Kernel. We introduce a GDB plugin to provide the same type of functionality.
|
|