summaryrefslogtreecommitdiff
path: root/src/analysis/roptions.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2010-03-21 18:54:20 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2010-03-21 18:54:20 (GMT)
commit8123d9342f92a2cf6fd999b350252c001f403092 (patch)
tree5030aa5d40fa8551937649cdd3377062ec8991d0 /src/analysis/roptions.c
parenta6acb5629572e6da4d72f4419b01672c2ea5ddf2 (diff)
Allowed a simple export of an assembly content.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@144 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis/roptions.c')
-rw-r--r--src/analysis/roptions.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/analysis/roptions.c b/src/analysis/roptions.c
index 4c49a15..6aa4262 100644
--- a/src/analysis/roptions.c
+++ b/src/analysis/roptions.c
@@ -31,6 +31,8 @@ struct _GRenderingOptions
GExeFormat *format; /* Format du contenu bianire */
GArchProcessor *proc; /* Architecture utilisée */
+ AsmSyntax syntax; /* Style de rendu ASM */
+
bool show_address[MRD_COUNT]; /* Affichage de l'adresse ? */
bool show_code[MRD_COUNT]; /* Affichage du code brut ? */
@@ -159,6 +161,25 @@ GArchProcessor *g_rendering_options_get_processor(const GRenderingOptions *optio
/******************************************************************************
* *
+* Paramètres : options = options à consulter. *
+* *
+* Description : Fournit le style de rendu pour le contenu ASM. *
+* *
+* Retour : Style de rendu pour le langage d'assemblage. *
+* *
+* Remarques : - *
+* *
+******************************************************************************/
+
+AsmSyntax g_rendering_options_get_syntax(const GRenderingOptions *options)
+{
+ return options->syntax;
+
+}
+
+
+/******************************************************************************
+* *
* Paramètres : options = options à mettre à jour. *
* rendering = type de rendu impliqué. *
* state = nouvel état de l'option visée. *