aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/testfileintel.h
blob: 1786c049b2f34e311baf274a8024e56a6c1dd075 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include "testfile.h"
struct IntelTestConfig
{
	typedef IntelFunctionList FunctionList;
	typedef IntelVirtualMachineList VirtualMachineList;
	typedef IntelFileHelper FileHelper;
	typedef PEArchitecture Architecture;
	typedef PERuntimeFunctionList RuntimeFunctionList;
	typedef PESegmentList SegmentList;
	typedef PEImportList ImportList;
	typedef PEExportList ExportList;
	typedef PEFixupList FixupList;
	typedef PESegment Segment;
	typedef PEFixup Fixup;
	typedef PESectionList SectionList;
	typedef PERelocationList RelocationList;
	typedef PEResourceList ResourceList;
	typedef PESEHandlerList SEHandlerList;
	typedef PEImport Import;
	typedef PEExport Export;
	typedef PEFile File;
};

typedef TestArchitectureT<IntelTestConfig> TestArchitecture;
typedef TestFileT<IntelTestConfig> TestFile;
typedef TestSegmentListT<IntelTestConfig> TestSegmentList;
typedef TestSegmentT<IntelTestConfig> TestSegment;

template<>
inline TestFixupT<IntelTestConfig>::TestFixupT(PEFixupList *owner) : IntelTestConfig::Fixup(owner, 0, ftUnknown) {}