diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-11-27 23:28:26 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-11-27 23:28:26 (GMT) |
commit | 701e2be310a2cc708ac9d319d1366e821f58486c (patch) | |
tree | 29d04a7c98b32e2c7594d703980963f0bb3b853f /src/format/pe/pe-int.h | |
parent | f21375165728b168ea70627455e0c652ca6f836c (diff) |
Removed support for the PE file format.
Diffstat (limited to 'src/format/pe/pe-int.h')
-rw-r--r-- | src/format/pe/pe-int.h | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/src/format/pe/pe-int.h b/src/format/pe/pe-int.h deleted file mode 100644 index 14a6007..0000000 --- a/src/format/pe/pe-int.h +++ /dev/null @@ -1,84 +0,0 @@ - -/* Chrysalide - Outil d'analyse de fichiers binaires - * pe-int.h - prototypes pour les structures internes du format Portable Executable - * - * Copyright (C) 2009-2017 Cyrille Bagard - * - * This file is part of Chrysalide. - * - * Chrysalide 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. - * - * Chrysalide 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 Chrysalide. If not, see <http://www.gnu.org/licenses/>. - */ - - -#ifndef _FORMAT_PE_E_PE_INT_H -#define _FORMAT_PE_E_PE_INT_H - - -#include "pe.h" -#include "pe_def.h" -#include "../executable-int.h" - - - - - - - -/* Format d'exécutable PE (instance) */ -struct _GPeFormat -{ - GExeFormat parent; /* A laisser en premier */ - - image_dos_header dos_header; /* En-tête DOS */ - image_nt_headers nt_headers; /* En-tête Windows */ - - off_t section_offset; /* Début des sections */ - -}; - -/* Format d'exécutable PE (classe) */ -struct _GPeFormatClass -{ - GExeFormatClass parent; /* A laisser en premier */ - -}; - - - - - -/* Procède à la lecture d'une en-tête de programme DOS. */ -bool read_dos_image_header(const GPeFormat *, off_t *, image_dos_header *); - -/* Procède à la lecture d'une en-tête de programme PE (1). */ -bool read_pe_file_header(const GPeFormat *, off_t *, image_file_header *); - -/* Procède à la lecture d'une en-tête de programme PE (2). */ -bool read_pe_optional_header(const GPeFormat *, off_t *, image_optional_header *); - -/* Procède à la lecture d'une en-tête de programme PE. */ -bool read_pe_nt_header(const GPeFormat *, off_t *, image_nt_headers *); - -/* Procède à la lecture d'une en-tête de section PE. */ -bool read_pe_image_section_header(const GPeFormat *, off_t *, image_section_header *); - -/* Procède à la lecture d'un répertoire de programme PE. */ -bool read_pe_image_import_descriptor(const GPeFormat *, off_t *, image_import_descriptor *); - -/* Procède à la lecture d'une fonction importée par son nom. */ -bool read_pe_image_import_by_name(const GPeFormat *, off_t *, image_import_by_name *); - - - -#endif /* _FORMAT_PE_E_PE_INT_H */ |