在 2018/12/18 9:20, Zebediah Figura 写道: > On 12/17/18 9:30 AM, Jacek Caban wrote: >> Hi Zebediah, >> >> >> On 17/12/2018 16:15, Zebediah Figura wrote: >>> This provides memcmp() for kernel-mode drivers, which for some reason >>> is not exported from ntoskrnl like other crt functions. >>> >> >> It should work with -lntdllcrt now. >> >> Cheers, >> Jacek >> > > That doesn't seem right; kernel-mode drivers should link to ntoskrnl, > not ntdll. > >
Yes. 'A user-mode application cannot call the entry points in Ntoskrnl.exe, and a kernel-mode driver cannot call the entry points in Ntdll.dll.' [*] [*] https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/libraries-and-headers -- Best regards, LH_Mouse
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
