# rust_smaps **Repository Path**: stesen/rust_smaps ## Basic Information - **Project Name**: rust_smaps - **Description**: smaps parser written in rust - **Primary Language**: Rust - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-04-10 - **Last Updated**: 2022-05-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README small tools to parse smaps information, yet another showmap(for AOSP) ## build ### native build: ```shell # build with debug: cargo build # or release: cargo build --release ``` #### static-linking Cross-Build for arm32: ```shell #add toolchains: rustup target add armv7-unknown-linux-musleabihf rustup target add arm-unknown-linux-musleabihf ``` ```shell #add right linker to ~/.cargo/config: [target.armv7-unknown-linux-musleabihf] linker = "arm-linux-gnueabihf-ld" [target.arm-unknown-linux-musleabihf] linker = "arm-linux-gnueabihf-ld" ``` build: ```shell cargo build --target=armv7-unknown-linux-musleabihf #add --release for release ``` ## run smaps -p PID [-v] or ```shell smaps -f FILE_PATH [-v] ```