Skip to content

s1ckb017/changeStack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple program to change itself stack. 
It finds through /proc/pid/maps start address and end address of stack
afterwards it creates a memory area of (end_stack - start_stack) bytes and copy all content of stack in memory area before created. 
Finally it swaps values of register rsp and rbp to set registers to new stack values.  
This program works only on x86-64 architecture.

About

small program to change itself stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published