summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/analysis/disass/area.c2
-rw-r--r--src/arch/arm/v7/post.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/analysis/disass/area.c b/src/analysis/disass/area.c
index bc19224..6ed6804 100644
--- a/src/analysis/disass/area.c
+++ b/src/analysis/disass/area.c
@@ -426,7 +426,7 @@ static void update_address_as_routine(GBinFormat *format, const vmpa2t *addr)
init_mrange(&range, addr, 0);
vmpa2_virt_to_string(addr, MDS_UNDEFINED, loc, NULL);
- snprintf(name, sizeof(name), "ZZZ_%s", loc + 2);
+ snprintf(name, sizeof(name), "sub_%s", loc + 2);
routine = g_binary_routine_new();
g_binary_routine_set_name(routine, strdup(name));
diff --git a/src/arch/arm/v7/post.c b/src/arch/arm/v7/post.c
index 23d0198..17dcf62 100644
--- a/src/arch/arm/v7/post.c
+++ b/src/arch/arm/v7/post.c
@@ -69,7 +69,7 @@ void post_process_branch_instructions(GArchInstruction *instr, GArchProcessor *p
init_vmpa(&target, VMPA_NO_PHYSICAL, addr);
init_mrange(&trange, &target, 0);
- vmpa2_virt_to_string(&target, MDS_32_BITS, loc, NULL);
+ vmpa2_virt_to_string(&target, MDS_UNDEFINED, loc, NULL);
snprintf(name, sizeof(name), "loc_%s", loc + 2);
routine = g_binary_routine_new();
@@ -133,7 +133,7 @@ void post_process_branch_and_link_instructions(GArchInstruction *instr, GArchPro
init_vmpa(&target, VMPA_NO_PHYSICAL, addr);
init_mrange(&trange, &target, 0);
- vmpa2_virt_to_string(&target, MDS_32_BITS, loc, NULL);
+ vmpa2_virt_to_string(&target, MDS_UNDEFINED, loc, NULL);
snprintf(name, sizeof(name), "sub_%s", loc + 2);
routine = g_binary_routine_new();
@@ -197,7 +197,7 @@ void post_process_comp_and_branch_instructions(GArchInstruction *instr, GArchPro
init_vmpa(&target, VMPA_NO_PHYSICAL, addr);
init_mrange(&trange, &target, 0);
- vmpa2_virt_to_string(&target, MDS_32_BITS, loc, NULL);
+ vmpa2_virt_to_string(&target, MDS_UNDEFINED, loc, NULL);
snprintf(name, sizeof(name), "loc_%s", loc + 2);
routine = g_binary_routine_new();