diff options
Diffstat (limited to 'unit-tests/testfileintel.h')
-rw-r--r-- | unit-tests/testfileintel.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/unit-tests/testfileintel.h b/unit-tests/testfileintel.h new file mode 100644 index 0000000..1786c04 --- /dev/null +++ b/unit-tests/testfileintel.h @@ -0,0 +1,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) {} |