diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-11-28 18:30:12 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-11-28 18:30:12 (GMT) |
commit | 4da58817622d6c4c35e4cd4e6a99111065a87f54 (patch) | |
tree | 4af154a7c68a4f9034700a945df692ccf1313650 /plugins/ropgadgets/helper_arm.h | |
parent | 43c13d32ebaec164879dfadcdf2e341fbce26887 (diff) |
Adapted ROP finding to architectures in a better way.
Diffstat (limited to 'plugins/ropgadgets/helper_arm.h')
-rw-r--r-- | plugins/ropgadgets/helper_arm.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/ropgadgets/helper_arm.h b/plugins/ropgadgets/helper_arm.h index cb2021f..c9f3892 100644 --- a/plugins/ropgadgets/helper_arm.h +++ b/plugins/ropgadgets/helper_arm.h @@ -30,7 +30,13 @@ /* Etablit une liste des contextes utiles à la recherche. */ -GProcContext **get_rop_contexts_for_arm(const GArchProcessor *, char ***, size_t *); +size_t list_rop_contexts_for_arm(char ***); + +/* Etablit un contexte utile et adapté à une recherche. */ +GProcContext *get_rop_contexts_for_arm(const GArchProcessor *, size_t); + +/* Définit les tailles possibles d'une instruction recherchée. */ +const phys_t *setup_instruction_sizes_for_arm(size_t *); |