diff options
author | Your Name <you@example.com> | 2021-12-20 18:14:57 +0000 |
---|---|---|
committer | Your Name <you@example.com> | 2021-12-20 18:14:57 +0000 |
commit | d59a76261db02141dae06bf804fd0f84679f0d34 (patch) | |
tree | abe5e84e618ba5ae0a926bdd9e3a37cf2c4af4c7 /frida_mode/src/instrument/instrument_debug.c | |
parent | db19116ce692a7a317ee3e0f4a553f754465eb47 (diff) | |
download | afl++-d59a76261db02141dae06bf804fd0f84679f0d34.tar.gz |
Improvements to debug output
Diffstat (limited to 'frida_mode/src/instrument/instrument_debug.c')
-rw-r--r-- | frida_mode/src/instrument/instrument_debug.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/frida_mode/src/instrument/instrument_debug.c b/frida_mode/src/instrument/instrument_debug.c index b5fdf988..a1f80467 100644 --- a/frida_mode/src/instrument/instrument_debug.c +++ b/frida_mode/src/instrument/instrument_debug.c @@ -94,19 +94,15 @@ void instrument_debug_config(void) { void instrument_debug_init(void) { - FOKF("Instrumentation debugging - enabled [%c]", - instrument_debug_filename == NULL ? ' ' : 'X'); - - if (instrument_debug_filename == NULL) { return; } - - FOKF("Instrumentation debugging - file [%s]", instrument_debug_filename); + FOKF(cBLU "Instrumentation" cRST " - " cGRN "debugging:" cYEL " [%s]", + instrument_debug_filename == NULL ? " " : instrument_debug_filename); if (instrument_debug_filename == NULL) { return; } char *path = g_canonicalize_filename(instrument_debug_filename, g_get_current_dir()); - FOKF("Instrumentation debugging - path [%s]", path); + FOKF(cBLU "Instrumentation" cRST " - " cGRN "path:" cYEL " [%s]", path); debugging_fd = open(path, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP); |