00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
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 };