diff options
author | jmpoep <OriginalEntryPoint@qq.com> | 2023-12-07 16:51:07 +0800 |
---|---|---|
committer | jmpoep <OriginalEntryPoint@qq.com> | 2023-12-07 16:51:07 +0800 |
commit | 28008a746a31abb7909dd86cb0cd413ac8943b0b (patch) | |
tree | a30b74b8cad548048c3c1551d652828ab76fa9bd /unit-tests/testfileintel.h | |
download | vmprotect-3.5.1-master.tar vmprotect-3.5.1-master.tar.gz vmprotect-3.5.1-master.tar.bz2 vmprotect-3.5.1-master.zip |
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) {} |