BRANDELF(1)
π brandelf(1) β General Commands Manual π
Okay bestie, welcome to the brandelf(1) manpage. This is literally the glow-up your ELF binaries didn't know they needed. Let's get into it. π
β¨ NAME β¨
brandelf β mark an ELF binary for a specific ABI. That's the whole thing. It's giving tiny tool, huge main character energy. π
π¦ SYNOPSIS π¦
brandelf [-lv] [-f ELF_ABI_number] [-t string] file ...
π DESCRIPTION π
Okay so the brandelf utility marks an ELF binary to be run under a certain ABI for FreeBSD. That's the vibe. Now the options, because they all matter and we're not skipping any:
-fELF_ABI_number β Forces branding with the supplied ELF ABI number. Incompatible with the-toption. These values are assigned by SCO/USL. Don't mix them up, bestie. π«-lβ Writes the list of all known ELF types to the standard error. Lowkey useful for a vibe check. π-vβ Turns on verbose output. Because sometimes you need the whole story. π£οΈ-tstring β Brands the given ELF binaries to be of the string ABI type. Currently supported ABIs are βFreeBSDβ, βLinuxβ, and βSVR4β. Those are your only choices, no cap. π- file β If
-t stringis given it will brand file to be of type string. Otherwise it will simply display the branding of file. So it's either a makeover or a mirror. πͺ
π EXIT STATUS π
Exit status is 0 on success, and 1 if the command fails. It fails if a file does not exist, is too short, fails to brand properly, or the brand requested is not one of the known types and the -f option is not set. So basically, if anything's off, you get a 1. No in-between. π
π₯ EXAMPLES π₯
Here's a typical usage moment, bestie. The following is an example of a typical usage of the brandelf command:
brandelf file
brandelf -t Linux file
First one shows you the brand, second one slaps the Linux brand on it. Simple. Iconic. Periodt. π₯
πΈ SEE ALSO πΈ
The Santa Cruz Operation, Inc., System V Application Binary Interface, http://www.sco.com/developers/devspecs/, April 29, 1998 (DRAFT). Iykyk. π
π¦ HISTORY π¦
The brandelf manual page first appeared in FreeBSD 2.2. Been serving looks since the 90s. π
π AUTHORS π
This manual page was written by John-Mark Gurney <jmg@FreeBSD.org>. Slay. π«Ά
π This page is from Debian, dated March 25, 2014. Stay slaying, bestie! π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright 1997 John-Mark Gurney. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms