Top "Elf" questions

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

dumping C structure sizes from ELF object file

How can you extract the sizes of all C structures from an ELF object file with debugging symbols? Individual struct …

c struct size elf
Does gcc have any options to add version info in ELF binary file?

I mean whether gcc can insert some source code version infor into ELF binary as section or something similar. I …

linux gcc elf
How are the different segments like heap, stack, text related to the physical memory?

When a C program is compiled and the object file(ELF) is created. the object file contains different sections such …

c memory-management stack elf
Forcing a binary to use a specific (newer) version of a shared library (.so)

I have an older binary executable (utserver, closed source) that I'm trying to run on a system running Fedora 22. utserver …

linux shared-libraries elf dynamic-linking ldd
What is the difference between executable and relocatable in elf format?

What is the difference between executable file in elf format and relocatable file in elf format?

elf
How to convert PE(Portable Executable) format to ELF in linux

What's the best tool for converting PE binaries to ELF binaries? Following is a brief motivation for this question: Suppose …

linux binary elf portable-executable
.bss vs COMMON: what goes where?

From my book: .bss: Uninitialized global C variables COMMON: Uninitalized data objects that are not yet allocated I have to …

c linker elf
Why is the entry point address in my executable 0x8048330? (0x330 being the offset of .text section)

I wrote a small program to add two integers and on using readelf -a executable_name it showed the entry …

c linux assembly x86 elf
What is the difference between .got and .got.plt section?

What is the difference between .got and .got.plt section in ELF format?

linux elf dynamic-linking
Reading the contents of an ELF section(programmatically)

I am trying to retrieve the contents of an additional section within an ELF binary. At this point, I'm using …

c linux file ubuntu elf