HwStorPortProhibitedDIS 規則 (storport)

此規則包含 WDM DDIS 的清單, (排除在實體 StorPort 迷你埠驅動程式中不應該呼叫的內嵌函式) 。

驅動程式模型:Storport

測試方法

在編譯時期

執行 靜態驅動程式驗證器 ,並指定 HwStorPortProhibitedDIS 規則。

使用下列步驟來執行程式碼的分析:
  1. 準備程式碼 (使用角色類型宣告) 。
  2. 執行靜態驅動程式驗證程式。
  3. 檢視和分析結果。

如需詳細資訊,請參閱 使用靜態驅動程式驗證器尋找驅動程式中的瑕疵

適用於

IoReadPartitionTable
IoReadPartitionTableEx
IoSetPartitionInformation
IoSetPartitionInformationEx
IoWritePartitionTable
IoWritePartitionTableEx
CmRegisterCallback
CmRegisterCallbackEx
CmUnRegisterCallback
ExAcquireFastMutex
ExAcquireFastMutexUnsafe
ExAcquireResourceExclusiveLite
ExAcquireResourceSharedLite
ExAcquireRundownProtection
ExAcquireRundownProtectionEx
ExAcquireSharedStarveExclusive
ExAcquireSharedWaitForExclusive
ExAllocatePool
ExAllocatePoolWithQuota
ExAllocatePoolWithQuotaTag
ExAllocatePoolWithTag
ExAllocatePoolWithTagPriority
ExConvertExclusiveToSharedLite
ExCreateCallback
ExDeletePagedLookasideList
ExDeleteResourceLite
ExEnterCriticalRegionAndAcquireResourceExclusive
ExGetExclusiveWaiterCount
ExGetSharedWaiterCount
ExInitializePagedLookasideList
ExInitializeResource
ExInitializeResourceLite
ExIsProcessorFeaturePresent
ExIsResourceAcquired
ExIsResourceAcquiredExclusive
ExIsResourceAcquiredExclusiveLite
ExIsResourceAcquiredLite
ExIsResourceAcquiredShared
ExIsResourceAcquiredSharedLite
ExRaiseAccessViolation
ExRaiseDatatypeMisalignment
ExRaiseStatus
ExRegisterCallback
ExReinitializeResourceLite
ExReleaseFastMutex
ExReleaseFastMutexUnsafe
ExReleaseResourceAndLeaveCriticalRegion
ExReleaseResourceForThreadLite
ExReleaseResourceLite
ExReleaseRundownProtection
ExReleaseRundownProtectionEx
ExSetResourceOwnerPointer
ExSetResourceOwnerPointerEx
ExSetTimerResolution
ExTryToAcquireFastMutex
ExUnregisterCallback
ExUuidCreate
ExWaitForRundownProtectionRelease
HalEx用MBR
HalGetInterruptVector
IoAcquireCancelSpinLock
IoAllocateController
IoAllocateIrp
IoAssignArcName
IoAttachDevice
IoAttachDeviceToDeviceStack
IoBuildAsynchronousFsdRequest
IoBuildDeviceIoControlRequest
IoBuildSynchronousFsdRequest
IoCallDriver
IoCancelIrp
IoCheckShareAccess
IoCompleteRequest
IoConnectInterrupt
IoConnectInterruptEx
IoCreateController
IoCreateDevice
IoCreateDeviceSecure
IoCreateFile
IoCreateNotificationEvent
IoCreateSymbolicLink
IoCreateSynchronizationEvent
IoCreateUnprotectedSymbolicLink
IoDeassignArcName
IoDeleteController
IoDeleteDevice
IoDeleteSymbolicLink
IoDetachDevice
IoDisconnectInterrupt
IoFreeController
IoFreeIrp
IoGetAttachedDeviceReference
IoGetConfigurationInformation
IoGetDeviceInterfaceAlias
IoGetDeviceInterfaces
IoGetDeviceNumaNode
IoGetDeviceObjectPointer
IoGetDeviceProperty
IoGetDevicePropertyData
IoGetDmaAdapter
IoGetFileObjectGenericMapping
IoGetInitialStack
IoInitializeIrp
IoInitializeTimer
IoInvalidateDeviceRelations
IoIsWdmVersionAvailable
IoOpenDeviceInterfaceRegistryKey
IoOpenDeviceRegistryKey
IoRaiseHardError
IoRaiseInformationalHardError
IoRegisterBootDriverReinitialization
IoRegisterDeviceInterface
IoRegisterDriverReinitialization
IoRegisterLastChanceShutdownNotification
IoRegisterPlugPlayNotification
IoRegisterShutdownNotification
IoReleaseCancelSpinLock
IoRemoveShareAccess
IoReportDetectedDevice
IoReportTargetDeviceChange
IoReportTargetDeviceChangeAsynchronous
IoReuseIrp
IoSetCompletionRoutineEx
IoSetDeviceInterfaceState
IoSetDevicePropertyData
IoSetShareAccess
IoSetStartIoAttributes
IoStartNextPacket
IoUnregisterPlugPlayNotification
IoUnregisterPlugPlayNotificationEx
IoUnregisterShutdownNotification
IoUpdateShareAccess
IoWMIAllocateInstanceIds
IoWMIRegistrationControl
KeAcquireGuardedMutex
KeAcquireGuardedMutexUnsafe
KeAcquireInStackQueuedSpinLock
KeAcquireInStackQueuedSpinLockAtDpcLevel
KeAcquireInStackQueuedSpinLockForDpc
KeAcquireInterruptSpinLock
KeAcquireSpinLock
KeAcquireSpinLockAtDpcLevel
KeAcquireSpinLockForDpc
KeAcquireSpinLockRaiseToDpc
KeAreAllApcsDisabled
KeAreApcsDisabled
KeCancelTimer
KeClearEvent
KeDelayExecutionThread
KeDeregisterNmiCallback
KeEnterCriticalRegion
KeEnterGuardedRegion
KeFlushQueuedDpcs
KeGetCurrentIrql
KeInitializeDeviceQueue
KeInitializeEvent
KeInitializeGuardedMutex
KeInitializeMutex
KeInitializeSemaphore
KeInitializeSpinLock
KeInitializeTimer
KeInitializeTimerEx
KeInsertByKeyDeviceQueue
KeInsertDeviceQueue
KeInsertQueueDpc
KeLeaveCriticalRegion
KeLeaveGuardedRegion
KeLowerIrql
KePulseEvent
KeQueryActiveProcessors
KeQueryPriorityThread
KeQueryRuntimeThread
KeRaiseIrql
KeRaiseIrqlToDpcLevel
KeReadStateEvent
KeReadStateMutex
KeReadStateSemaphore
KeReadStateTimer
KeRegisterNmiCallback
KeReleaseGuardedMutex
KeReleaseGuardedMutexUnsafe
KeReleaseInStackQueuedSpinLock
KeReleaseInStackQueuedSpinLockForDpc
KeReleaseInStackQueuedSpinLockFromDpcLevel
KeReleaseInterruptSpinLock
KeReleaseMutex
KeReleaseSemaphore
KeReleaseSpinLock
KeReleaseSpinLockForDpc
KeReleaseSpinLockFromDpcLevel
KeRemoveByKeyDeviceQueue
KeRemoveDeviceQueue
KeRemoveEntryDeviceQueue
KeRemoveQueueDpc
KeResetEvent
KeRevertToUserAffinityThreadEx
KeSaveFloatingPointState
KeSetEvent
KeSetSystemAffinityThread
KeSetSystemGroupAffinityThread
KeSetTimer
KeSetTimerEx
KeTestSpinLock
KeTryToAcquireGuardedMutex
KeTryToAcquireSpinLockAtDpcLevel
KeWaitForMultipleObjects
KeWaitForMutexObject
KeWaitForSingleObject
MmAllocateNonCachedMemory
MmAllocatePagesForMdl
MmFreeContiguousMemory
MmFreeNonCachedMemory
MmFreePagesFromMdl
MmGetSystemRoutineAddress
MmLockPagableDataSection
MmLockPagableSectionByHandle
MmMapLockedPages
MmMapLockedPagesSpecifyCache
MmMapLockedPagesWithReservedMapping
MmPageEntireDriver
MmProbeAndLockPages
MmResetDriverPaging
MmSecureVirtualMemory
MmUnlockPagableImageSection
MmUnlockPages
MmUnmapLockedPages
MmUnsecureVirtualMemory
ObDereferenceObject
ObDereferenceObjectWithTag
ObGetObjectSecurity
ObReferenceObject
ObReferenceObjectByHandle
ObReferenceObjectByHandleWithTag
ObReferenceObjectByPointer
ObReferenceObjectByPointerWithTag
ObReferenceObjectWithTag
ObReleaseObjectSecurity
PoCallDriver
PoRequestPowerIrp
ProbeForRead
ProbeForWrite
PsCreateSystemThread
PsGetVersion
PsRemoveLoadImageNotifyRoutine
PsSetCreateProcessNotifyRoutine
PsSetCreateProcessNotifyRoutineEx
PsSetCreateThreadNotifyRoutine
PsSetLoadImageNotifyRoutine
PsTerminateSystemThread
RtlDeleteRegistryValue
SeAccessCheck
SeAssignSecurity
SeAssignSecurityEx
SeDeassignSecurity
SeSinglePrivilegeCheck
SeValidSecurityDescriptor
ZwAllocateLocallyUniqueId
ZwAllocateVirtualMemory
ZwClose
ZwCommitComplete
ZwCommitEnlistment
ZwCommitTransaction
ZwCreateDirectoryObject
ZwCreateEnlistment
ZwCreateEvent
ZwCreateFile
ZwCreateKey
ZwCreateKeyTransacted
ZwCreateResourceManager
ZwCreateTransaction
ZwCreateTransactionManager
ZwDeleteFile
ZwDeleteKey
ZwDeleteValueKey
ZwDeviceIoControlFile
ZwDuplicateToken
ZwEnumerateKey
ZwEnumerateTransactionObject
ZwEnumerateValueKey
ZwFlushBuffersFile
ZwFlushKey
ZwFreeVirtualMemory
ZwFsControlFile
ZwGetNotificationResourceManager
ZwLoadDriver
ZwLockFile
ZwMakeTemporaryObject
ZwMapViewOfSection
ZwNotifyChangeKey
ZwOpenDirectoryObject
ZwOpenEnlistment
ZwOpenEvent
ZwOpenFile
ZwOpenKey
ZwOpenKeyEx
ZwOpenKeyTransacted
ZwOpenKeyTransactedEx
ZwOpenProcess
ZwOpenProcessTokenEx
ZwOpenResourceManager
ZwOpenSection
ZwOpenSymbolicLinkObject
ZwOpenThreadTokenEx
ZwOpenTransaction
ZwOpenTransactionManager
ZwPowerInformation
ZwPrepareComplete
ZwPrepareEnlistment
ZwPrepareComplete
ZwPrepareEnlistment
ZwQueryDirectoryFile
ZwQueryEaFile
ZwQueryFullAttributesFile
ZwQueryInformationEnlistment
ZwQueryInformationFile
ZwQueryInformationResourceManager
ZwQueryInformationToken
ZwQueryInformationTransaction
ZwQueryInformationTransactionManager
ZwQueryKey
ZwQueryObject
ZwQueryQuotaInformationFile
ZwQuerySecurityObject
ZwQuerySymbolicLinkObject
ZwQueryValueKey
ZwQueryVolumeInformationFile
ZwReadFile
ZwReadOnlyEnlistment
ZwRecoverEnlistment
ZwRecoverTransactionManager
ZwRollbackComplete
ZwRollbackEnlistment
ZwRollbackTransaction
ZwRollforwardTransactionManager
ZwSetEaFile
ZwSetInformationEnlistment
ZwSetInformationFile
ZwSetInformationThread
ZwSetInformationToken
ZwSetInformationTransaction
ZwSetQuotaInformationFile
ZwSetSecurityObject
ZwSetValueKey
ZwSetVolumeInformationFile
ZwSinglePhaseReject
ZwTerminateProcess
ZwUnloadDriver
ZwUnlockFile
ZwUnmapViewOfSection
ZwWaitForSingleObject
ZwWriteFile