summaryrefslogtreecommitdiff
path: root/src/format/exe_format.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-05-11 23:42:48 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-05-11 23:42:48 (GMT)
commit96cb6971ee3ca529958b8cb1e8e55a6eb4e60eae (patch)
tree68e49f325de3e93ef186d3e078da8ddc473aedf7 /src/format/exe_format.c
parent80dc0ac97987ad9246bee7c47458a015339453bf (diff)
Reorganized the way the program is built again and added partial support for the JVM.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@63 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/exe_format.c')
-rw-r--r--src/format/exe_format.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/format/exe_format.c b/src/format/exe_format.c
index 2b8f893..aeeaea3 100644
--- a/src/format/exe_format.c
+++ b/src/format/exe_format.c
@@ -346,6 +346,25 @@ const uint8_t *get_exe_content(const exe_format *format, off_t *length)
+/******************************************************************************
+* *
+* Paramètres : format = informations chargées à consulter. *
+* *
+* Description : Indique le type d'architecture visée par le format. *
+* *
+* Retour : Identifiant de l'architecture ciblée par le format. *
+* *
+* Remarques : - *
+* *
+******************************************************************************/
+
+FormatTargetMachine get_exe_target_machine(const exe_format *format)
+{
+ return format->get_target_machine(format);
+
+}
+
+