summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/db/items/switcher.c2
-rw-r--r--src/analysis/roptions.c21
-rw-r--r--src/analysis/roptions.h3
3 files changed, 1 insertions, 25 deletions
diff --git a/src/analysis/db/items/switcher.c b/src/analysis/db/items/switcher.c
index 58e4c7f..bf5c153 100644
--- a/src/analysis/db/items/switcher.c
+++ b/src/analysis/db/items/switcher.c
@@ -561,7 +561,7 @@ static bool g_db_switcher_run(GDbSwitcher *switcher, GLoadedBinary *binary, ImmO
g_imm_operand_set_display(&operand, new, G_SHARE_CONTAINER(instr));
- len = g_imm_operand_to_string(operand, ASX_INTEL, value);
+ len = g_imm_operand_to_string(operand, value);
result = g_buffer_line_replace_text(line, G_OBJECT(op), value, len);
diff --git a/src/analysis/roptions.c b/src/analysis/roptions.c
index a40c784..b9e4b96 100644
--- a/src/analysis/roptions.c
+++ b/src/analysis/roptions.c
@@ -31,8 +31,6 @@ 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 ? */
@@ -160,25 +158,6 @@ 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. *
diff --git a/src/analysis/roptions.h b/src/analysis/roptions.h
index 727ee76..1f27ff5 100644
--- a/src/analysis/roptions.h
+++ b/src/analysis/roptions.h
@@ -84,9 +84,6 @@ GExeFormat *g_rendering_options_get_format(const GRenderingOptions *);
/* Fournit l'architecture du contenu binaire représenté. */
GArchProcessor *g_rendering_options_get_processor(const GRenderingOptions *);
-/* Fournit le style de rendu pour le contenu ASM. */
-AsmSyntax g_rendering_options_get_syntax(const GRenderingOptions *);
-
/* Affiche (ou non) les adresses des instructions. */
void g_rendering_options_show_address(GRenderingOptions *, MainRendering, bool);