Creating a New ELF Executable File

Is it possible to create a new ELF executable using assembly? I want to create an "empty" executable file and populate its code section after.

+3
source share
1 answer

Here's an interesting article that you find useful: A tutorial on creating virtuoso programs for creating ready-made ELF executables for Linux

It starts by analyzing the size of a tiny C executable, and then tries to make it as small as possible, using assembler instead. He gets it from 3998 bytes to 45 bytes with a series of increasingly active analyzes and tricks.

, , ELF, , , !

+3

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


All Articles