From 2834d598463baa6f46e8adeb5046f59461bde7cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Victor?= Date: Thu, 8 Aug 2024 00:44:29 -0300 Subject: [PATCH] Small fix --- driver/src/utils/mod.rs | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/driver/src/utils/mod.rs b/driver/src/utils/mod.rs index 4e1c940..f4aa209 100644 --- a/driver/src/utils/mod.rs +++ b/driver/src/utils/mod.rs @@ -1,11 +1,22 @@ use { - crate::{includes::{structs::SystemModuleInformation, PsGetProcessPeb}, process::Process}, + crate::{ + includes::{structs::SystemModuleInformation, PsGetProcessPeb}, process::Process + }, alloc::{string::String, vec::Vec, vec}, core::{ - ffi::{c_void, CStr}, fmt::Write, mem::{size_of, zeroed}, ptr::{null_mut, read, read_unaligned}, slice::from_raw_parts + ffi::{c_void, CStr}, + fmt::Write, + mem::{size_of, zeroed}, + ptr::{null_mut, read, read_unaligned}, + slice::from_raw_parts }, ntapi::{ - ntexapi::{SystemModuleInformation, SystemProcessInformation, PSYSTEM_PROCESS_INFORMATION}, ntldr::LDR_DATA_TABLE_ENTRY, ntpebteb::PEB, ntzwapi::ZwQuerySystemInformation + ntexapi::{ + SystemModuleInformation, SystemProcessInformation, PSYSTEM_PROCESS_INFORMATION + }, + ntldr::LDR_DATA_TABLE_ENTRY, + ntpebteb::PEB, + ntzwapi::ZwQuerySystemInformation }, obfstr::obfstr, wdk_sys::{