summaryrefslogtreecommitdiff
path: root/src/format/elf
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2010-03-11 22:40:17 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2010-03-11 22:40:17 (GMT)
commita6acb5629572e6da4d72f4419b01672c2ea5ddf2 (patch)
treebed9fa7dfa455de09fdc474ebbae7ce985bb5517 /src/format/elf
parent1991abdadab865243168c4ff8f744e07110a01ad (diff)
Added first steps for a full PE support.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@143 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/elf')
-rw-r--r--src/format/elf/elf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/format/elf/elf.c b/src/format/elf/elf.c
index b703dcf..e7bb48c 100644
--- a/src/format/elf/elf.c
+++ b/src/format/elf/elf.c
@@ -134,7 +134,7 @@ static void g_elf_format_class_init(GElfFormatClass *klass)
static void g_elf_format_init(GElfFormat *format)
{
- GExeFormat *exe_format;
+ GExeFormat *exe_format; /* Format parent à constituer */
exe_format = G_EXE_FORMAT(format);
@@ -436,7 +436,6 @@ static GBinPart **g_elf_format_get_parts(const GElfFormat *format, size_t *count
if (!find_elf_section_by_index(format, i, &section))
continue;
-
if (ELF_SHDR(format, section, sh_flags) & SHF_EXECINSTR)
{
part = g_binary_part_new();