summaryrefslogtreecommitdiff
path: root/src/format
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-10-13 18:39:23 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-10-13 18:39:23 (GMT)
commit37e5f1e071bd9eed59934f2ff242699035232f30 (patch)
tree8aaeb8039911ea455cb52eaf15e8961f4d23b7a8 /src/format
parent8afd8490dcb695c5e1ab7c55d2305e6af7c97212 (diff)
Done not load ELF files as DWARF information.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@591 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format')
-rw-r--r--src/format/elf/elf.c3
1 files changed, 3 insertions, 0 deletions
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);