rcheat 0.1.1

Get/modify variable's value in another Linux running process
rcheat-0.1.1 is not a library.

rcheat

build-test latest_release Linux

Get/modify simple variable's value in another Linux running process


1. Dependencies

If your Linux package management(e.g. apt, yum) cannot provide the sufficient conditions for the dependencies, download a pkg form here

As a developer, use rustup manage rust enviroment is suitable.

2. Building

cargo build

The first build may take a long time, because it needs to download dependent libraries from crates.io

Tips: If download speed from .crates.io is too slow. use a mirror to speed up(e.g. use rsproxy).

3. Usage

NOTE: This program must be run with root privileges!

detail arguments use -h

sudo /path/to/rcheat -h

4. Todo

  • use lua to custom format the match entry
  • search pid by process name (like linux command: pidof/pgrep)
  • if match more than 1 entry name, ask for which one to select
  • demangle symbols
  • analysis the elf compiled by golang