diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2014-07-31 06:29:40 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2014-07-31 06:29:40 (GMT) |
commit | a2eb5483fe74923e488013b2d8b94ded6340499e (patch) | |
tree | ae41a0c63e6b09ee3f878f5889d6ef8accfed7df /src/analysis/binary.h | |
parent | a5d8e3fc30cda2e13d30f099e93ab1b182fdc0bd (diff) |
Merged two equal binary views enumerations.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@386 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis/binary.h')
-rw-r--r-- | src/analysis/binary.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/analysis/binary.h b/src/analysis/binary.h index f3e2d09..dbadd64 100644 --- a/src/analysis/binary.h +++ b/src/analysis/binary.h @@ -62,15 +62,16 @@ typedef enum _BinaryPartModel } BinaryPartModel; -/* Types de représentation */ -typedef enum _BinaryDisplayType +/* Type de représentations */ +typedef enum _BinaryView { - BDT_ASM, /* Rendu du code brut */ - BDT_GRAPH, /* Rendu avec graphiques */ + BVW_BLOCK, /* Version basique */ + BVW_GRAPH, /* Affichage en graphique */ + BVW_SOURCE, /* Code décompilé */ - BDT_COUNT + BVW_COUNT -} BinaryDisplayType; +} BinaryView; /* Indique le type défini pour une description de fichier binaire. */ @@ -138,10 +139,10 @@ GArchInstruction *g_loaded_binary_get_instructions(const GLoadedBinary *); GCodeBuffer *g_loaded_binary_get_disassembled_buffer(const GLoadedBinary *); /* Indique si les adresses doivent apparaître dans le rendu. */ -bool *g_loaded_binary_display_addresses_in_text(GLoadedBinary *, BinaryDisplayType); +bool *g_loaded_binary_display_addresses_in_text(GLoadedBinary *, BinaryView); /* Indique si le code doit apparaître dans le rendu. */ -bool *g_loaded_binary_display_code_in_text(GLoadedBinary *, BinaryDisplayType); +bool *g_loaded_binary_display_code_in_text(GLoadedBinary *, BinaryView); /* Fournit le tampon associé au contenu d'un fichier source. */ GCodeBuffer *g_loaded_binary_get_decompiled_buffer(const GLoadedBinary *, size_t); |