Windows Kernel-Mode Drivers written in Rust

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

Post Reply
Quim
Posts: 235
Joined: Wed Jul 04, 2018 11:45 pm

Windows Kernel-Mode Drivers written in Rust

Post by Quim » Thu Jan 17, 2019 6:26 am

Could be this useful to kernel development?
https://github.com/pravic/winapi-kmd-rs

Quim
Posts: 235
Joined: Wed Jul 04, 2018 11:45 pm

Re: Windows Kernel-Mode Drivers written in Rust

Post by Quim » Thu Jan 17, 2019 9:01 am

Quim wrote:
Thu Jan 17, 2019 6:26 am
Could be this useful to kernel development?
https://github.com/pravic/winapi-kmd-rs
It seems that someone asked about ReactOS compatibility:
https://github.com/pravic/winapi-kmd-rs/issues/7

ThFabba
Developer
Posts: 263
Joined: Sun Jul 11, 2010 11:39 am

Re: Windows Kernel-Mode Drivers written in Rust

Post by ThFabba » Thu Jan 17, 2019 10:14 am

1) It would require shipping a Rust toolchain with RosBE
2) It would require us to maintain a separate set of API headers

So, unlikely. Although if it becomes more widespread, maybe some day it will make sense.

PurpleGurl
Posts: 1777
Joined: Fri Aug 07, 2009 5:11 am
Location: USA

Re: Windows Kernel-Mode Drivers written in Rust

Post by PurpleGurl » Thu Jan 17, 2019 5:14 pm

Or, unless someone here is willing to convert them to C and/or ASM, though C is to goto language for us.

ThFabba
Developer
Posts: 263
Joined: Sun Jul 11, 2010 11:39 am

Re: Windows Kernel-Mode Drivers written in Rust

Post by ThFabba » Thu Jan 17, 2019 10:04 pm

Those are all example drivers (to demonstrate it's possible to write WDM drivers in Rust), so they have no value if you convert them.

erkinalp
Posts: 837
Joined: Sat Dec 20, 2008 5:55 pm

Re: Windows Kernel-Mode Drivers written in Rust

Post by erkinalp » Thu Jan 24, 2019 8:40 am

Kernel written in Rust may exploit the WinAPI fact HANDLEs do not need to correspond to actual memory addresses.
-uses Ubuntu+GNOME 3 GNU/Linux
-likes Free (as in freedom) and Open Source Detergents
-favors open source of Windows 10 under GPL2

hbelusca
Developer
Posts: 1128
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: Windows Kernel-Mode Drivers written in Rust

Post by hbelusca » Fri Jan 25, 2019 12:05 am

erkinalp wrote:
Thu Jan 24, 2019 8:40 am
Kernel written in Rust may exploit the WinAPI fact HANDLEs do not need to correspond to actual memory addresses.
AAAAAaaaaaand ....... ?

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests