diff options
| author | Cyrille Bagard <nocbos@gmail.com> | 2015-03-18 23:18:26 (GMT) | 
|---|---|---|
| committer | Cyrille Bagard <nocbos@gmail.com> | 2015-03-18 23:18:26 (GMT) | 
| commit | 4cef477cbdfd61a28ed6531d1e91d5a330a67704 (patch) | |
| tree | 1b4708f624e0f3bdb26403ab06ac9689cf4cf583 /src/arch/instruction.h | |
| parent | 5c1636199a06965c549f748014d582dcb85ba7df (diff) | |
Computed limits for all routines according to existing symbols.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@491 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/instruction.h')
| -rw-r--r-- | src/arch/instruction.h | 14 | 
1 files changed, 14 insertions, 0 deletions
diff --git a/src/arch/instruction.h b/src/arch/instruction.h index 12cfbb9..9251a34 100644 --- a/src/arch/instruction.h +++ b/src/arch/instruction.h @@ -62,6 +62,20 @@ GType g_arch_instruction_get_type(void);  /* Etend la désignation d'un nom d'instruction. */  void g_arch_instruction_append_suffix(GArchInstruction *, const char *); +/* Drapeaux pour informations complémentaires */ +typedef enum _ArchInstrFlag +{ +    AIF_NONE            = (0 << 0),         /* Aucune information          */ +    AIF_ROUTINE_START   = (1 << 0)          /* Début de routine            */ + +} ArchInstrFlag; + +/* Ajoute une information complémentaire à une instruction. */ +void g_arch_instruction_set_flag(GArchInstruction *, ArchInstrFlag); + +/* Fournit les informations complémentaires d'une instruction. */ +ArchInstrFlag g_arch_instruction_get_flags(const GArchInstruction *); +  /**   * La définition de "GBinFormat", utile aux traitements complémentaires, ne peut   * se faire en incluant le fichier d'en-tête "../format/format.h", pour cause  | 
