Windows Kernel-Mode Drivers written in Rust

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

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

Windows Kernel-Mode Drivers written in Rust

Post by Quim »

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

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

Re: Windows Kernel-Mode Drivers written in Rust

Post by Quim »

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: 291
Joined: Sun Jul 11, 2010 11:39 am

Re: Windows Kernel-Mode Drivers written in Rust

Post by ThFabba »

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: 1788
Joined: Fri Aug 07, 2009 5:11 am
Location: USA

Re: Windows Kernel-Mode Drivers written in Rust

Post by PurpleGurl »

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: 291
Joined: Sun Jul 11, 2010 11:39 am

Re: Windows Kernel-Mode Drivers written in Rust

Post by ThFabba »

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: 859
Joined: Sat Dec 20, 2008 5:55 pm
Location: Izmir, TR

Re: Windows Kernel-Mode Drivers written in Rust

Post by erkinalp »

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: 1173
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: Windows Kernel-Mode Drivers written in Rust

Post by hbelusca »

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: Ahrefs [Bot], Bing [Bot] and 1 guest