hugsy / gef-extras

Extra goodies for GEF to (try to) make GDB suck even less
https://hugsy.github.io/gef-extras
MIT License
148 stars 50 forks source link

Add support for BlackMagicProbe #99

Closed Grazfather closed 5 months ago

Grazfather commented 5 months ago

Description/Motivation/Screenshots

This adds three things:

gef-bmp-remote command, to connect to a black magic probe. This is its own command because it connects to a tty instead of a host/port.

GefBMPRemoteSessionManager, which handles connecting and such.

ARMBlackMagicProbe, a new arch, which handles its own memory management and has different register names that e.g. openocd.

How Has This Been Tested ?

Using my black magic probe to connect, attach, and successfully debug a target.

Checklist

hugsy commented 5 months ago

Can you add some docs? For new people to use it