summaryrefslogtreecommitdiff
path: root/src/analysis/disass
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-05-30 20:31:59 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-05-30 20:31:59 (GMT)
commit36760a757f4c3cdecd04d678a41d3484dcdac566 (patch)
treeb4987539ac2bc5bfd65eec1600b464b11766cd0d /src/analysis/disass
parent3154db88ce14aa681cc553a8910edba1e69d8c2b (diff)
Resolved a suitable symbol depending on the request tolerance.
Diffstat (limited to 'src/analysis/disass')
-rw-r--r--src/analysis/disass/links.c6
-rw-r--r--src/analysis/disass/links.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/analysis/disass/links.c b/src/analysis/disass/links.c
index 28cb124..0ce107a 100644
--- a/src/analysis/disass/links.c
+++ b/src/analysis/disass/links.c
@@ -32,7 +32,7 @@
/* Complète un désassemblage accompli pour une instruction. */
-static void convert_immediate_into_target(GArchInstruction *, size_t, const GBinFormat *);
+static void convert_immediate_into_target(GArchInstruction *, size_t, GBinFormat *);
@@ -134,7 +134,7 @@ void establish_natural_link(GArchInstruction *instr, GArchInstruction *prev)
* *
******************************************************************************/
-static void convert_immediate_into_target(GArchInstruction *instr, size_t index, const GBinFormat *format)
+static void convert_immediate_into_target(GArchInstruction *instr, size_t index, GBinFormat *format)
{
GArchOperand *op; /* Opérande numérique en place */
GImmOperand *imm; /* Version native de l'opérande*/
@@ -179,7 +179,7 @@ static void convert_immediate_into_target(GArchInstruction *instr, size_t index,
* *
******************************************************************************/
-void establish_links_for_instruction(GArchInstruction *instr, const GBinFormat *format, const GArchProcessor *proc)
+void establish_links_for_instruction(GArchInstruction *instr, GBinFormat *format, const GArchProcessor *proc)
{
bool skip; /* Saut des conversions */
size_t count; /* Nombre d'opérandes présents */
diff --git a/src/analysis/disass/links.h b/src/analysis/disass/links.h
index b1f5a71..d12710b 100644
--- a/src/analysis/disass/links.h
+++ b/src/analysis/disass/links.h
@@ -35,7 +35,7 @@
void establish_natural_link(GArchInstruction *, GArchInstruction *);
/* Complète un désassemblage accompli pour une instruction. */
-void establish_links_for_instruction(GArchInstruction *, const GBinFormat *, const GArchProcessor *);
+void establish_links_for_instruction(GArchInstruction *, GBinFormat *, const GArchProcessor *);