nakst / gf

A GDB frontend for Linux.
MIT License
1.82k stars 61 forks source link

GDB output parsing security #70

Open nakst opened 2 years ago

nakst commented 2 years ago

When debugging untrusted executables running on a remote target, it may be possible for the executable may send malicious output that causes gf to behave unexpectedly in its parsing code. The parsing code needs to be checked/fuzzed/etc.

(When I was writing the GDB output parsing code, this was not a concern because I was only expecting to use it to debug trusted executables. But now that gf has grown in popularity this needs to be addressed.)

nakst commented 2 years ago

EvaluateCommand