diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2008-09-14 20:54:43 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2008-09-14 20:54:43 (GMT) |
commit | 06cf576b280cbabb73a956161693a63ee846f57b (patch) | |
tree | 3ac4b32e869cc8aaa1d4b7429d7d4a12f9a8ae7f /src/arch/x86/operand.h | |
parent | ab1489b6a6ef1f09957f6f805f143fceb42f6a08 (diff) |
Made the program able to disassemble a simple binary completely.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@30 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/x86/operand.h')
-rw-r--r-- | src/arch/x86/operand.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/arch/x86/operand.h b/src/arch/x86/operand.h index 42e0f56..04c0cb6 100644 --- a/src/arch/x86/operand.h +++ b/src/arch/x86/operand.h @@ -86,4 +86,12 @@ void x86_print_moffs_operand(const asm_x86_operand *, char *, size_t, AsmSyntax) +/* ------------------------- OPERANDES D'ADRESSES RELATIVES ------------------------- */ + + +/* Crée une opérande à partir d'une adresse relative (8 bits). */ +asm_x86_operand *x86_create_rel8_operand_in_32b(uint64_t, const uint8_t *, off_t *, off_t); + + + #endif /* _ARCH_X86_OPERAND_H */ |