VnutZ Domain
Copyright © 1996 - 2024 [Matthew Vea] - All Rights Reserved

Featured Article

Tiny ELF Executables

[index] [3,094 page views]
Tagged As: Linux and Programming

For the masochist programmers out there, I came across two articles on creating tiny executable programs. The first was a short study in how to generate an executable without the libc library which added an unnecessary amount of bloat to the ever classic “Hello World” program. Jessica, the author, goes through a series of steps showing where libc roots itself into the binary and how to use assembly language helpers to create some basic constructs and labels in order for compilation to succeed. It’s an interesting evolutionary read that takes the binary from 11K to just over 1K. Another tutorial leaves C behind almost completely and explores the absolute minimum structural requirements of the ELF format. Although it’s largely useless information to any normal programmer, it is handy to understand executable file specs if you’re a system programmer or interested in exploiting things at the system level.

More site content that might interest you:

It always seems fine when WE do it to others, until they do it back to us, right?

Try your hand at fate and use the site's continuously updating statistical analysis of the MegaMillions and PowerBall lotteries to choose "smarter" number. Remember, you don't have to win the jackpot to win money from the lottery!

Tired of social media sites mining all your data? Try a private, auto-deleting message bulletin board.

paypal coinbase marcus