diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-12-15 13:40:28 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-12-15 13:40:28 (GMT) |
commit | 124c8410dbfcad59d66b850c50c96ec73a607ab7 (patch) | |
tree | b7127c66abfccd11b9126741e2809a893ee44143 /plugins/androhelpers | |
parent | db1a6171007a6641a4659392c9bcc05670396643 (diff) |
Defined proper accesses to instructions loaded by a processor.
Diffstat (limited to 'plugins/androhelpers')
-rw-r--r-- | plugins/androhelpers/params.c | 2 | ||||
-rw-r--r-- | plugins/androhelpers/switch.c | 2 | ||||
-rw-r--r-- | plugins/androhelpers/try_n_catch.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/androhelpers/params.c b/plugins/androhelpers/params.c index c9b1109..20e0da9 100644 --- a/plugins/androhelpers/params.c +++ b/plugins/androhelpers/params.c @@ -194,7 +194,7 @@ bool replace_parameters(GLoadedBinary *binary) format = G_DEX_FORMAT(g_loaded_binary_get_format(binary)); proc = g_loaded_binary_get_processor(binary); - instrs = g_arch_processor_get_disassembled_instructions(proc); + instrs = NULL;//g_arch_processor_get_disassembled_instructions(proc); cls_count = g_dex_format_count_classes(format); for (i = 0; i < cls_count; i++) diff --git a/plugins/androhelpers/switch.c b/plugins/androhelpers/switch.c index 43b6ae1..0700cc8 100644 --- a/plugins/androhelpers/switch.c +++ b/plugins/androhelpers/switch.c @@ -398,7 +398,7 @@ bool extract_switch_info(GLoadedBinary *binary, bool link) format = G_DEX_FORMAT(g_loaded_binary_get_format(binary)); proc = g_loaded_binary_get_processor(binary); - instrs = g_arch_processor_get_disassembled_instructions(proc); + instrs = NULL;//g_arch_processor_get_disassembled_instructions(proc); cls_count = g_dex_format_count_classes(format); for (i = 0; i < cls_count; i++) diff --git a/plugins/androhelpers/try_n_catch.c b/plugins/androhelpers/try_n_catch.c index 28f7061..dbe0ef4 100644 --- a/plugins/androhelpers/try_n_catch.c +++ b/plugins/androhelpers/try_n_catch.c @@ -125,7 +125,7 @@ static void attach_caught_code(const GLoadedBinary *binary, const GBinRoutine *r end = start + try->insn_count * sizeof(uint16_t); proc = g_loaded_binary_get_processor(binary); - instrs = g_arch_processor_get_disassembled_instructions(proc); + instrs = NULL;//g_arch_processor_get_disassembled_instructions(proc); first = g_arch_instruction_find_by_address(instrs, start, true); next = g_arch_instruction_find_by_address(instrs, end, true); @@ -253,7 +253,7 @@ static caught_exception **build_all_destinations_list(const GLoadedBinary *binar format = G_DEX_FORMAT(g_loaded_binary_get_format(binary)); proc = g_loaded_binary_get_processor(binary); - instrs = g_arch_processor_get_disassembled_instructions(proc); + instrs = NULL;//g_arch_processor_get_disassembled_instructions(proc); instrs = g_arch_instruction_find_by_address(instrs, start, true); /* Création d'un espace mémoire pour les listes */ |