diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-09-19 22:28:42 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-09-19 22:28:42 (GMT) |
commit | 0e3059731d9687027c913135b3b856596c49a689 (patch) | |
tree | d3c3754f95c90ae50168817e6248afee6873fbf3 /src/analysis/binaries | |
parent | 18648e4e8763a3bc005d6fae51eae3d1528d7d29 (diff) |
Extended the prototype for matching formats in order to get it suitable for plugins.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@577 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis/binaries')
-rw-r--r-- | src/analysis/binaries/file.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/analysis/binaries/file.c b/src/analysis/binaries/file.c index 32cd41f..c31828c 100644 --- a/src/analysis/binaries/file.c +++ b/src/analysis/binaries/file.c @@ -116,8 +116,8 @@ static void g_file_binary_init(GFileBinary *binary) loaded = G_LOADED_BINARY(binary); - loaded->save = (save_binary_fc)g_file_binary_save; - loaded->get_name = (get_binary_name_fc)g_file_binary_get_name; + //loaded->save = (save_binary_fc)g_file_binary_save; + //loaded->get_name = (get_binary_name_fc)g_file_binary_get_name; } @@ -173,7 +173,7 @@ GLoadedBinary *g_file_binary_new_from_file(const char *filename) content = g_file_content_new(filename); if (content == NULL) goto lbf_error; - target = find_matching_format(content, NULL); + target = "";//find_matching_format(content, NULL); desc = get_binary_format_name(target); if (desc == NULL) @@ -194,7 +194,7 @@ GLoadedBinary *g_file_binary_new_from_file(const char *filename) goto lbf_error; } - target = find_matching_format(content, loaded->format); + target = "";//find_matching_format(content, loaded->format); desc = get_binary_format_name(target); if (desc != NULL) |