summaryrefslogtreecommitdiff
path: root/tools/d2c/hooks/manager.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-10-28 19:40:19 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-10-28 19:40:19 (GMT)
commit0f0cb560006c0ef5eb690f89c4ce720936c9d6f6 (patch)
tree09a09248b4da91cbebae8609249d02f3fbef1ef3 /tools/d2c/hooks/manager.h
parent3e6c0fb01710f61e8dc9383de6be4db1188b3ee6 (diff)
Stored instruction hooks in the data section rather than in the heap.
Diffstat (limited to 'tools/d2c/hooks/manager.h')
-rw-r--r--tools/d2c/hooks/manager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/d2c/hooks/manager.h b/tools/d2c/hooks/manager.h
index 97bd388..1a50d0a 100644
--- a/tools/d2c/hooks/manager.h
+++ b/tools/d2c/hooks/manager.h
@@ -43,6 +43,9 @@ void delete_instr_hooks(instr_hooks *);
/* Enregistre l'utilité d'une fonction pour une instruction. */
void register_hook_function(instr_hooks *, char *, char *);
+/* Déclare des opérations complémentaires pour une instruction. */
+bool declare_hook_functions(const instr_hooks *, bool, int);
+
/* Associe dans le code des fonctions à une instruction. */
bool write_hook_functions(const instr_hooks *, bool, int);