Top "Elf" questions

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

Reading ELF String Table on Linux from C

I want to write a program which reads the string table of a binary. Binary is in ELF running on …

elf ptrace
Using clang++, -fvisibility=hidden, and typeinfo, and type-erasure

This is a scaled down version of a problem I am facing with clang++ on Mac OS X. This was …

c++ g++ visibility elf clang++
How to build the elf interpreter (ld-linux.so.2/ld-2.17.so) as static library?

I apologize if my question is not precise because I don't have a lot of Linux related experience. I'm currently …

linux gcc glibc elf linux-from-scratch
getting the sh_name member in a section header elf file

I'm trying to get the correct offset to the section name by accessing the sh_name member of an elf …

c linux unix elf
How to get the size of a C function from inside a C program or with inline assembly?

Suppose I have a function like below: # cat 003.c int foo(int a, int b) { return a+b; } And compile …

c gcc assembly elf gnu-assembler
Extract global variables from a.out file

Edit (updated question) I have a simple C program: // it is not important to know what the code does you …

gcc compiler-construction cygwin elf dwarf
Flags in objdump output of object file

There is this output of objdump on some object file: $ objdump -h main.o main.o: file format elf32-i386 …

linux elf objdump
a.out replaced by ELF file format?

I have a few questions: Why was a.out replaced by ELF? What were the major flaws in the a.…

linux unix file-format elf coredump
How to display the symbol's type like the nm command?

I'm studying the ELF format right now. I have to code a simple nm fonction (without the options). I'm already …

c unix command elf nm
Linking error with `libopencv_highgui.so` under Ubuntu 14.04, strange result with `libtiff.so.5`

Problem I'm compiling the deep learning library Caffe in Ubuntu 14.04(64 bit). OpenCV(Version: 2.4.8+dfsg1-2ubuntu1) is installed from ubuntu …

c++ opencv elf dynamic-linking unresolved-external