Commit e098d82c authored by Aleksey R.'s avatar Aleksey R.

OS versions range

parent ecd9a55c
......@@ -5,7 +5,7 @@ Data is extracted using [pykd](https://githomelab.ru/pykd/pykd).
# NtQueryInformationFile
| | Started with | Maximum access mask | |
| | Windows version | Maximum access mask | |
| --- | --- | --- | --- |
| FileBasicInformation | | FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_filebasicinformation.md) |
| FileStandardInformation | | 0 | [History](ntqueryinformationfile_filestandardinformation.md) |
......@@ -29,32 +29,32 @@ Data is extracted using [pykd](https://githomelab.ru/pykd/pykd).
| FileReparsePointInformation | | 0 | [History](ntqueryinformationfile_filereparsepointinformation.md) |
| FileNetworkOpenInformation | | FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_filenetworkopeninformation.md) |
| FileAttributeTagInformation | | FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_fileattributetaginformation.md) |
| FileIoCompletionNotificationInformation | 5.2.3790.3959 | FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_fileiocompletionnotificationinformation.md) |
| FileIoPriorityHintInformation | 6.0.6000.16386 | FILE_READ_DATA | [History](ntqueryinformationfile_fileiopriorityhintinformation.md) |
| FileSfioReserveInformation | 6.0.6000.16386 | FILE_READ_DATA | [History](ntqueryinformationfile_filesfioreserveinformation.md) |
| FileSfioVolumeInformation | 6.0.6000.16386 | FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_filesfiovolumeinformation.md) |
| FileHardLinkInformation | 6.0.6000.16386 | 0 | [History](ntqueryinformationfile_filehardlinkinformation.md) |
| FileProcessIdsUsingFileInformation | 6.0.6000.16386 | FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_fileprocessidsusingfileinformation.md) |
| FileNormalizedNameInformation | 6.0.6000.16386 | 0 | [History](ntqueryinformationfile_filenormalizednameinformation.md) |
| FileNetworkPhysicalNameInformation | 6.0.6000.16386 | 0 | [History](ntqueryinformationfile_filenetworkphysicalnameinformation.md) |
| FileIsRemoteDeviceInformation | 6.1.7600.16385 | FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_fileisremotedeviceinformation.md) |
| FileAttributeCacheInformation / FileUnusedInformation | 6.1.7600.16385 | ![X](deny_rd_cr.png) FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_fileattributecacheinformation_fileunusedinformation.md) |
| FileNumaNodeInformation | 6.1.7600.16385 | 0 | [History](ntqueryinformationfile_filenumanodeinformation.md) |
| FileStandardLinkInformation | 6.1.7600.16385 | 0 | [History](ntqueryinformationfile_filestandardlinkinformation.md) |
| FileRemoteProtocolInformation | 6.1.7600.16385 | 0 | [History](ntqueryinformationfile_fileremoteprotocolinformation.md) |
| FileVolumeNameInformation | 6.2.9200.16384 | 0 | [History](ntqueryinformationfile_filevolumenameinformation.md) |
| FileIdInformation | 6.2.9200.16384 | 0 | [History](ntqueryinformationfile_fileidinformation.md) |
| FileHardLinkFullIdInformation | 6.3.9600.16384 | 0 | [History](ntqueryinformationfile_filehardlinkfullidinformation.md) |
| FileDesiredStorageClassInformation | 10.0.15063.0 | FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_filedesiredstorageclassinformation.md) |
| FileStatInformation | 10.0.15063.0 | FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_filestatinformation.md) |
| FileStatLxInformation | 10.0.17134.1 | FILE_READ_EA \| FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_filestatlxinformation.md) |
| FileCaseSensitiveInformation | 10.0.17134.1 | FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_filecasesensitiveinformation.md) |
| FileStorageReserveIdInformation | 10.0.17763.1 | FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_filestoragereserveidinformation.md) |
| FileCaseSensitiveInformationForceAccessCheck | 10.0.17763.1 | 0 | [History](ntqueryinformationfile_filecasesensitiveinformationforceaccesscheck.md) |
| FileIoCompletionNotificationInformation | 5.2.3790.3959 : | FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_fileiocompletionnotificationinformation.md) |
| FileIoPriorityHintInformation | 6.0.6000.16386 : | FILE_READ_DATA | [History](ntqueryinformationfile_fileiopriorityhintinformation.md) |
| FileSfioReserveInformation | 6.0.6000.16386 : | FILE_READ_DATA | [History](ntqueryinformationfile_filesfioreserveinformation.md) |
| FileSfioVolumeInformation | 6.0.6000.16386 : | FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_filesfiovolumeinformation.md) |
| FileHardLinkInformation | 6.0.6000.16386 : | 0 | [History](ntqueryinformationfile_filehardlinkinformation.md) |
| FileProcessIdsUsingFileInformation | 6.0.6000.16386 : | FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_fileprocessidsusingfileinformation.md) |
| FileNormalizedNameInformation | 6.0.6000.16386 : | 0 | [History](ntqueryinformationfile_filenormalizednameinformation.md) |
| FileNetworkPhysicalNameInformation | 6.0.6000.16386 : | 0 | [History](ntqueryinformationfile_filenetworkphysicalnameinformation.md) |
| FileIsRemoteDeviceInformation | 6.1.7600.16385 : | FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_fileisremotedeviceinformation.md) |
| FileAttributeCacheInformation / FileUnusedInformation | 6.1.7600.16385 : 6.3.9600.16384 | ![X](deny_rd_cr.png) FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_fileattributecacheinformation_fileunusedinformation.md) |
| FileNumaNodeInformation | 6.1.7600.16385 : | 0 | [History](ntqueryinformationfile_filenumanodeinformation.md) |
| FileStandardLinkInformation | 6.1.7600.16385 : | 0 | [History](ntqueryinformationfile_filestandardlinkinformation.md) |
| FileRemoteProtocolInformation | 6.1.7600.16385 : | 0 | [History](ntqueryinformationfile_fileremoteprotocolinformation.md) |
| FileVolumeNameInformation | 6.2.9200.16384 : | 0 | [History](ntqueryinformationfile_filevolumenameinformation.md) |
| FileIdInformation | 6.2.9200.16384 : | 0 | [History](ntqueryinformationfile_fileidinformation.md) |
| FileHardLinkFullIdInformation | 6.3.9600.16384 : | 0 | [History](ntqueryinformationfile_filehardlinkfullidinformation.md) |
| FileDesiredStorageClassInformation | 10.0.15063.0 : | FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_filedesiredstorageclassinformation.md) |
| FileStatInformation | 10.0.15063.0 : | FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_filestatinformation.md) |
| FileStatLxInformation | 10.0.17134.1 : | FILE_READ_EA \| FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_filestatlxinformation.md) |
| FileCaseSensitiveInformation | 10.0.17134.1 : | FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_filecasesensitiveinformation.md) |
| FileStorageReserveIdInformation | 10.0.17763.1 : | FILE_READ_ATTRIBUTES | [History](ntqueryinformationfile_filestoragereserveidinformation.md) |
| FileCaseSensitiveInformationForceAccessCheck | 10.0.17763.1 : | 0 | [History](ntqueryinformationfile_filecasesensitiveinformationforceaccesscheck.md) |
# NtSetInformationFile
| | Started with | Maximum access mask | |
| | Windows version | Maximum access mask | |
| --- | --- | --- | --- |
| FileBasicInformation | | FILE_WRITE_ATTRIBUTES | [History](ntsetinformationfile_filebasicinformation.md) |
| FileRenameInformation | | DELETE | [History](ntsetinformationfile_filerenameinformation.md) |
......@@ -74,24 +74,24 @@ Data is extracted using [pykd](https://githomelab.ru/pykd/pykd).
| FileTrackingInformation | | FILE_WRITE_DATA | [History](ntsetinformationfile_filetrackinginformation.md) |
| FileValidDataLengthInformation | | FILE_WRITE_DATA | [History](ntsetinformationfile_filevaliddatalengthinformation.md) |
| FileShortNameInformation | | DELETE | [History](ntsetinformationfile_fileshortnameinformation.md) |
| FileIoCompletionNotificationInformation | 5.2.3790.3959 | FILE_READ_ATTRIBUTES \| FILE_WRITE_ATTRIBUTES | [History](ntsetinformationfile_fileiocompletionnotificationinformation.md) |
| FileIoStatusBlockRangeInformation | 6.0.6000.16386 | FILE_READ_ATTRIBUTES | [History](ntsetinformationfile_fileiostatusblockrangeinformation.md) |
| FileIoPriorityHintInformation | 6.0.6000.16386 | FILE_READ_DATA | [History](ntsetinformationfile_fileiopriorityhintinformation.md) |
| FileSfioReserveInformation | 6.0.6000.16386 | FILE_READ_DATA | [History](ntsetinformationfile_filesfioreserveinformation.md) |
| FileAttributeCacheInformation / FileUnusedInformation | 6.1.7600.16385 | ![X](deny_rd_cr.png) FILE_READ_ATTRIBUTES | [History](ntsetinformationfile_fileattributecacheinformation_fileunusedinformation.md) |
| FileReplaceCompletionInformation | 6.3.9600.16384 | 0 | [History](ntsetinformationfile_filereplacecompletioninformation.md) |
| FileDispositionInformationEx | 10.0.14393.0 | DELETE | [History](ntsetinformationfile_filedispositioninformationex.md) |
| FileRenameInformationEx | 10.0.14393.0 | DELETE | [History](ntsetinformationfile_filerenameinformationex.md) |
| FileDesiredStorageClassInformation | 10.0.15063.0 | FILE_WRITE_ATTRIBUTES | [History](ntsetinformationfile_filedesiredstorageclassinformation.md) |
| FileMemoryPartitionInformation | 10.0.16299.15 | 0 | [History](ntsetinformationfile_filememorypartitioninformation.md) |
| FileCaseSensitiveInformation | 10.0.17134.1 | FILE_WRITE_ATTRIBUTES | [History](ntsetinformationfile_filecasesensitiveinformation.md) |
| FileLinkInformationEx | 10.0.17763.1 | 0 | [History](ntsetinformationfile_filelinkinformationex.md) |
| FileStorageReserveIdInformation | 10.0.17763.1 | FILE_WRITE_DATA | [History](ntsetinformationfile_filestoragereserveidinformation.md) |
| FileCaseSensitiveInformationForceAccessCheck | 10.0.17763.1 | 0 | [History](ntsetinformationfile_filecasesensitiveinformationforceaccesscheck.md) |
| FileIoCompletionNotificationInformation | 5.2.3790.3959 : | FILE_READ_ATTRIBUTES \| FILE_WRITE_ATTRIBUTES | [History](ntsetinformationfile_fileiocompletionnotificationinformation.md) |
| FileIoStatusBlockRangeInformation | 6.0.6000.16386 : | FILE_READ_ATTRIBUTES | [History](ntsetinformationfile_fileiostatusblockrangeinformation.md) |
| FileIoPriorityHintInformation | 6.0.6000.16386 : | FILE_READ_DATA | [History](ntsetinformationfile_fileiopriorityhintinformation.md) |
| FileSfioReserveInformation | 6.0.6000.16386 : | FILE_READ_DATA | [History](ntsetinformationfile_filesfioreserveinformation.md) |
| FileAttributeCacheInformation / FileUnusedInformation | 6.1.7600.16385 : 6.3.9600.16384 | ![X](deny_rd_cr.png) FILE_READ_ATTRIBUTES | [History](ntsetinformationfile_fileattributecacheinformation_fileunusedinformation.md) |
| FileReplaceCompletionInformation | 6.3.9600.16384 : | 0 | [History](ntsetinformationfile_filereplacecompletioninformation.md) |
| FileDispositionInformationEx | 10.0.14393.0 : | DELETE | [History](ntsetinformationfile_filedispositioninformationex.md) |
| FileRenameInformationEx | 10.0.14393.0 : | DELETE | [History](ntsetinformationfile_filerenameinformationex.md) |
| FileDesiredStorageClassInformation | 10.0.15063.0 : | FILE_WRITE_ATTRIBUTES | [History](ntsetinformationfile_filedesiredstorageclassinformation.md) |
| FileMemoryPartitionInformation | 10.0.16299.15 : | 0 | [History](ntsetinformationfile_filememorypartitioninformation.md) |
| FileCaseSensitiveInformation | 10.0.17134.1 : | FILE_WRITE_ATTRIBUTES | [History](ntsetinformationfile_filecasesensitiveinformation.md) |
| FileLinkInformationEx | 10.0.17763.1 : | 0 | [History](ntsetinformationfile_filelinkinformationex.md) |
| FileStorageReserveIdInformation | 10.0.17763.1 : | FILE_WRITE_DATA | [History](ntsetinformationfile_filestoragereserveidinformation.md) |
| FileCaseSensitiveInformationForceAccessCheck | 10.0.17763.1 : | 0 | [History](ntsetinformationfile_filecasesensitiveinformationforceaccesscheck.md) |
# NtQueryVolumeInformationFile
| | Started with | Maximum access mask | |
| | Windows version | Maximum access mask | |
| --- | --- | --- | --- |
| FileFsVolumeInformation | | 0 | [History](ntqueryvolumeinformationfile_filefsvolumeinformation.md) |
| FileFsSizeInformation | | 0 | [History](ntqueryvolumeinformationfile_filefssizeinformation.md) |
......@@ -101,28 +101,22 @@ Data is extracted using [pykd](https://githomelab.ru/pykd/pykd).
| FileFsFullSizeInformation | | 0 | [History](ntqueryvolumeinformationfile_filefsfullsizeinformation.md) |
| FileFsObjectIdInformation | | 0 | [History](ntqueryvolumeinformationfile_filefsobjectidinformation.md) |
| FileFsDriverPathInformation | | 0 | [History](ntqueryvolumeinformationfile_filefsdriverpathinformation.md) |
| FileFsVolumeFlagsInformation | 6.0.6000.16386 | FILE_READ_ATTRIBUTES | [History](ntqueryvolumeinformationfile_filefsvolumeflagsinformation.md) |
| FileFsSectorSizeInformation | 6.2.9200.16384 | 0 | [History](ntqueryvolumeinformationfile_filefssectorsizeinformation.md) |
| FileFsDataCopyInformation | 6.2.9200.16384 | 0 | [History](ntqueryvolumeinformationfile_filefsdatacopyinformation.md) |
| FileFsMetadataSizeInformation | 10.0.10240.16515 | 0 | [History](ntqueryvolumeinformationfile_filefsmetadatasizeinformation.md) |
| FileFsFullSizeInformationEx | 10.0.17763.1 | 0 | [History](ntqueryvolumeinformationfile_filefsfullsizeinformationex.md) |
| FileFsVolumeFlagsInformation | 6.0.6000.16386 : | FILE_READ_ATTRIBUTES | [History](ntqueryvolumeinformationfile_filefsvolumeflagsinformation.md) |
| FileFsSectorSizeInformation | 6.2.9200.16384 : | 0 | [History](ntqueryvolumeinformationfile_filefssectorsizeinformation.md) |
| FileFsDataCopyInformation | 6.2.9200.16384 : | 0 | [History](ntqueryvolumeinformationfile_filefsdatacopyinformation.md) |
| FileFsMetadataSizeInformation | 10.0.10240.16515 : | 0 | [History](ntqueryvolumeinformationfile_filefsmetadatasizeinformation.md) |
| FileFsFullSizeInformationEx | 10.0.17763.1 : | 0 | [History](ntqueryvolumeinformationfile_filefsfullsizeinformationex.md) |
# NtSetVolumeInformationFile
| | Started with | Maximum access mask | |
| | Windows version | Maximum access mask | |
| --- | --- | --- | --- |
| FileFsLabelInformation | | FILE_WRITE_DATA | [History](ntsetvolumeinformationfile_filefslabelinformation.md) |
| FileFsControlInformation | | FILE_WRITE_DATA | [History](ntsetvolumeinformationfile_filefscontrolinformation.md) |
| FileFsObjectIdInformation | | FILE_WRITE_DATA | [History](ntsetvolumeinformationfile_filefsobjectidinformation.md) |
| FileFsVolumeFlagsInformation | 6.0.6000.16386 | FILE_WRITE_ATTRIBUTES | [History](ntsetvolumeinformationfile_filefsvolumeflagsinformation.md) |
| FileFsVolumeFlagsInformation | 6.0.6000.16386 : | FILE_WRITE_ATTRIBUTES | [History](ntsetvolumeinformationfile_filefsvolumeflagsinformation.md) |
# Legend
| Icon | Description |
| --- | --- |
| ![X](deny_rd_cr.png) | No longer supported |
# How to generate README.md
# How to generate README.md and childrens
```
> python ioam.py
......
......@@ -108,7 +108,7 @@ def print_table(f, collected, function_name, enum_name):
values = values | set([ i for i in x.values[function_name] ])
f.write( "\n" )
f.write( "| | Started with | Maximum access mask | |\n" )
f.write( "| | Windows version | Maximum access mask | |\n" )
f.write( "| --- | --- | --- | --- |\n" )
for i in sorted(values): # for each InfoClass value
......@@ -117,6 +117,7 @@ def print_table(f, collected, function_name, enum_name):
maximum_am = 0
started = ""
ended = ""
used_icons = set()
with open(".\\{}.md".format(file_name), "w") as subf:
......@@ -147,6 +148,8 @@ def print_table(f, collected, function_name, enum_name):
elif i < max([ j for j in x.values[function_name] ]):
am = Icon.cancel
used_icons = used_icons.union([Icon.cancel, ])
if not ended:
ended = ver
else:
color = Icon.clock
used_icons = used_icons.union([Icon.clock, ])
......@@ -168,13 +171,13 @@ def print_table(f, collected, function_name, enum_name):
subf.write( "[Main table](README.md)\n" )
subf.write( "\n" )
f.write( "| {} | {} | {}{} | [History]({}.md) |\n".format( " / ".join(names),
started,
Icon.cancel + " " if Icon.cancel in used_icons else "",
format_file_access_masks(maximum_am),
file_name ) )
f.write( "| {} | {}{}{} | {}{} | [History]({}.md) |\n".format( " / ".join(names),
started,
" : " if started or ended else "",
ended,
Icon.cancel + " " if Icon.cancel in used_icons else "",
format_file_access_masks(maximum_am),
file_name ) )
f.write( "\n" )
......@@ -224,14 +227,7 @@ def main():
f.write( "# NtSetVolumeInformationFile\n" )
print_table( f, collected, "NtSetVolumeInformationFile", "FSINFOCLASS" )
f.write( "# Legend\n" )
f.write( "\n" )
f.write( "| Icon | Description |\n" )
f.write( "| --- | --- |\n" )
f.write( "| {} | {} |\n".format(Icon.cancel, Icon.descriptions[Icon.cancel]) )
f.write( "\n" )
f.write( "# How to generate README.md\n" )
f.write( "# How to generate README.md and childrens\n" )
f.write( "\n" )
f.write( "```\n" )
f.write( "> python ioam.py\n" )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment