Windbg and Usermode Driver Code, Build-in commands Reg.,
From ranjani natarajan@21:1/5 to All on Sun Apr 24 21:56:00 2022
Hello,
I am working with Windebugger and a User Mode Driver sample code (Print "Hello World"). Created an executable file of the Sample Driver Code by
altering the Settings in Visual Studio and connected with Windebugger. Symbol file path is set to the folder where the pdb file is located.
After reload, new executable command tab opens.
Ran few build-in commands in Windbg such as lm , kp , dv
During execution of dv, received the following error
dv
Unable to enumerate locals, Win32 error 0n318
Private symbols (symbols.pri) are required for locals.
Type ".hh dbgerr005" for details.
windbg> .hh dbgerr005
Questions:
1) Which private symbol to be added and how to add them?
2) Will I able to print the driver code output in Windbg?
3) Kindly share with some usermode driver code samples to get familiarise.
Correct me if any different procedure to be followed up to get the solution.