summaryrefslogtreecommitdiff
path: root/src/format
diff options
context:
space:
mode:
Diffstat (limited to 'src/format')
-rw-r--r--src/format/Makefile.am2
-rw-r--r--src/format/elf/Makefile.am14
-rw-r--r--src/format/elf/format_elf.c24
-rw-r--r--src/format/elf/format_elf.h34
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 */