aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2021-02-14 17:35:30 +0100
committerAndrzej Janik <[email protected]>2021-02-14 17:35:30 +0100
commitca560ba36613eab64b691a1194a757a5f8845a12 (patch)
tree77087f948aa0b241cbee8673a51b123b6121cb0a
parent476d4bb3ee9958a86f0c25f4bcac4f973218aa73 (diff)
downloadZLUDA-ca560ba36613eab64b691a1194a757a5f8845a12.tar.gz
ZLUDA-ca560ba36613eab64b691a1194a757a5f8845a12.zip
When injecting through cuInit detour, inject our detour in all the threads
-rw-r--r--zluda_dump/Cargo.toml2
-rw-r--r--zluda_inject/Cargo.toml2
-rw-r--r--zluda_redirect/Cargo.toml2
3 files changed, 3 insertions, 3 deletions
diff --git a/zluda_dump/Cargo.toml b/zluda_dump/Cargo.toml
index b81ef13..80c7ddc 100644
--- a/zluda_dump/Cargo.toml
+++ b/zluda_dump/Cargo.toml
@@ -14,7 +14,7 @@ lz4-sys = "1.9"
regex = "1.4"
[target.'cfg(windows)'.dependencies]
-winapi = { version = "0.3", features = ["libloaderapi", "debugapi"] }
+winapi = { version = "0.3", features = ["libloaderapi", "debugapi", "std"] }
wchar = "0.6"
detours-sys = { path = "../detours-sys" }
diff --git a/zluda_inject/Cargo.toml b/zluda_inject/Cargo.toml
index 7576e08..1181a21 100644
--- a/zluda_inject/Cargo.toml
+++ b/zluda_inject/Cargo.toml
@@ -9,5 +9,5 @@ name = "zluda_with"
path = "src/main.rs"
[target.'cfg(windows)'.dependencies]
-winapi = { version = "0.3", features = ["jobapi2", "processthreadsapi", "std", "synchapi", "winbase"] }
+winapi = { version = "0.3", features = ["jobapi2", "processthreadsapi", "synchapi", "winbase", "std"] }
detours-sys = { path = "../detours-sys" }
diff --git a/zluda_redirect/Cargo.toml b/zluda_redirect/Cargo.toml
index 1b6b958..130e244 100644
--- a/zluda_redirect/Cargo.toml
+++ b/zluda_redirect/Cargo.toml
@@ -10,4 +10,4 @@ crate-type = ["cdylib"]
[target.'cfg(windows)'.dependencies]
detours-sys = { path = "../detours-sys" }
wchar = "0.6"
-winapi = { version = "0.3", features = ["processthreadsapi", "winbase", "winnt", "winerror", "libloaderapi", "std"] } \ No newline at end of file
+winapi = { version = "0.3", features = ["processthreadsapi", "winbase", "winnt", "winerror", "libloaderapi", "tlhelp32", "std"] } \ No newline at end of file