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.[src] , it supports approximately 50 file formats and 25 instruction set architectures.[src]
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.[src] , it supports approximately 50 file formats and 25 instruction set architectures.[src] ==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".[src] Abbreviated to "BFD", this became the library name.[src] "Binary File Descriptor" was invented later as a backronym for "BFD".[src] ==BFD library usage== Eg: Print object file size using bfd library APIs.[src] 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[src]
9 sentences · 9 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Binary File Descriptor library." encyclopegia.org, 2026, https://encyclopegia.org/wiki/binary-file-descriptor-library. Accessed 30 November 2026.
Chicago
"Binary File Descriptor library." encyclopegia.org. Accessed November 30, 2026. https://encyclopegia.org/wiki/binary-file-descriptor-library.
APA
encyclopegia.org. (2026). Binary File Descriptor library. Retrieved November 30, 2026, from https://encyclopegia.org/wiki/binary-file-descriptor-library
Accessed November 30, 2026 · CC BY-SA 4.0 · citation page · JSON