about summary refs log tree commit diff
path: root/frida_mode/src/prefetch.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-12-20 21:30:55 +0100
committerGitHub <noreply@github.com>2021-12-20 21:30:55 +0100
commit6106efa30165ace5d36da36c79778b52935f186f (patch)
treeabe5e84e618ba5ae0a926bdd9e3a37cf2c4af4c7 /frida_mode/src/prefetch.c
parentdb19116ce692a7a317ee3e0f4a553f754465eb47 (diff)
parentd59a76261db02141dae06bf804fd0f84679f0d34 (diff)
downloadafl++-6106efa30165ace5d36da36c79778b52935f186f.tar.gz
Merge pull request #1223 from WorksButNotTested/frida
Improvements to debug output
Diffstat (limited to 'frida_mode/src/prefetch.c')
-rw-r--r--frida_mode/src/prefetch.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/frida_mode/src/prefetch.c b/frida_mode/src/prefetch.c
index 8c9ce94d..fa0288cc 100644
--- a/frida_mode/src/prefetch.c
+++ b/frida_mode/src/prefetch.c
@@ -178,8 +178,10 @@ static void prefetch_hook_fork(void) {
 
 void prefetch_init(void) {
 
-  FOKF("Instrumentation - prefetch [%c]", prefetch_enable ? 'X' : ' ');
-  FOKF("Instrumentation - prefetch_backpatch [%c]",
+  FOKF(cBLU "Instrumentation" cRST " - " cGRN "prefetch:" cYEL " [%c]",
+       prefetch_enable ? 'X' : ' ');
+  FOKF(cBLU "Instrumentation" cRST " - " cGRN "prefetch_backpatch:" cYEL
+            " [%c]",
        prefetch_backpatch ? 'X' : ' ');
 
   if (!prefetch_enable) { return; }