intcpt
intercept a run process and read/write memory
In order to build this project, The commands autoconf
and automake
need to be installed in your system, for example
sudo apt install autoconf automake
sudo yum install autoconf automake
sudo pacman -S autoconf automake
Go the root of project:
./autogen.sh
./configure
make
And your project should compile. Now you are all set with a lean template to build upon.
Your binary should be available at src/intcpt
.
NOTE:
autogen.sh
and configure
only run for the first time or makefile.am
, configure.ac
modified.
NOTE: This program(intcpt) must be run with root privileges!
sudo /path/to/intcpt [PID] [VARIABLE_NAME]
- PID: the running process pid(you can use
pgrep/pidof
to get pid from program name) - VARIABLE_NAME: the global/static variable you want to search
For bug reports, feature requests and general questions, please open issues.