Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StephanvanSchaik/windows-kernel-rs
/ functions
Functions
185 in github.com/StephanvanSchaik/windows-kernel-rs
⨍
Functions
185
◇
Types & classes
56
Method
deref_mut
(&mut self)
windows-kernel-rs/src/sync/push_lock.rs:199
Method
device_type
(&self)
windows-kernel-rs/src/ioctl.rs:74
Function
dispatch_callback
( device: *mut DEVICE_OBJECT, irp: *mut IRP, major: u8, )
windows-kernel-rs/src/device.rs:360
Function
dispatch_device
(device: *mut DEVICE_OBJECT, irp: *mut IRP)
windows-kernel-rs/src/device.rs:438
Function
driver_entry
(driver: &mut DRIVER_OBJECT, _: &UNICODE_STRING)
03-generating-bindings/src/lib.rs:13
Function
driver_entry
(driver: &mut DRIVER_OBJECT, _: &UNICODE_STRING)
02-hello-world/src/lib.rs:14
Function
driver_exit
(_driver: *mut DRIVER_OBJECT)
03-generating-bindings/src/lib.rs:23
Function
driver_exit
(_driver: &mut DRIVER_OBJECT)
02-hello-world/src/lib.rs:24
Method
drop
(&mut self)
windows-kernel-rs/src/process.rs:63
Method
drop
(&mut self)
windows-kernel-rs/src/device.rs:301
Method
drop
(&mut self)
windows-kernel-rs/src/mdl.rs:75
Method
drop
(&mut self)
windows-kernel-rs/src/memory.rs:117
Method
drop
(&mut self)
windows-kernel-rs/src/section.rs:134
Method
drop
(&mut self)
windows-kernel-rs/src/symbolic_link.rs:31
Method
drop
(&mut self)
windows-kernel-rs/src/sync/fast_mutex.rs:129
Method
drop
(&mut self)
windows-kernel-rs/src/sync/push_lock.rs:144
Method
flags
(&self)
windows-kernel-rs/src/request.rs:50
Method
from
(value: u32)
winioctl/src/ioctl.rs:138
Method
from
(value: u32)
windows-kernel-rs/src/device.rs:174
Method
from
(value: u64)
windows-kernel-rs/src/memory.rs:24
Method
from
(value: u32)
windows-kernel-rs/src/ioctl.rs:28
Method
from
(data: T)
windows-kernel-rs/src/sync/fast_mutex.rs:108
Method
from_ntstatus
(status: NTSTATUS)
windows-kernel-rs/src/error.rs:71
Method
from_raw
(raw: *mut DRIVER_OBJECT)
windows-kernel-rs/src/driver.rs:14
Method
from_raw
(raw: *mut DEVICE_OBJECT)
windows-kernel-rs/src/device.rs:259
Method
from_raw
(irp: *mut IRP)
windows-kernel-rs/src/request.rs:38
Function
get_current_cpu_num
Uses [`KeGetCurrentProcessorNumberEx`] to get the logical number associated with the CPU that is currently running our code.
windows-kernel-rs/src/affinity.rs:14
Method
id
(&self)
windows-kernel-rs/src/process.rs:47
Method
init
(mut driver: Driver, _: &str)
07-io-controls/src/lib.rs:66
Method
init
(mut driver: Driver, _: &str)
05-creating-devices/src/lib.rs:37
Method
init
(mut driver: Driver, _: &str)
06-reading-and-writing/src/lib.rs:51
Method
init
(_: Driver, _: &str)
04-safe-framework/src/lib.rs:8
Method
int_macro
(&self, name: &str, _value: i64)
windows-kernel-sys/build.rs:10
Method
into_inner
(self)
windows-kernel-rs/src/sync/fast_mutex.rs:49
Method
into_inner
(self)
windows-kernel-rs/src/sync/push_lock.rs:65
Function
invlpg
windows-kernel-sys/src/wrapper_intrin.c:57
Method
ioctl
(&mut self, _device: &Device, request: IoControlRequest)
07-io-controls/src/lib.rs:42
Method
lock
(&mut self)
windows-kernel-rs/src/sync/fast_mutex.rs:87
Function
main
()
07-io-controls/build.rs:1
Function
main
()
user/07-io-controls/src/main.rs:14
Function
main
()
user/05-creating-devices/src/main.rs:3
Function
main
()
user/06-reading-and-writing/src/main.rs:4
Function
main
()
05-creating-devices/build.rs:1
Function
main
()
03-generating-bindings/build.rs:1
Function
main
()
windows-kernel-sys/build.rs:134
Function
main
()
06-reading-and-writing/build.rs:1
Function
main
()
02-hello-world/build.rs:1
Function
main
()
04-safe-framework/build.rs:1
Method
major
Retrieves the major version of Microsoft Windows.
windows-kernel-rs/src/version.rs:29
Method
map_locked_pages
( self, access: AccessMode, caching: MemoryCaching, desired_addr: Option<*mut
windows-kernel-rs/src/mdl.rs:48
Method
map_view
( &mut self, process: ZwProcess, base_address: BaseAddress, commit_size: usize
windows-kernel-rs/src/section.rs:84
Method
minor
Retrieves the minor version of Microsoft Windows.
windows-kernel-rs/src/version.rs:34
Method
new
( addr: *mut core::ffi::c_void, size: usize, )
windows-kernel-rs/src/mdl.rs:19
Method
new
Sets up a new kernel allocator with the 32-bit tag specified. The tag is usually derived from a quadruplet of ASCII bytes, e.g. by invoking `u32::from
windows-kernel-rs/src/allocator.rs:38
Method
new
(addr: PhysicalAddress, size: usize, caching: MemoryCaching)
windows-kernel-rs/src/memory.rs:90
Method
new
(name: &str, target: &str)
windows-kernel-rs/src/symbolic_link.rs:11
Method
new
Creates a new mutex in an unlocked state ready for use.
windows-kernel-rs/src/sync/fast_mutex.rs:30
Method
new
Creates new instance of [`PushLock<T>`] that is unlocked.
windows-kernel-rs/src/sync/push_lock.rs:48
Method
new_buffered
( ptr: *mut cty::c_void, read_size: usize, write_size: usize, )
windows-kernel-rs/src/user_ptr.rs:19
Method
new_direct
( read_ptr: *const cty::c_void, write_ptr: *mut cty::c_void, read_size: usize,
windows-kernel-rs/src/user_ptr.rs:31
Method
new_neither
()
windows-kernel-rs/src/user_ptr.rs:45
Method
open
(path: &str, obj_flags: ObjectFlags, access: SectionAccess)
windows-kernel-rs/src/section.rs:60
Function
panic
(_info: &PanicInfo)
03-generating-bindings/src/lib.rs:8
Function
panic
(_info: &PanicInfo)
02-hello-world/src/lib.rs:9
Function
panic
(_info: &core::panic::PanicInfo)
windows-kernel-rs/src/lib.rs:45
Method
ptr
(&self)
windows-kernel-rs/src/mdl.rs:93
Method
ptr
(&self)
windows-kernel-rs/src/memory.rs:107
Method
query
Uses [`RtlGetVersion`] to query the version info for Microsoft Windows.
windows-kernel-rs/src/version.rs:14
Method
read
(&mut self)
windows-kernel-rs/src/sync/push_lock.rs:84
Function
read_cr3
windows-kernel-sys/src/wrapper_intrin.c:6
Function
read_memory
( buffer: &mut [u8], source: CopyAddress, )
windows-kernel-rs/src/memory.rs:135
Function
read_msr
windows-kernel-sys/src/wrapper_intrin.c:14
Function
read_msr
Attempts to read the given model-specific register. Accessing an invalid model-specific register would normally result in a CPU exception. This functi
windows-kernel-rs/src/intrin.rs:8
Method
read_size
(&self)
windows-kernel-rs/src/user_ptr.rs:49
Function
release_callback
(device: *mut DEVICE_OBJECT)
windows-kernel-rs/src/device.rs:413
Function
run_on_each_cpu
Runs the given closure on all CPUs in the system without interrupting all CPUs to force them to switch to kernel mode. Instead, this is a more gracefu
windows-kernel-rs/src/affinity.rs:48
Function
run_on_each_cpu_parallel
Runs the given closure on all CPUs in the system by broadcasting an Inter-Processor Interrupt (IPI) to interrupt all CPUs to force them to switch to k
windows-kernel-rs/src/affinity.rs:66
Method
try_lock
(&mut self)
windows-kernel-rs/src/sync/fast_mutex.rs:61
Method
unlock
(self)
windows-kernel-rs/src/mdl.rs:97
Method
write
(&mut self)
windows-kernel-rs/src/sync/push_lock.rs:114
Function
write_cr3
windows-kernel-sys/src/wrapper_intrin.c:10
Function
write_memory
( target: CopyAddress, buffer: &[u8], )
windows-kernel-rs/src/memory.rs:158
Function
write_msr
windows-kernel-sys/src/wrapper_intrin.c:37
Function
write_msr
Attempts to write the given value to the given model-specific register. Accessing an invalid model-specific register would normally result in a CPU ex
windows-kernel-rs/src/intrin.rs:22
Method
write_size
(&self)
windows-kernel-rs/src/user_ptr.rs:57
← previous
101–185 of 185, ranked by callers