Skip to content

Commit 400aee6

Browse files
authored
Refined keyboard handling in versions around 23h2 - 24h2 (#12)
* added patch for more refined offset handling in versions around 23h2 and 24h2 * created handy ida signature macro * extended offset scanning capabilities for windows 11 keyboards * added useful windows version log in keyboard init * obfuscated a few windows related strings which might make windows defender angry * added keyboard example and VKEY definitions * added connector args to keyboard example * improvements to handling of 23h2 and windows 10 * added final signature for win11 key state * version bump to 0.2.1 along with the pr * cargo fmt * added plugins to default feature set * fixed build errors for no-std environment and no regex * quick fix to no_std string concatenation method the other thing didn't actually combine strings * corrected version bump * removed credits from ida signatures macro * Create CONTRIBUTORS.md * removed commented out code from keyboard.rs * typo fix * updated signature case in non regex mode to error * updated no regex error messages * fix sig type inference on no regex * replaced old regex signature with new macro signature form * updated keyboard example to read out all keys and added display formatting for VKEY
1 parent 7b4b7e2 commit 400aee6

File tree

13 files changed

+1031
-54
lines changed

13 files changed

+1031
-54
lines changed

CONTRIBUTORS.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Contributors
2+
> `memflow-win32` includes contributions from the following individuals
3+
4+
- ko1N
5+
- h33p
6+
- ntdelta
7+
- xmr-slack
8+
- youduda
9+
- ConnorBP

Cargo.lock

Lines changed: 193 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

memflow-win32/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "memflow-win32"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
authors = ["ko1N <[email protected]>", "Aurimas Blažulionis <[email protected]>"]
55
edition = "2021"
66
rust-version = "1.65"
@@ -28,6 +28,7 @@ widestring = { version = "1.1", default-features = false, features = ["alloc"] }
2828
no-std-compat = { version = "0.4", features = ["alloc"] }
2929
serde = { version = "1.0", default-features = false, optional = true, features = ["derive"] }
3030
memflow-win32-defs = { version = "0.2", path = "../memflow-win32-defs", default-features = false }
31+
muddy = "0.3.2"
3132

3233
# will be replaced by our own signature scanner
3334
regex = { version = "1.11", optional = true }
@@ -46,7 +47,7 @@ memflow = { version = "0.2", default-features = false }
4647
memflow-win32-defs = { version = "0.2", path = "../memflow-win32-defs", features = ["symstore"] }
4748

4849
[features]
49-
default = ["std", "serde_derive", "embed_offsets", "symstore", "download_progress", "regex", "memflow/default"]
50+
default = ["std", "serde_derive", "embed_offsets", "symstore", "download_progress", "regex", "memflow/default", "plugins"]
5051
std = ["no-std-compat/std", "memflow/std", "pelite/std"]
5152
plugins = ["memflow/plugins"]
5253
embed_offsets = ["serde", "memflow/serde_derive", "memflow-win32-defs/serde"]

0 commit comments

Comments
 (0)