Gdbinit v7.1.6

While searching the web for some GDB patches I stumbled upon this fix to assemble function from gdbinit by Tavis Ormandy (good work!). I modified it a little bit to work with Mac OS X. This function allows you to assemble directly (using nasm, Intel format) to running program or just output the correspondent opcodes for your assembly input. Type help assemble. Very useful to get the opcodes you need to patch the binary.

The other small fix is to rename thread function to threads. That was making it impossible to move between program threads.

That’s all for now 😄.
Have fun!

Ah… grab version 7.1.6 here: gdbinit-v7.1.6

The latest version can always be found here.