Skip to content

Gottox/chelf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chelf - Change ELF headers

Changes or displays the stack size of an ELF binary.

This value is used by musl-libc to increase the default stack size.

chelf supports both ELF32 and ELF64.

Building

To build chelf a C compiler and a posix compatible libc are needed.

make

To install chelf:

cp chelf /usr/local/bin

Examples

read the stack size of a file:

chelf /bin/sh

change the stack size of a file:

chelf -s 1052672 /usr/bin/gnome-shell

License

See LICENSE

About

change or display the stack size of an ELF binary

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published