elfedit
Update the ELF header and program properties of ELF files. See also:
readelf,objcopy. More information: https://manned.org/elfedit.
- Change the machine type of an ELF file:
elfedit --output-mach
- Change the machine type only in files that currently have a specific machine type:
elfedit --input-mach --output-mach
- Change the file type to relocatable, executable, or shared object:
elfedit --output-type
- Change the OSABI:
elfedit --output-osabi
- Change the ABI version:
elfedit --output-abiversion
- Enable an x86 feature in an executable or shared library:
elfedit --enable-x86-feature
- Disable an x86 feature in an executable or shared library:
elfedit --disable-x86-feature
- Display help:
elfedit
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
