Description:
Current implementation assumes success of:
PsLookupProcessByProcessId
MmCopyVirtualMemory
Questions:
What is the correct way to handle failure cases in kernel drivers?
Should the driver return failure status instead of STATUS_SUCCESS if operations fail?
How should cleanup be handled on partial initialization failure?
Description:
Current implementation assumes success of:
PsLookupProcessByProcessId
MmCopyVirtualMemory
Questions:
What is the correct way to handle failure cases in kernel drivers?
Should the driver return failure status instead of STATUS_SUCCESS if operations fail?
How should cleanup be handled on partial initialization failure?