spytools 0.4.0

Tools for spying on running processes
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// An abstraction over the different language runtimes (Python, Ruby, etc) that we support
pub trait ProcessType {
    #[cfg(target_os = "windows")]
    /// Returns all symbols available in the process
    fn windows_symbols() -> Vec<String>;
    /// A regular expression that matches library filenames for this process type
    fn library_regex() -> regex::Regex;
    /// Returns `true` if the given filename looks like a macOS framework, and `false` otherwise
    #[cfg(target_os = "macos")]
    fn is_framework(path: &std::path::Path) -> bool;
}