diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2010-04-05 19:07:25 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2010-04-05 19:07:25 (GMT) |
commit | b6fd6dc823615aaee8661e8e2365181c1ea1775f (patch) | |
tree | 57ee33afad87be2b4ca34ba74a288d82a2bd5b3d /src/arch/x86/op_pop.c | |
parent | 7cbdd17b441b35d48624956aa438bde69f18bc37 (diff) |
Supported some extra opcodes : popa and arpl.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@147 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/x86/op_pop.c')
-rw-r--r-- | src/arch/x86/op_pop.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/arch/x86/op_pop.c b/src/arch/x86/op_pop.c index c362898..04b49e6 100644 --- a/src/arch/x86/op_pop.c +++ b/src/arch/x86/op_pop.c @@ -67,3 +67,31 @@ GArchInstruction *x86_read_instr_pop_r1632(const bin_t *data, off_t *pos, off_t return result; } + + +/****************************************************************************** +* * +* Paramètres : data = flux de données à analyser. * +* pos = position courante dans ce flux. [OUT] * +* len = taille totale des données à analyser. * +* addr = adresse virtuelle de l'instruction. * +* prefix = éventuel(s) préfixe(s) remarqué(s). * +* proc = architecture ciblée par le désassemblage. * +* * +* Description : Décode une instruction de type 'popa'. * +* * +* Retour : Instruction mise en place ou NULL. * +* * +* Remarques : - * +* * +******************************************************************************/ + +GArchInstruction *x86_read_instr_popa(const bin_t *data, off_t *pos, off_t len, vmpa_t addr, X86Prefix prefix, const GX86Processor *proc) +{ + GArchInstruction *result; /* Instruction à retourner */ + + result = g_x86_instruction_new(XOP_POPA); + + return result; + +} |