Skip to content
A small, rudimentary debugger to learn about interprocess memory management
C Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
clades-cimicum.c
makefile
tester.c

README.md

Clades Cīmicum (i.e. 'Bane of Bugs')

This program is a simple, extremely rudimentary debugger that I've written to better understand interprocess memory management on Unix systems. At the moment, the program can take in a PID, and a memory address, and provided that the memory at that address is allocated, spits out the memory at that address, in the virtual memory of the process whose ID was specified. It avoids race conditions by signalling utilizing signal.h to SIGSTOP and SIGCONT the target process. These features will be expanded upon in the near future.

Compilation

To compile the program simply run:

make

Usage

Using this program is relatively simple, the usage statement is as follows:

sudo clades-cimicum PID memory_offset length 

Where PID is the PID of the target process, memory_offset is the memory address that you wish to be read(in hexadecimal, at the moment sans '0x'), and length is the number of bytes that you wish to be read and subsequently printed.

The necessity to run as a super user is (hopefully) temporary.

You can’t perform that action at this time.