Are there any open source C Library (not c++) for Windows Driver Development? [closed]

半城伤御伤魂 提交于 2019-12-11 00:15:21

问题


Are there any open source C Library (not c++) for Windows Driver Development ?

I am developing a network device driver that need some functionality such as RegEx, string manipulation, Object Oriented by C and XML and so on...

thanks.


回答1:


Not aware of any real regular expression libraries. However, depending on what you need FsRtlIsNameInExpression may be of some interest. There's plenty of string manipulation functions in the Safe String Libraries, they just have names that are different to the libc equiavalents.




回答2:


Please don't do this in a driver. It would be frowned upon in the Windows driver communities.

What keeps you from communicating with a UM module of your product to do such more error-prone operations? Keep the operations, especially risky ones, to a minimum within a driver. When your UM module crashes, it may take down a process, when your driver crashes it will inevitably take down the system.

No question: it's possible. But not everything that is possible should also be done ;)



来源:https://stackoverflow.com/questions/3626724/are-there-any-open-source-c-library-not-c-for-windows-driver-development

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!