docs.rs failed to build memory_utils-0.1.13
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
memory_utils
A simple and safe(ish) Rust library for reading and writing memory of external Windows processes. Useful for building tools like trainers, debuggers, and analyzers.
Please note that this is project is in its early stages so bugs may occur.
To get the cargo crate check out this link
Features
- Read and write memory of external processes.
- Get process ID (PID) by process name.
- Suspend, resume, and terminate threads or processes.
- Read null-terminated strings from memory.
- Query memory pages using
VirtualQueryEx
. - Built on top of WinAPI.
Changelogs
0.1.2
- Fixed Process::pid() error "STATUS_HEAP_CORRUPTION" which was caused by a bad conversion from cstring into rust string0.1.4
- Fixed general pattern scanning ( added more protection checks, and fixed stuck in a loop or not finding it)0.1.6
- Addedprocess.get_module
andprocess.get_base_address
, Removed duplicatedmbi.Protect == PAGE_READWRITE
check frompattern_scan
which should speed it up a bit.0.1.8
- Added every protection option toProtectOptions
, Addedprocess.get_protection
0.1.9 & 0.1.10
- Fixed accidental mistake of doingaddr as LPVOID
instead ofaddr as LCPVOID
0.1.11
- Fixedprocess.get_threads()
since it hadTH32CS_SNAPPROCESS
instead ofTH32CS_SNAPTHREAD
0.1.12
- Fixedprocess.get_thread_context()
error due to invalid handling of the returned error (?
->is_err()
)0.1.13
- Optimizedprocess.pattern_scan
&process.find_pattern_str
by using the Boyer-Moore-Horspool algorithm infind_pattern
Example
use Process;