diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-07-16 00:17:48 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-07-16 00:17:48 (GMT) |
commit | a61f089babe336b012da31a494b0f7470b6e1a9a (patch) | |
tree | 0dccd2fe50375e84de49b1119a3feec68b6bd23d /src/arch/processor.h | |
parent | 46c8fd10ec5bff1ee1146a0b6a7aa7eb9f47a2da (diff) |
Used the binary contents a little bit more.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@551 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/processor.h')
-rw-r--r-- | src/arch/processor.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/arch/processor.h b/src/arch/processor.h index a856942..f7d474a 100644 --- a/src/arch/processor.h +++ b/src/arch/processor.h @@ -74,17 +74,7 @@ MemoryDataSize g_arch_processor_get_instruction_size(const GArchProcessor *); GArchInstruction *g_arch_processor_decode_instruction(const GArchProcessor *, GProcContext *, const bin_t *, off_t *, off_t, vmpa_t, GBinFormat *) __attribute__ ((deprecated)); /* Désassemble une instruction dans un flux de données. */ -GArchInstruction *g_arch_processor_disassemble(const GArchProcessor *, GProcContext *, const bin_t *, vmpa2t *, phys_t) __attribute__ ((deprecated)); - - - -#define g_arch_processor_disassemble_nextgen(_proc, _ctx, _cnt, _pos) \ - ({ \ - const bin_t *_bin_data; \ - off_t _bin_length; \ - _bin_data = g_binary_content_get(_cnt, &_bin_length); \ - g_arch_processor_disassemble(_proc, _ctx, _bin_data, _pos, _bin_length); \ - }) +GArchInstruction *g_arch_processor_disassemble(const GArchProcessor *, GProcContext *, const GBinContent *, vmpa2t *); |