ntoskrnl tests - where to write them?
Steven Edwards
winehacker at gmail.com
Fri Jul 18 22:30:38 CDT 2008
On Fri, Jul 18, 2008 at 11:15 PM, Stefan Dösinger
<stefan at codeweavers.com> wrote:
>> I have been looking at writing a couple of tests for ntoskrl functions
>> but I have had difficulty locating a suitable place. It sort of looks
>> like ntdll/tests is the place but it is not clear. Is there a guide
>> for locating this one?
> I think the problem with ntoskrnl tests is that they have to come in form of
> a Windows device driver. I think so far Wine and Mingw lack the capability
> to build such drivers. Also running such tests will require Admin privileges
> on Windows, and impose security problems. (Of course the tests could be
> skipped if the user lacks prilvileges to load the test)
As far as Mingw goes, I think all you should need is something along
the lines of
-nostartfiles -nostdlib -Wl,--entry,_DriverEntry at 8
--
Steven Edwards
"There is one thing stronger than all the armies in the world, and
that is an idea whose time has come." - Victor Hugo
More information about the wine-devel
mailing list