GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ELFCTL(1) FreeBSD General Commands Manual ELFCTL(1)

elfctl
change an ELF binary's feature control note

elfctl [-h | --help] [-i] [-l] [-e featurelist] file ...

The elfctl utility modifies feature flags in the feature control note in an ELF binary.

The options are as follows:

|
Print a usage message and exit.
Ignore unknown feature flags in featurelist.
List known ELF feature flags.
featurelist
Edit features from the given comma separated list featurelist. featurelist starts with one of the three operations: “+” to turn on the features, “-” to turn off the features, “=” to only turn on the given features. A comma separated list of feature names or numeric values follows the operation.

If -e is not specified elfctl displays the status of each feature in the ELF note in each file ....

Exit status is 0 on success, and 1 if the command fails if a file does not exist, is too short, or fails to find or edit features note.

The following is an example of a typical usage of the elfctl command:
elfctl file
elfctl -e +noaslr file

Features may be specified as numerical values:

elfctl -e =0x0001,0x0004 file

Features may also be specified as a single combined value:

elfctl -e =0x5 file

elfctl first appeared in FreeBSD 12.2.

elfctl was written by Bora Ozarslan borako.ozarslan@gmail.com under sponsorship from the FreeBSD Foundation.
February 4, 2022 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.