Convert dynamically linked binary elf element to statically linked

Is it possible to convert dynamically linked binary elf code to statically linked?

+4
source share
3 answers

Tools that can help Ermine , Statifier and jumpstart .

+7
source

There is a solution to run statifier on address randomization systems:

You must turn off randomization before doing an extra, and then turn it back on.

[ me@mypc ~]# cat /proc/sys/kernel/randomize_va_space 2 [ me@mypc ~]# echo -n 0 > /proc/sys/kernel/randomize_va_space [ me@mypc ~]# statify xxxxx yyyyyy ..... [ me@mypc ~]# echo -n 2 > /proc/sys/kernel/randomize_va_space 

statifier.sh should be changed to automatically change and restore this value if it is running as root, or report a problem if not.

+3
source

Not without recompilation (or at least re-compilation).

0
source

Source: https://habr.com/ru/post/1484796/


All Articles