summaryrefslogtreecommitdiff
path: root/src/arch/arm
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-04-25 20:44:37 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-04-25 20:44:37 (GMT)
commit2a1dd967d3b4e06f504431f9d3d613992095b2c3 (patch)
tree869181e766ff429fcfdd61f0f7a8b8ef487f768c /src/arch/arm
parent62ea3df536faae7e1706bbbc2c19cf43c4dae213 (diff)
Removed some debug messages.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@518 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/arm')
-rw-r--r--src/arch/arm/v7/context.c28
-rw-r--r--src/arch/arm/v7/context.h15
2 files changed, 4 insertions, 39 deletions
diff --git a/src/arch/arm/v7/context.c b/src/arch/arm/v7/context.c
index c29794d..885ce70 100644
--- a/src/arch/arm/v7/context.c
+++ b/src/arch/arm/v7/context.c
@@ -209,12 +209,6 @@ GArmV7Context *g_armv7_context_new(void)
static void g_armv7_context_push_drop_point(GArmV7Context *ctx, virt_t addr)
{
-
-
- printf("PUSH v7 !! 0x%08x\n", addr);
-
-
-
if (addr & 0x1)
{
addr -= 0x1;
@@ -229,8 +223,9 @@ static void g_armv7_context_push_drop_point(GArmV7Context *ctx, virt_t addr)
/******************************************************************************
* *
-* Paramètres : ctx = contexte de désassemblage à compléter. *
-* addr = adresse d'un nouveau point de départ à traiter. *
+* Paramètres : ctx = contexte de désassemblage à compléter. *
+* addr = adresse d'un nouveau point de départ à traiter. *
+* marker = forme générique d'un encodage à mémoriser. *
* *
* Description : Ajoute une adresse virtuelle comme point de départ de code. *
* *
@@ -242,19 +237,12 @@ static void g_armv7_context_push_drop_point(GArmV7Context *ctx, virt_t addr)
void g_armv7_context_push_drop_point_ext(GArmV7Context *ctx, virt_t addr, ArmV7InstrSet marker)
{
-
-
- printf("PUSH v7 !! 0x%08x\n", (unsigned int)addr);
-
-
-
if (addr & 0x1)
{
addr -= 0x1;
assert(marker == AV7IS_THUMB);
}
-
g_armv7_context_define_encoding(ctx, addr, marker);
G_PROC_CONTEXT_CLASS(g_armv7_context_parent_class)->push_point(G_PROC_CONTEXT(ctx), addr);
@@ -262,14 +250,6 @@ void g_armv7_context_push_drop_point_ext(GArmV7Context *ctx, virt_t addr, ArmV7I
}
-
-
-
-
-
-
-
-
/******************************************************************************
* *
* Paramètres : ctx = contexte de désassemblage à compléter. *
@@ -286,8 +266,6 @@ void g_armv7_context_push_drop_point_ext(GArmV7Context *ctx, virt_t addr, ArmV7I
void g_armv7_context_define_encoding(GArmV7Context *ctx, virt_t addr, ArmV7InstrSet marker)
{
- printf(" --encoding-- @ 0x%08llx -> %d\n", (unsigned long long)addr, (int)marker);
-
_g_arm_context_define_encoding(G_ARM_CONTEXT(ctx), addr, marker);
}
diff --git a/src/arch/arm/v7/context.h b/src/arch/arm/v7/context.h
index a4d99d6..48cafce 100644
--- a/src/arch/arm/v7/context.h
+++ b/src/arch/arm/v7/context.h
@@ -57,7 +57,6 @@ GType g_armv7_context_get_type(void);
GArmV7Context *g_armv7_context_new(void);
-
/* Jeux d'instructions possibles avec ARM v7 */
typedef enum _ArmV7InstrSet
{
@@ -77,21 +76,9 @@ void g_armv7_context_define_encoding(GArmV7Context *, virt_t, ArmV7InstrSet);
/* Indique l'encodage (générique) utilisé à une adresse donnée. */
ArmV7InstrSet g_armv7_context_find_encoding(GArmV7Context *, virt_t);
-
-
-
-
-
-
-
-
-
-
+/* Ajoute une adresse virtuelle comme point de départ de code. */
void g_armv7_context_push_drop_point_ext(GArmV7Context *ctx, virt_t addr, ArmV7InstrSet marker);
-
-
-
#endif /* _ARCH_ARM_V7_CONTEXT_H */