Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

pefstruc.cc

Go to the documentation of this file.
00001 /* 
00002  *      HT Editor
00003  *      peffstruc.cc
00004  *
00005  *      Copyright (C) 1999-2002 Stefan Weyergraf (stefan@weyergraf.de)
00006  *
00007  *      This program is free software; you can redistribute it and/or modify
00008  *      it under the terms of the GNU General Public License version 2 as
00009  *      published by the Free Software Foundation.
00010  *
00011  *      This program is distributed in the hope that it will be useful,
00012  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *      GNU General Public License for more details.
00015  *
00016  *      You should have received a copy of the GNU General Public License
00017  *      along with this program; if not, write to the Free Software
00018  *      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00019  */
00020 
00021 #include "pefstruc.h"
00022 #include "global.h"
00023 #include "htendian.h"
00024 
00025 byte PEF_CONTAINER_HEADER_struct[]= {
00026         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00027         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00028         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00029         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00030         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00031         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00032         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00033         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00034         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00035         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00036         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00037         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00038 
00039         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00040         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00041         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00042         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00043         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00044 
00045         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00046         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00047 
00048         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00049         0
00050 };
00051 
00052 byte PEF_SECTION_HEADER_struct[]= {
00053         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00054         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00055         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00056         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00057         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00058         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00059 
00060         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00061         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00062         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00063         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00064         0
00065 };
00066 
00067 byte PEF_LOADER_INFO_HEADER_struct[]= {
00068         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00069         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00070         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00071         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00072         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00073 
00074         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00075         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00076         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00077         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00078         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00079 
00080         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00081         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00082         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00083         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00084         0
00085 };
00086 
00087 byte PEF_ImportedLibrary_struct[]= {
00088         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00089         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00090         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00091         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00092         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,       
00093         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00094         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00095         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00096 };

Generated on Fri May 7 21:15:42 2004 by doxygen 1.3.5