diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2008-07-26 23:46:10 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2008-07-26 23:46:10 (GMT) |
commit | dbf4d1f93e54251568854bff0ebc9c84f60857f6 (patch) | |
tree | 72fa507ada7ba5b7351f711a7f16a8d3f7d32524 /src/format | |
parent | c4f9b35d4ccb5bb82c4927daddd34d7a828bff3c (diff) |
Parsed x86 binary data and displayed the result.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@6 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format')
-rw-r--r-- | src/format/Makefile.am | 2 | ||||
-rw-r--r-- | src/format/elf/Makefile.am | 14 | ||||
-rw-r--r-- | src/format/elf/format_elf.c | 24 | ||||
-rw-r--r-- | src/format/elf/format_elf.h | 34 |
4 files changed, 74 insertions, 0 deletions
diff --git a/src/format/Makefile.am b/src/format/Makefile.am new file mode 100644 index 0000000..99afa2e --- /dev/null +++ b/src/format/Makefile.am @@ -0,0 +1,2 @@ + +SUBDIRS = elf diff --git a/src/format/elf/Makefile.am b/src/format/elf/Makefile.am new file mode 100644 index 0000000..3cf5f1c --- /dev/null +++ b/src/format/elf/Makefile.am @@ -0,0 +1,14 @@ + +lib_LIBRARIES = libformatelf.a + +libformatelf_a_SOURCES = \ + format_elf.h format_elf.c + +libformatelf_a_CFLAGS = $(AM_CFLAGS) + + +INCLUDES = + +AM_CPPFLAGS = + +AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) diff --git a/src/format/elf/format_elf.c b/src/format/elf/format_elf.c new file mode 100644 index 0000000..f043d0a --- /dev/null +++ b/src/format/elf/format_elf.c @@ -0,0 +1,24 @@ + +/* OpenIDA - Outil d'analyse de fichiers binaires + * format_elf.c - support du format ELF + * + * Copyright (C) 2008 Cyrille Bagard + * + * This file is part of OpenIDA. + * + * OpenIDA is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * OpenIDA is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Foobar. If not, see <http://www.gnu.org/licenses/>. + */ + + +#include "elf.h" diff --git a/src/format/elf/format_elf.h b/src/format/elf/format_elf.h new file mode 100644 index 0000000..894623a --- /dev/null +++ b/src/format/elf/format_elf.h @@ -0,0 +1,34 @@ + +/* OpenIDA - Outil d'analyse de fichiers binaires + * format_elf.h - prototypes pour le support du format ELF + * + * Copyright (C) 2008 Cyrille Bagard + * + * This file is part of OpenIDA. + * + * OpenIDA is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * OpenIDA is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Foobar. If not, see <http://www.gnu.org/licenses/>. + */ + + +#ifndef _FORMAT_ELF_H +#define _FORMAT_ELF_H + + + + + + + + +#endif /* _FORMAT_ELF_H */ |