From df1f4c4e1a5bb929f4345b1273d16558c0ba77de Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Sun, 14 Jun 2009 21:07:53 +0000 Subject: Fixed a mistake in the previous commit. git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@78 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a --- ChangeLog | 5 +++++ src/format/elf/symbol.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index faf6ecb..c1c2967 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 09-06-14 Cyrille Bagard + * src/format/elf/symbol.c: + Fix a mistake in the previous commit. + +09-06-14 Cyrille Bagard + * src/analysis/prototype.c: * src/analysis/prototype.h: * src/format/elf/e_elf.c: diff --git a/src/format/elf/symbol.c b/src/format/elf/symbol.c index 35dd50f..225e032 100644 --- a/src/format/elf/symbol.c +++ b/src/format/elf/symbol.c @@ -297,7 +297,7 @@ bool load_elf_symbol_table_32(elf_format *format, const off_t *sym_start, const format->symbols[format->sym_count - 1].name = &EXE_FORMAT(format)->content[*str_start + symbol.st_name]; format->symbols[format->sym_count - 1].address = symbol.st_value; - format->symbols[format->sym_count - 1].address = symbol.st_size; + format->symbols[format->sym_count - 1].size = symbol.st_size; } -- cgit v0.11.2-87-g4458