News for hackers. Stuff that matters.
Re:ELF101 a Linux executable walkthrough by United857 on Wednesday November 20, 2013 @07:22AM (#6767593)
A good intro but doesn't go in depth enough, and it glosses over the interface between user and kernel mode.

Particularly, in modern Linux binaries, syscalls are not hardcoded as int instructions, but are dynamically mapped via a "virtual DSO" mechanism to the best instruction for the current architecture (int 80, or syscall/sysenter).

Also, in practice, the ELF would be dynamically linking to libc, and libc would be making the calls.

Re:ELF101 a Linux executable walkthrough by ange4771_ on Wednesday November 20, 2013 @08:12AM (#6767744)
An introduction on a single page can't go deep!

"This is the whole file, however, most ELF files contain many more elements. Explanations are simplified, for conciseness."

Re:ELF101 a Linux executable walkthrough by Scene_Cast2 on Wednesday November 20, 2013 @08:30AM (#6767818)
It also glosses over relocation mechanisms. I was curious if relocation info is stored in a section (like .reloc in Windows).
Re:ELF101 a Linux executable walkthrough by laveur on Wednesday November 20, 2013 @08:29AM (#6767812)
I think the point of it was to not explain how elf works but to explain the file format it self.