summaryrefslogtreecommitdiff
path: root/src/format/elf/e_elf.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-06-14 21:04:54 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-06-14 21:04:54 (GMT)
commit1399ca35405f64fe5be71c8aa4723c759873b992 (patch)
tree006c7d2ace62eb7c02b956d85138ae1e36078f02 /src/format/elf/e_elf.c
parentae0135d727fdc67a268ede1530042a42a2a1ccd3 (diff)
Stored the size of the routines (x86 only).
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@77 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
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));
}