#memory #procfs #linux

bin+lib mem-find

Searches the memory of a process (haystack) for a string (needle)

2 unstable releases

Uses new Rust 2024

new 0.2.0 Mar 7, 2025
0.1.0 Feb 27, 2025

#356 in Unix APIs

Download history 138/week @ 2025-02-25 127/week @ 2025-03-04

265 downloads per month

MIT/Apache

14KB
328 lines

mem-find

Crates.io CI

This application searches the memory of a process (haystack) for a string (needle) via Linux' procfs.

Example

$ mem-find "Shell opt" $(pgrep bash)
Searching for "Shell opt" in process 123456 by mkroening: `bash`
55f658a30099: "Shell options:\n"

Installation

This application can be installed via cargo:

cargo install mem-find

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~4MB
~78K SLoC