summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/binary.c4
-rw-r--r--src/analysis/disass/area.c21
2 files changed, 2 insertions, 23 deletions
diff --git a/src/analysis/binary.c b/src/analysis/binary.c
index e5b9a46..d7682cd 100644
--- a/src/analysis/binary.c
+++ b/src/analysis/binary.c
@@ -941,7 +941,7 @@ const char *g_loaded_binary_get_name(const GLoadedBinary *binary, bool full)
* *
* Description : Fournit le format de fichier reconnu dans le contenu binaire.*
* *
-* Retour : Adresse du format reconnu. *
+* Retour : Instance du format reconnu. *
* *
* Remarques : - *
* *
@@ -962,7 +962,7 @@ GExeFormat *g_loaded_binary_get_format(const GLoadedBinary *binary)
* *
* Description : Fournit le processeur de l'architecture liée au binaire. *
* *
-* Retour : Adresse du processeur associé. *
+* Retour : Instance du processeur associé. *
* *
* Remarques : - *
* *
diff --git a/src/analysis/disass/area.c b/src/analysis/disass/area.c
index a7c44c0..dd35eaa 100644
--- a/src/analysis/disass/area.c
+++ b/src/analysis/disass/area.c
@@ -1568,27 +1568,6 @@ size_t find_memory_area_by_addr(mem_area *list, size_t count, const vmpa2t *addr
}
- /*
- if (addr->virtual == 0x8540)
- {
- size_t i;
-
- for (i = 0; i < count; i++)
- printf("[%zu] AREAS :: 0x%08x + %x\n", i,
- (unsigned int)list[i].range.addr.virtual,
- (unsigned int)list[i].range.length);
-
-
-
-
- printf(" == CMP == 0x%08x / 0x%08x\n",
- (unsigned int)addr->physical,
- (unsigned int)addr->virtual);
-
- }
- */
-
-
found = bsearch(addr, list, count, sizeof(mem_area), (__compar_fn_t)find_mem_area);
result = (found != NULL ? found - list : count);