ghidra/Ghidra/Debug/Debugger-agent-gdb
Robert Xiao aaba1de99d GDB: Fix parsing of \e and \a
The GDB "printchar" function encodes \x1b as \e and \x07 as \a, both of which
are not handled by StringEscapeUtils.unescapeJava. Strings that contain these
escape characters were incorrectly decoded as "e" and "a" respectively.

Switch to a simple decoding loop instead. The cases here match precisely with
the escape characters used in GDB's printchar function - in particular, there
are no hex escapes, and all octal escapes are exactly three digits long.
2022-04-21 14:11:20 -07:00
..
data/scripts GP-1028: Moved define_info_proc_mappings from resources/ to data/ 2021-06-09 09:56:47 -04:00
src GDB: Fix parsing of \e and \a 2022-04-21 14:11:20 -07:00
build.gradle GP-0: Fixing a build issue with jna jar 2022-01-27 10:56:54 -05:00
certification.manifest GP-1387: Porting GDB/SSH to JSch 2021-10-20 10:06:58 -04:00
Module.manifest GP-1387: Porting GDB/SSH to JSch 2021-10-20 10:06:58 -04:00