Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# 'ldd' alternative which reads ELF files (with readelf) for DT_NEEDED
# entries to collect dependencies. Supports list, tree and JSON output
# formats.
# requirements:
# - bash
# - readelf
# - sed