OSR Dev Blog: Drivers, Storage, and Analysis
We're involved in many areas of OS internals here at OSR. We deal with drivers for unusual hardware, we extend OS policy in interesting ways for better system performance and reliability, we analyze difficult problems and sometimes even craft solutions for them. We also work with our friends at Microsoft to help shape and understand the device, driver, and file system developer experience.
As part of just about everything we do, we try to keep the community involved. Learning something for its own sake, or for our own use, is good. But learning something that you share with others? We think that's great.
We publish a lot of what we learn in our journal The NT Insider. But some things are shorter, are ideas that are still in the process of being developed, or maybe they're things that we don't want to wait until the next scheduled publication. In these cases, we post what we've learned and what we've been thinking about here.
WdfSend: Are There REALLY Three Useful Variants?
Peter Viscarola (Read 616 times)
When you learn about WdfSend, you typically learn that there are three different ways that you can send a Request to an I/O Target. It makes a nice story to describe these three options as equally viable for a driver writer. Unfortunately, in the majority of cases the only practical option is to send a Request asynchronously and specify a Completion Routine Event Processing Callback. This quick article describes why this is the case.
Turning a Breakpoint into a Busypoint
Scott Noone (Read 1033 times)
Breakpoints are great, but at some point you have to resume from them. What if you want to freeze a thread in place while allowing other threads to continue executing?
Investigating a NULL Pointer Dereference
Scott Noone (Read 2632 times)
A former student provided a crash dump for some analysis, here's what I found...
Understanding WDFMEMORY Objects
Peter Viscarola (Read 589 times)
Confused about WDFMEMORY Objects? Wonder why they exist at all? Here, we try to help.
Using WinDbg to hunt for strings
Scott Noone (Read 1271 times)
Ever wanted to search a live system or crash dump for strings? In this post we'll show you how!
Spice up your debugger output with DML!
Scott Noone (Read 992 times)
The Debugger Markup Language makes navigating the command window a breeze. Did you know that you can add links to the debugging output not only from your debugger extensions but also from your drivers? In this Developer Blog entry we'll show you how...
Test Signing Made Simple
Peter Viscarola (Read 1051 times)
The Win8 WDK makes test signing easy. No, really. It does. Read and see...
Can You NEVER Break the Rules?
Peter Viscarola (Read 1020 times)
Sometimes it's necessary as a developer to break the rules. Even good developers do it. Sometimes, to do something cool, you just have to do it. But where do you draw the line? Let's explore that question a bit.
Peter Viscarola (Read 1172 times)
SDV has a new rule and there's bugcheck 9F to deal with. It's about time we thought more about EvtIoStop
Getting DbgPrint Output To Appear In Vista and Later
OSR Staff (Read 77413 times)
You build the checked version of your driver and run it on any OS since Vista for the first time. And, what happens? You don't see any of your driver's DbgPrint messages displayed in WinDbg! What happened? Let me tell you (updated for Win7 and Win8)...