Laurent Bonnans c9d3cf71dd gdb_main.c: fix buffer overflow on large reads
When gdb issues a `m xx,200` command, the probe should respond with a
packet of size 2*0x200=1024 which is the size of the packet buffer.

However, the `hexify()` procedures writes 1025 bytes in the buffer.

During my tests, it caused the probe to hang when issuing a `dump`
command. Presumably by overwritting the `cur_target` variable.
2015-12-14 11:28:28 +01:00
2012-10-24 07:34:30 +13:00
2011-02-07 11:01:10 +13:00
2015-03-07 11:03:50 -08:00

See https://github.com/blacksphere/blackmagic/wiki
Description
Rework of Jeff black magic probe
Readme 13 MiB
Languages
C 95.5%
Python 3%
Makefile 1.3%
Assembly 0.2%