-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Are there any update plan for this? #9
Comments
Yeah, it is broken for a while. Need to sync. |
Tried to update.
|
Is the current master supposed to build right now? I can't get it to work, followed the setting up instructions quite literally:
I have to say that my msvc is the one from VS 2017 and not 2015, but the errormessage does not sound like that is the issue here. I am not a total rust beginner, but i have never touched custom targets, and thus have no clue where the target should be specified and why this is apparently not properly done on my installation. If i explicitely set the rustpath, i get a different error:
|
Nah, due to Rust changes it is broken at the moment. I 've managed to update the new libcore, but it needs to implement the new allocator API also. |
I have had a look at the new allocator api and have successfully built a library, but i can't test it because windows refuses to load it. The target system is running W10 Pro N x64, and I attempt to use https://github.com/maldevel/ServiceInstaller to load the driver. I enabled test signing mode ( With an unsigned driver, With a self-signed driver (using SignTool), Apart from the small hint
I have no clue what went wrong. Was it a dependency that could not be found? These are the lib's imports according to IDA: How did deploy your driver examples? |
Of course you are not allowed to use any of usermode DLLs in kernel mode, that's why service loader complains about it. I'd like to have a look on your code to figure out what's wrong with it. At least try to avoid any references or crates, use only libcore and external NT Kernel API functions. P.S. As for deployment - the easiest way is to setup a VM with Windows XP, actually. Windows 8 and higher is for experienced driver developers :) |
@pravic Are you still have plans to upgrade this project to working condition? |
No idea, to be honest. Technically I can.. Need to check whether we can skip the "libcore_nofp.patch" part. As for the further development - I doubt that. It was more of (an exciting) proof of concept rather than a real project: porting the whole Windows Driver Kit isn't a good idea, as for the simple clib-style bindings - it would be possible, but worthless perhaps. |
I can't compile the project with latest nightly toolchain. And I'm newbie to rust, have no idea how to get this to work.
error like:
E:\prj\rust\kmd-env-rs\km\examples\01.minimal>cargo build --release
Compiling core v0.0.0 (file:///E:/prj/rust/kmd-env-rs/libcore)
error[E0557]: feature has been removed
--> E:\prj\rust\kmd-env-rs\libcore\lib.rs:77:12
|
77 | #![feature(reflect)]
| ^^^^^^^
The text was updated successfully, but these errors were encountered: