summaryrefslogtreecommitdiff
path: root/src/format/elf/e_elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/elf/e_elf.c')
-rw-r--r--src/format/elf/e_elf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/format/elf/e_elf.c b/src/format/elf/e_elf.c
index 1de4ac0..e974b51 100644
--- a/src/format/elf/e_elf.c
+++ b/src/format/elf/e_elf.c
@@ -601,6 +601,7 @@ GBinRoutine **get_all_elf_routines(const elf_format *format, size_t *count)
result[i] = g_binary_routine_new();
g_binary_routine_set_address(result[i], format->symbols[i].address);
+ g_binary_routine_set_size(result[i], format->symbols[i].size);
g_binary_routine_set_name(result[i], strdup(format->symbols[i].name));
}