[ACCEPTED]-Pack shared libraries into the elf-elf

Accepted answer
Score: 11

Here are some projects you might find useful:

  • Statifier (basically does what you want)
  • ERESI (might do what you want, also allows for analysis of ELF targets)

NOTE: I've 1 not used either application myself.

Score: 3

Statifier is an option. Another option is 3 Ermine. While Ermine is commercial it behaves 2 better than statifier on systems with memory 1 randomization.

Score: 2

I've used Statifier as mentioned by codelogic.

It 2 worked well for several Linux commands like 1 ethtool.

Score: 1

Probably not, though in theory, no doubt, it 11 could be done.

One aspect to be aware of 10 - the typical program will not be using 9 all the code from a given SO, so blindly 8 including all the material in each SO would 7 give you a grotesquely bloated executable. A 6 classic static link only includes that which 5 is needed.

Another aspect to be aware of 4 would be C++ template instantiation. I 3 assume that these would mainly appear in 2 the executable already (not as part of an 1 SO).

Score: 0

You can link with -static at compile time. Are 1 you looking to do this post-compile?

More Related questions