2017-06-26 14:58:08 +00:00
|
|
|
<SDB>
|
|
|
|
<DATABASE>
|
|
|
|
<NAME>ReactOS test database</NAME>
|
|
|
|
<OS_PLATFORM >1</OS_PLATFORM>
|
|
|
|
<DATABASE_ID>{551F8E78-A9DA-44AC-A24C-5A8145317BC7}</DATABASE_ID>
|
|
|
|
<LIBRARY>
|
|
|
|
</LIBRARY>
|
|
|
|
|
2018-04-10 20:40:27 +00:00
|
|
|
<LAYER NAME="DATA_LAYER">
|
|
|
|
<DATA NAME="TESTDATA1" DATA_DWORD="3333" />
|
|
|
|
<DATA NAME="TESTDATA2">
|
|
|
|
<DATA_QWORD>0x123456789</DATA_QWORD>
|
|
|
|
</DATA>
|
|
|
|
<DATA NAME="TeSTDaTa3" DATA_STRING="Test string" />
|
|
|
|
<!--<DATA NAME="TESTDATA4" DATA_BITS="90 90 90 90" />-->
|
|
|
|
</LAYER>
|
2017-06-26 14:58:08 +00:00
|
|
|
<!-- Verify that we are able to match this -->
|
|
|
|
<EXE>
|
|
|
|
<NAME>test_match0.exe</NAME>
|
2017-07-14 20:35:11 +00:00
|
|
|
<APP_NAME>test_match0.exe</APP_NAME>
|
2017-06-26 14:58:08 +00:00
|
|
|
<VENDOR>Succeed</VENDOR>
|
|
|
|
<MATCHING_FILE>
|
|
|
|
<NAME>*</NAME>
|
|
|
|
<SIZE>2048</SIZE>
|
|
|
|
<CHECKSUM>0x178BD629</CHECKSUM>
|
|
|
|
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
|
|
|
|
<!-- BIN_PRODUCT_VERSION? -->
|
|
|
|
<FILE_VERSION>1.0.0.0</FILE_VERSION>
|
|
|
|
<!-- BIN_FILE_VERSION? -->
|
|
|
|
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
|
|
|
|
<COMPANY_NAME>CompanyName</COMPANY_NAME>
|
|
|
|
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
|
|
|
|
<INTERNAL_NAME>InternalName</INTERNAL_NAME>
|
|
|
|
</MATCHING_FILE>
|
|
|
|
</EXE>
|
|
|
|
<!-- Verify that we are able to match this -->
|
|
|
|
<EXE>
|
|
|
|
<NAME>test_match1.exe</NAME>
|
2017-07-14 20:35:11 +00:00
|
|
|
<APP_NAME>test_match1.exe</APP_NAME>
|
2017-06-26 14:58:08 +00:00
|
|
|
<VENDOR>Succeed</VENDOR>
|
|
|
|
<MATCHING_FILE>
|
|
|
|
<NAME>*</NAME>
|
|
|
|
<SIZE>2048</SIZE>
|
|
|
|
<CHECKSUM>0x178BD629</CHECKSUM>
|
|
|
|
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
|
|
|
|
<!-- BIN_PRODUCT_VERSION? -->
|
|
|
|
<FILE_VERSION>1.0.0.0</FILE_VERSION>
|
|
|
|
<!-- BIN_FILE_VERSION? -->
|
|
|
|
<FILE_DESCRIPTION>FILEDESCRIPTION</FILE_DESCRIPTION>
|
|
|
|
<COMPANY_NAME>companyname</COMPANY_NAME>
|
|
|
|
<ORIGINAL_FILENAME>ORIGINALFILENAME</ORIGINAL_FILENAME>
|
|
|
|
<INTERNAL_NAME>internalname</INTERNAL_NAME>
|
|
|
|
</MATCHING_FILE>
|
|
|
|
</EXE>
|
|
|
|
<!-- SIZE wrong -->
|
|
|
|
<EXE>
|
|
|
|
<NAME>test_match2.exe</NAME>
|
2017-07-14 20:35:11 +00:00
|
|
|
<APP_NAME>test_match2.exe</APP_NAME>
|
|
|
|
<VENDOR>Fail</VENDOR>
|
2017-06-26 14:58:08 +00:00
|
|
|
<MATCHING_FILE>
|
|
|
|
<NAME>*</NAME>
|
|
|
|
<SIZE>2047</SIZE>
|
|
|
|
<CHECKSUM>0x178BD629</CHECKSUM>
|
|
|
|
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
|
|
|
|
<FILE_VERSION>1.0.0.0</FILE_VERSION>
|
|
|
|
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
|
|
|
|
<COMPANY_NAME>CompanyName</COMPANY_NAME>
|
|
|
|
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
|
|
|
|
<INTERNAL_NAME>InternalName</INTERNAL_NAME>
|
|
|
|
</MATCHING_FILE>
|
|
|
|
</EXE>
|
|
|
|
<!-- CHECKSUM wrong -->
|
|
|
|
<EXE>
|
|
|
|
<NAME>test_match3.exe</NAME>
|
2017-07-14 20:35:11 +00:00
|
|
|
<APP_NAME>test_match3.exe</APP_NAME>
|
|
|
|
<VENDOR>Fail</VENDOR>
|
2017-06-26 14:58:08 +00:00
|
|
|
<MATCHING_FILE>
|
|
|
|
<NAME>*</NAME>
|
|
|
|
<SIZE>2048</SIZE>
|
|
|
|
<CHECKSUM>0x111111</CHECKSUM>
|
|
|
|
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
|
|
|
|
<FILE_VERSION>1.0.0.0</FILE_VERSION>
|
|
|
|
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
|
|
|
|
<COMPANY_NAME>CompanyName</COMPANY_NAME>
|
|
|
|
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
|
|
|
|
<INTERNAL_NAME>InternalName</INTERNAL_NAME>
|
|
|
|
</MATCHING_FILE>
|
|
|
|
</EXE>
|
|
|
|
<!-- PRODUCT_VERSION too high -->
|
|
|
|
<EXE>
|
|
|
|
<NAME>test_match4.exe</NAME>
|
2017-07-14 20:35:11 +00:00
|
|
|
<APP_NAME>test_match4.exe</APP_NAME>
|
|
|
|
<VENDOR>Fail</VENDOR>
|
2017-06-26 14:58:08 +00:00
|
|
|
<MATCHING_FILE>
|
|
|
|
<NAME>*</NAME>
|
|
|
|
<SIZE>2048</SIZE>
|
|
|
|
<CHECKSUM>0x178BD629</CHECKSUM>
|
|
|
|
<PRODUCT_VERSION>1.1.1.1</PRODUCT_VERSION>
|
|
|
|
<FILE_VERSION>1.0.0.0</FILE_VERSION>
|
|
|
|
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
|
|
|
|
<COMPANY_NAME>CompanyName</COMPANY_NAME>
|
|
|
|
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
|
|
|
|
<INTERNAL_NAME>InternalName</INTERNAL_NAME>
|
|
|
|
</MATCHING_FILE>
|
|
|
|
</EXE>
|
|
|
|
<!-- PRODUCT_VERSION too low -->
|
|
|
|
<EXE>
|
|
|
|
<NAME>test_match5.exe</NAME>
|
2017-07-14 20:35:11 +00:00
|
|
|
<APP_NAME>test_match5.exe</APP_NAME>
|
|
|
|
<VENDOR>Fail</VENDOR>
|
2017-06-26 14:58:08 +00:00
|
|
|
<MATCHING_FILE>
|
|
|
|
<NAME>*</NAME>
|
|
|
|
<SIZE>2048</SIZE>
|
|
|
|
<CHECKSUM>0x178BD629</CHECKSUM>
|
|
|
|
<PRODUCT_VERSION>1.0.0.0</PRODUCT_VERSION>
|
|
|
|
<FILE_VERSION>1.0.0.0</FILE_VERSION>
|
|
|
|
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
|
|
|
|
<COMPANY_NAME>CompanyName</COMPANY_NAME>
|
|
|
|
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
|
|
|
|
<INTERNAL_NAME>InternalName</INTERNAL_NAME>
|
|
|
|
</MATCHING_FILE>
|
|
|
|
</EXE>
|
|
|
|
<!-- FILE_VERSION wrong -->
|
|
|
|
<EXE>
|
|
|
|
<NAME>test_match6.exe</NAME>
|
2017-07-14 20:35:11 +00:00
|
|
|
<APP_NAME>test_match6.exe</APP_NAME>
|
|
|
|
<VENDOR>Fail</VENDOR>
|
2017-06-26 14:58:08 +00:00
|
|
|
<MATCHING_FILE>
|
|
|
|
<NAME>*</NAME>
|
|
|
|
<SIZE>2048</SIZE>
|
|
|
|
<CHECKSUM>0x178BD629</CHECKSUM>
|
|
|
|
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
|
|
|
|
<FILE_VERSION>1.1.1.1</FILE_VERSION>
|
|
|
|
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
|
|
|
|
<COMPANY_NAME>CompanyName</COMPANY_NAME>
|
|
|
|
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
|
|
|
|
<INTERNAL_NAME>InternalName</INTERNAL_NAME>
|
|
|
|
</MATCHING_FILE>
|
|
|
|
</EXE>
|
|
|
|
<!-- FILE_DESCRIPTION wrong -->
|
|
|
|
<EXE>
|
|
|
|
<NAME>test_match7.exe</NAME>
|
2017-07-14 20:35:11 +00:00
|
|
|
<APP_NAME>test_match7.exe</APP_NAME>
|
|
|
|
<VENDOR>Fail</VENDOR>
|
2017-06-26 14:58:08 +00:00
|
|
|
<MATCHING_FILE>
|
|
|
|
<NAME>*</NAME>
|
|
|
|
<SIZE>2048</SIZE>
|
|
|
|
<CHECKSUM>0x178BD629</CHECKSUM>
|
|
|
|
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
|
|
|
|
<FILE_VERSION>1.0.0.0</FILE_VERSION>
|
|
|
|
<FILE_DESCRIPTION>Wrong Description</FILE_DESCRIPTION>
|
|
|
|
<COMPANY_NAME>CompanyName</COMPANY_NAME>
|
|
|
|
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
|
|
|
|
<INTERNAL_NAME>InternalName</INTERNAL_NAME>
|
|
|
|
</MATCHING_FILE>
|
|
|
|
</EXE>
|
|
|
|
<!-- COMPANY_NAME wrong -->
|
|
|
|
<EXE>
|
|
|
|
<NAME>test_match8.exe</NAME>
|
2017-07-14 20:35:11 +00:00
|
|
|
<APP_NAME>test_match8.exe</APP_NAME>
|
|
|
|
<VENDOR>Fail</VENDOR>
|
2017-06-26 14:58:08 +00:00
|
|
|
<MATCHING_FILE>
|
|
|
|
<NAME>*</NAME>
|
|
|
|
<SIZE>2048</SIZE>
|
|
|
|
<CHECKSUM>0x178BD629</CHECKSUM>
|
|
|
|
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
|
|
|
|
<FILE_VERSION>1.0.0.0</FILE_VERSION>
|
|
|
|
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
|
|
|
|
<COMPANY_NAME>Wrong CompanyName</COMPANY_NAME>
|
|
|
|
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
|
|
|
|
<INTERNAL_NAME>InternalName</INTERNAL_NAME>
|
|
|
|
</MATCHING_FILE>
|
|
|
|
</EXE>
|
|
|
|
<!-- ORIGINAL_FILENAME wrong -->
|
|
|
|
<EXE>
|
|
|
|
<NAME>test_match9.exe</NAME>
|
2017-07-14 20:35:11 +00:00
|
|
|
<APP_NAME>test_match9.exe</APP_NAME>
|
|
|
|
<VENDOR>Fail</VENDOR>
|
2017-06-26 14:58:08 +00:00
|
|
|
<MATCHING_FILE>
|
|
|
|
<NAME>*</NAME>
|
|
|
|
<SIZE>2048</SIZE>
|
|
|
|
<CHECKSUM>0x178BD629</CHECKSUM>
|
|
|
|
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
|
|
|
|
<FILE_VERSION>1.0.0.0</FILE_VERSION>
|
|
|
|
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
|
|
|
|
<COMPANY_NAME>CompanyName</COMPANY_NAME>
|
|
|
|
<ORIGINAL_FILENAME>Wrong OriginalFilename</ORIGINAL_FILENAME>
|
|
|
|
<INTERNAL_NAME>InternalName</INTERNAL_NAME>
|
|
|
|
</MATCHING_FILE>
|
|
|
|
</EXE>
|
|
|
|
<!-- INTERNAL_NAME wrong -->
|
|
|
|
<EXE>
|
|
|
|
<NAME>test_match10.exe</NAME>
|
2017-07-14 20:35:11 +00:00
|
|
|
<APP_NAME>test_match10.exe</APP_NAME>
|
|
|
|
<VENDOR>Fail</VENDOR>
|
2017-06-26 14:58:08 +00:00
|
|
|
<MATCHING_FILE>
|
|
|
|
<NAME>*</NAME>
|
|
|
|
<SIZE>2048</SIZE>
|
|
|
|
<CHECKSUM>0x178BD629</CHECKSUM>
|
|
|
|
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
|
|
|
|
<FILE_VERSION>1.0.0.0</FILE_VERSION>
|
|
|
|
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
|
|
|
|
<COMPANY_NAME>CompanyName</COMPANY_NAME>
|
|
|
|
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
|
|
|
|
<INTERNAL_NAME>wrong InternalName</INTERNAL_NAME>
|
|
|
|
</MATCHING_FILE>
|
|
|
|
</EXE>
|
|
|
|
<!-- Show that strings are checked for the full length(1) -->
|
|
|
|
<EXE>
|
|
|
|
<NAME>test_match11.exe</NAME>
|
2017-07-14 20:35:11 +00:00
|
|
|
<APP_NAME>test_match11.exe</APP_NAME>
|
|
|
|
<VENDOR>Fail</VENDOR>
|
2017-06-26 14:58:08 +00:00
|
|
|
<MATCHING_FILE>
|
|
|
|
<NAME>*</NAME>
|
|
|
|
<SIZE>2048</SIZE>
|
|
|
|
<CHECKSUM>0x178BD629</CHECKSUM>
|
|
|
|
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
|
|
|
|
<FILE_VERSION>1.0.0.0</FILE_VERSION>
|
|
|
|
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
|
|
|
|
<COMPANY_NAME>CompanyName</COMPANY_NAME>
|
|
|
|
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
|
|
|
|
<INTERNAL_NAME>InternalName wrong</INTERNAL_NAME>
|
|
|
|
</MATCHING_FILE>
|
|
|
|
</EXE>
|
|
|
|
<!-- Show that strings are checked for the full length(2) -->
|
|
|
|
<EXE>
|
|
|
|
<NAME>test_match12.exe</NAME>
|
2017-07-14 20:35:11 +00:00
|
|
|
<APP_NAME>test_match12.exe</APP_NAME>
|
|
|
|
<VENDOR>Fail</VENDOR>
|
2017-06-26 14:58:08 +00:00
|
|
|
<MATCHING_FILE>
|
|
|
|
<NAME>*</NAME>
|
|
|
|
<SIZE>2048</SIZE>
|
|
|
|
<CHECKSUM>0x178BD629</CHECKSUM>
|
|
|
|
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
|
|
|
|
<FILE_VERSION>1.0.0.0</FILE_VERSION>
|
|
|
|
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
|
|
|
|
<COMPANY_NAME>CompanyName</COMPANY_NAME>
|
|
|
|
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
|
|
|
|
<INTERNAL_NAME>Internal</INTERNAL_NAME>
|
|
|
|
</MATCHING_FILE>
|
|
|
|
</EXE>
|
|
|
|
</DATABASE>
|
|
|
|
</SDB>
|