about summary refs log tree commit diff
path: root/frida_mode/include/frida_cmplog.h
diff options
context:
space:
mode:
Diffstat (limited to 'frida_mode/include/frida_cmplog.h')
-rw-r--r--frida_mode/include/frida_cmplog.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/frida_mode/include/frida_cmplog.h b/frida_mode/include/frida_cmplog.h
new file mode 100644
index 00000000..b620a472
--- /dev/null
+++ b/frida_mode/include/frida_cmplog.h
@@ -0,0 +1,14 @@
+#ifndef _CMPLOG_H
+#define _CMPLOG_H
+
+extern struct cmp_map *__afl_cmp_map;
+
+void cmplog_init(void);
+
+/* Functions to be implemented by the different architectures */
+void cmplog_instrument(const cs_insn *instr, GumStalkerIterator *iterator);
+
+gboolean cmplog_is_readable(guint64 addr, size_t size);
+
+#endif
+