Skip to content

dedobbin/mem_hengst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mem_hengst

Library that allows a user to read and write memory process on a Linux system.
Note: Currently uses process_vm_writev and process_vm_readv syscalls, which are nonstandard Linux extensions.

Install

make 
sudo make install

To link against, use -lmem_hengst

Example usage in a program

std::vector<mem_hengst::Proc_map_entry> mem_map = mem_hengst::get_proc_map_entries(some_pid);
uint8_t* data =  (uint8_t*)mem_hengst::read_process_mem(pid, target_address, buffer_len);
mem_hengst::write_process_mem(pid, start, data, buffer_len);

See example.cpp for more details.

About

Linux library to read and write process memory

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published