Top "Elf" questions

ELF stands for Executable and Linkable Format, a file format for files containing machine code.

Accessing ELF symbol table in C

I'm writing a program to mimic elfdump -ecps It currently prints out the elf header, program headers, and section headers …

c elf symbol-tables
executing init and fini

I just read about init and fini sections in ELF files and gave it a try: #include <stdio.h&…

c linux gcc elf
readelf vs. objdump: why are both needed

I need to learn about the ELF file layout for a project I am working on and I noticed the …

linux elf objdump readelf
Is there a downside to using -Bsymbolic-functions?

I recently discovered the linker option "-Bsymbolic-functions" in GNU ld: -Bsymbolic When creating a shared library, bind references to global …

linker visibility elf dynamic-library
Extract detailed symbol information (struct members) from elf file compiled with ARM-GCC

I’m using ARM-GCC 4.7.4 to compile Code for a Cortex-M4. For our Debug tool I need knowledge about names, types …

debugging gcc arm elf objdump
What is the difference in byte code like Java bytecode and files and machine code executables like ELF?

What are the differences between the byte code binary executables such as Java class files, Parrot bytecode files or CLR …

executable bytecode elf machine-code .class-file
Print the symbol table of an ELF file

I have a program which uses the mmap system call: map_start = mmap(0, fd_stat.st_size, PROT_READ | PROT_…

c elf mmap symbol-table
ELF, PIE ASLR and everything in between, specifically within Linux

Before asking my question, I would like to cover some few technical details I want to make sure I've got …

compilation linker elf aslr
ELF program header segments sizes and offsets

I am trying to understand the ELF format and right now there are some thing that I don't get about …

header size offset elf segment
How to convert Linux kernel Bin into ELF format

We have a Linux kernel binary which is without an ELF header, and our bootloader will be loading the kernel …

linux-kernel elf bootloader