aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/testfileil.h
blob: 3e9497f189700e9588a8fc87d9aa53618e60fc50 (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 ILTestConfig
{
	typedef ILFunctionList FunctionList;
	typedef ILVirtualMachineList VirtualMachineList;
	typedef ILFileHelper FileHelper;
	typedef NETArchitecture Architecture;
	typedef NETRuntimeFunctionList RuntimeFunctionList;
	typedef PESegmentList SegmentList;
	typedef NETImportList ImportList;
	typedef NETExportList ExportList;
	typedef BaseFixupList FixupList;
	typedef PESegment Segment;
	typedef BaseFixup Fixup;
	typedef PESectionList SectionList;
	typedef IRelocationList RelocationList;
	typedef NETResourceList ResourceList;
	typedef ISEHandlerList SEHandlerList;
	typedef IImport Import;
	typedef IExport Export;
	typedef PEFile File;
};

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

template<>
inline TestFixupT<ILTestConfig>::TestFixupT(ILTestConfig::FixupList *owner) : ILTestConfig::Fixup(owner) {}