summaryrefslogtreecommitdiff
path: root/src/analysis/binary-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/binary-int.h')
-rw-r--r--src/analysis/binary-int.h90
1 files changed, 0 insertions, 90 deletions
diff --git a/src/analysis/binary-int.h b/src/analysis/binary-int.h
deleted file mode 100644
index 60b9662..0000000
--- a/src/analysis/binary-int.h
+++ /dev/null
@@ -1,90 +0,0 @@
-
-/* Chrysalide - Outil d'analyse de fichiers binaires
- * binary-int.h - prototypes pour la définition interne des binaires
- *
- * Copyright (C) 2012-2014 Cyrille Bagard
- *
- * This file is part of Chrysalide.
- *
- * 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 _ANALYSIS_BINARY_INT_H
-#define _ANALYSIS_BINARY_INT_H
-
-
-#include "binary.h"
-
-
-#include "db/client.h"
-#include "../format/format.h"
-
-
-
-/* Fournit le fichier correspondant à l'élément binaire. */
-typedef const char * (* get_binary_name_fc) (const GLoadedBinary *, bool); //// REMME
-
-
-/* Description de fichier binaire (instance) */
-struct _GLoadedBinary
-{
- GObject parent; /* A laisser en premier */
-
- char *username; /* Identifiant de l'utilisateur*/
- bool username_changed; /* Mémorise les changements */
- char *remote_host; /* Nom du serveur distant */
- unsigned short remote_port; /* Port du serveur distant */
- bool use_remote_server; /* Indique une utilisation */
-
- GDbClient *local; /* Enregistrements locaux */
- GDbClient *remote; /* Enregistrements distants */
-
- DBStorage storages[DBF_COUNT]; /* Lieux d'enregistrement */
- GList *collections; /* Ensemble de modifications */
-
- get_binary_name_fc get_name; /* Obtention d'une description */ //// REMME
-
- GBinContent *content; /* Contenu binaire chargé */ //// REMME
-
- GExeFormat *format; /* Format du binaire */
- GDbgFormat *debug; /* Informations de débogage */ //// REMME
- GArchProcessor *proc; /* Architecture du binaire */
-
- GArchInstruction *instrs; /* Instructions d'assemblage */
- GCodeBuffer *disass_buffer; /* Instructions lisibles */
- GCodeBuffer **dec_buffers; /* Sources sous forme de texte */
- size_t decbuf_count; /* Taille des tableaux */
- size_t defsrc; /* Fichier source principal */
-
- bool col_display[BVW_COUNT][BLC_DISPLAY];/* Position et code binaire */
- bool lines_display; /* Affichage des lignes */
-
-};
-
-/* Description de fichier binaire (classe) */
-struct _GLoadedBinaryClass
-{
- GObjectClass parent; /* A laisser en premier */
-
- /* Signaux */
-
- void (* disassembly_done) (GLoadedBinary *);
- void (* display_changed) (GLoadedBinary *, BinaryView, BufferLineColumn);
-
-};
-
-
-
-#endif /* _ANALYSIS_BINARY_INT_H */