diff options
| author | Cyrille Bagard <nocbos@gmail.com> | 2012-09-15 08:19:09 (GMT) | 
|---|---|---|
| committer | Cyrille Bagard <nocbos@gmail.com> | 2012-09-15 08:19:09 (GMT) | 
| commit | 944fc0a5638bfe77fc65e514fbdd945d8a652635 (patch) | |
| tree | caad1d6c5f001dd02380aa2fae0c6dc8d67d9b60 /src/arch | |
| parent | 09d07908465d462101d27ecb1b60df52d63bbe5d (diff) | |
Shown all Android permissions with links to the code.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@262 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch')
| -rw-r--r-- | src/arch/instruction.c | 19 | ||||
| -rw-r--r-- | src/arch/instruction.h | 3 | 
2 files changed, 22 insertions, 0 deletions
diff --git a/src/arch/instruction.c b/src/arch/instruction.c index 2d1836b..240ffbe 100644 --- a/src/arch/instruction.c +++ b/src/arch/instruction.c @@ -586,6 +586,25 @@ size_t g_arch_instruction_get_destinations(const GArchInstruction *instr, GArchI  /******************************************************************************  *                                                                             * +*  Paramètres  : instr  = instruction d'assemblage à consulter.               * +*                                                                             * +*  Description : Fournit le nom humain de l'instruction manipulée.            * +*                                                                             * +*  Retour      : Mot clef de bas niveau.                                      * +*                                                                             * +*  Remarques   : -                                                            * +*                                                                             * +******************************************************************************/ + +const char *g_arch_instruction_get_keyword(const GArchInstruction *instr) +{ +    return instr->get_text(instr, NULL/* FIXME */, 0/* FIXME */); + +} + + +/****************************************************************************** +*                                                                             *  *  Paramètres  : instr  = instruction d'assemblage à représenter.             *  *                buffer = espace où placer ledit contenu.                     *  *                syntax = type de représentation demandée.                    * diff --git a/src/arch/instruction.h b/src/arch/instruction.h index fd059a1..bf78bfd 100644 --- a/src/arch/instruction.h +++ b/src/arch/instruction.h @@ -118,6 +118,9 @@ size_t g_arch_instruction_get_destinations(const GArchInstruction *, GArchInstru  /* --------------------- CONVERSIONS DU FORMAT DES INSTRUCTIONS --------------------- */ +/* Fournit le nom humain de l'instruction manipulée. */ +const char *g_arch_instruction_get_keyword(const GArchInstruction *); +  /* Ajoute à un tampon GLib le contenu de l'instance spécifiée. */  void g_arch_instruction_print(const GArchInstruction *, GCodeBuffer *, MemoryDataSize, const bin_t *, AsmSyntax);  | 
