e01.org

Binary File Descriptor library

The Binary File Descriptor library (BFD) is the GNU Project's main mechanism for the portable manipulation of object files in a variety of formats. , it supports approximately 50 file formats and 25 instruction set architectures. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

The Binary File Descriptor library (BFD) is the GNU Project's main mechanism for the portable manipulation of object files in a variety of formats. , it supports approximately 50 file formats and 25 instruction set architectures. ==History== When David Henkel-Wallace of Cygnus Support proposed developing the library as a way to open up new business opportunities for the company, Richard Stallman said that it would be difficult; David's response was that it wasn't such a "Big Fucking Deal". Abbreviated to "BFD", this became the library name. "Binary File Descriptor" was invented later as a backronym for "BFD". ==BFD library usage== Eg: Print object file size using bfd library APIs. include "bfd.h" include int main() { bfd* abfd = bfd_openr("a.o", NULL); printf("%llu\n", bfd_get_size(abfd)); return 0; } Build command: $ gcc main.c -lbfd -o output $ ./output # prints the size ==References== ==External links== Binutils page, with access to current BFD sources objdump implementation, uses many BFD apis

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Binary File Descriptor library". 1790934637. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1378008518

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·