BSD Ports

devel/elfcat 1.0.0 NetBSD

Dump sections or program entries from a ELF file

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
devel
Package size
7.2 KiB, 16.9 KiB installed

Description

elfcat dumps requested parts (sections and segments) of an ELF file (executable, shared object, .o file) to stdout.

Dumping sections can be achieved with "objcopy --dump-section" but this tools relies on BFD which abstracts all executable files and is not able to see some ELF sections. Morever it cannot handle program header table entries.

In the other systems

SystemPortVersion
NetBSDdevel/elfcat1.0.0
FreeBSDdevel/elfcat0.1.10_13
OpenBSDdevel/elfcat0.1.10
DragonFlydevel/elfcat0.1.8_31
HardenedBSDdevel/elfcat0.1.10_12
GhostBSDdevel/elfcat0.1.10_12

Install

Binary package:

pkgin install elfcat

From pkgsrc:

cd /usr/pkgsrc/devel/elfcat && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.0.0
NetBSD 10.1 aarch641.0.0
SmartOS / illumos x86_641.0.0
macOS 15 arm641.0.0

Dependencies

Run dependencies 1

No port depends on this one.