https://github.com/toasterbirb/harava
[MIRROR] Process memory inspection tool
https://github.com/toasterbirb/harava
linux memory-hacking
Last synced: 10 months ago
JSON representation
[MIRROR] Process memory inspection tool
- Host: GitHub
- URL: https://github.com/toasterbirb/harava
- Owner: Toasterbirb
- License: gpl-3.0
- Created: 2024-08-17T12:29:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-15T18:16:04.000Z (11 months ago)
- Last Synced: 2025-02-15T19:24:26.932Z (11 months ago)
- Topics: linux, memory-hacking
- Language: C++
- Homepage:
- Size: 152 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# harava
*Memory scanner/editor for Linux*
> [!WARNING]
> This program might consume a significant amount of RAM in certain situations. By default, it has an 8GB limit to prevent system crashes, but temporary usage beyond this limit may occur
## Features
- Search for selected data types or all of them at once
- Supports signed integers (4 and 8 bytes), floats and doubles
- Modify memory values
- Filter with different comparison operators or find values that have or have not changed since the previous scan
## Example usage
First figure out the PID of the process with `pgrep` etc.
```sh
pgrep -i
```
Then give the PID to harava with the `-p` flag. You can also directly pass the PID via shell expansion
```sh
./harava -p $(pgrep -i )
```
After harava has identified the memory regions to access, use the `help` command for a list of available commands
## Building
> [!NOTE]
> If cloning from git, remember to clone with the `--recursive` flag
Build the project with cmake by running the following commands
```sh
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j$(nproc)
```
On some platforms you might also need to use the `-DCMAKE_CXX_FLAGS=-ltbb` flag with cmake
## Installation
To install harava to /usr/local/bin, run the following command
```sh
sudo make install
```
You can customize the installation *PREFIX* and *DESTDIR* variables normally with cmake and make.