summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-05-31 20:58:20 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-05-31 20:58:20 (GMT)
commit8724afdc73e0ddad86f46de1a3fbe0254575a76e (patch)
treede666b66e154c6c6453807d3fa4272efb6877a91 /src/analysis
parent0b7d7f26c745ff0f52e9e483a0980351368ca824 (diff)
Supported a new architecture (MIPS).
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@67 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/binary.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/analysis/binary.c b/src/analysis/binary.c
index 2c9166c..84401a3 100644
--- a/src/analysis/binary.c
+++ b/src/analysis/binary.c
@@ -116,14 +116,18 @@ openida_binary *load_binary_file(const char *filename)
switch (get_exe_target_machine(result->format))
{
- case FTM_386:
- result->proc = get_arch_processor_for_type(APT_386);
- break;
-
case FTM_JVM:
result->proc = get_arch_processor_for_type(APT_JVM);
break;
+ case FTM_MIPS:
+ result->proc = get_arch_processor_for_type(APT_MIPS);
+ break;
+
+ case FTM_386:
+ result->proc = get_arch_processor_for_type(APT_386);
+ break;
+
default:
goto lbf_error;
break;