Skip to content

ccss17/test_virt_memory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Some experiments on virtual memory system

Get source and compile

git clone https://github.com/ccss17/test_virt_memory
cd test_virt_memory
make

Test 1

Checking the memory structure of the virtual memory system and checking each physical memory address by using meltdown's POC library libkdump

sudo ./check_virtual_memory_structure HELLO WOLRD

check_virtual_memory_structure

Test 2

Accessing virtual memory space of other process and modify it. (source from https://github.com/holbertonschool/Hack-The-Virtual-Memory (hack_virt_test.c, hack_virt.py))

./hack_virt_test             # load program and load string "Holberton" to heap
ps -ef | grep hack_virt_test # check PID of "hack_virt_test"
sudo ./hack_virt_test.py 11127 Holberton TEST

hack_virt_test

About

SOME TESTS to UNDERSTAND VIRTUAL MEMORY

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published