From 37e5f1e071bd9eed59934f2ff242699035232f30 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Tue, 13 Oct 2015 18:39:23 +0000 Subject: Done not load ELF files as DWARF information. git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@591 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a --- ChangeLog | 5 +++++ src/format/elf/elf.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 566ba21..6535040 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +15-10-13 Cyrille Bagard + + * src/format/elf/elf.c: + Do not load ELF files as DWARF information. + 15-10-10 Cyrille Bagard * plugins/ropgadgets/select.c: diff --git a/src/format/elf/elf.c b/src/format/elf/elf.c index f485dbc..ea520b9 100644 --- a/src/format/elf/elf.c +++ b/src/format/elf/elf.c @@ -102,6 +102,9 @@ FormatMatchStatus elf_is_matching(GBinContent *content, GExeFormat *parent, void bool status; /* Bilan des accès mémoire */ char magic[4]; /* Idenfiant standard */ + if (parent != NULL) + return FMS_UNKNOWN; + init_vmpa(&addr, 0, VMPA_NO_VIRTUAL); status = g_binary_content_read_raw(content, &addr, 4, (bin_t *)magic); -- cgit v0.11.2-87-g4458