Hi Paul!

Thanks for the bug report.

* Paul Wise <p...@debian.org>, 2015-01-30, 15:16:
With terminals that use a white-on-black colour scheme (like the GNOME terminal), the error messages output by afl-fuzz are light grey on white and as such they are unreadable. Even if I select the text it remains unreadable. The solution might be to have those not printed with a background colour and printed in red like the PROGRAM ABORT part.

Or even simpler, use the default colour instead of white. The attached patch should fix this particular problem.

Note however, that this might be only tip of the iceberg. status_screen.txt advices against white-background colour schemes:

Unfortunately, the UI will render correctly only if your terminal is using traditional un*x palette (white text on black background) or something close to that.

If you are using inverse video, you may want to change your settings, say:

- For GNOME Terminal, go to Edit > Profile preferences, select the "colors" tab, and from the list of built-in schemes, choose "white on black".
[...]
Alternatively, if you really like your current colors, you can edit config.h to comment out USE_COLORS, then do 'make clean all'.

I'm not aware of any other simple way to make this work without causing other side effects - sorry about that.

--
Jakub Wilk
--- a/debug.h
+++ b/debug.h
@@ -41,7 +41,7 @@
 #  define cLBL "\x1b[1;34m"
 #  define cPIN "\x1b[1;35m"
 #  define cLCY "\x1b[1;36m"
-#  define cBRI "\x1b[1;37m"
+#  define cBRI "\x1b[0;1m"
 #  define cRST "\x1b[0m"
 
 #else

Reply via email to