Elf Inspection
Guide to inspecting Linux ELF binaries with readelf, objdump, nm, and ldd for linking and symbol diagnosis.
- CCM score
- 60 of 100
- skills.sh installs
- 806
- GitHub stars
- 303
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers symbol tables, section layout, dynamic dependencies, build IDs, relocations, and binary size analysis
- Includes command recipes for
ldd,nm,readelf,objdump, andsize, plus a hardening check for PIE, RELRO, and NX - Provides diagnosis flows for "undefined symbol at runtime" and "binary is too large" with symbol-size breakdowns
- Designed for debugging linker and loader failures on Linux and for bloat analysis of shipped binaries
Install
$ npx -y skills add mohitmishra786/low-level-dev-skills --skill elf-inspection -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
ELF Inspection
Purpose
Guide agents through inspecting Linux ELF binaries: symbol tables, section layout, dynamic linking, debug info, and diagnosing linker errors.
Triggers
- "What libraries does this binary depend on?"
- "Why is this binary so large?"
- "I have an
undefined referenceor symbol not found at runtime" - "How do I check if debug info is in this binary?"
- "How do I find what symbols a library exports?"
- "How do I check if a binary is PIE / has RELRO?"
Workflow
1. Quick overview: file and size
file prog # type, arch, linkage, stripped or not
size prog # section sizes: text, data, bss
size --format=sysv prog # detailed per-section breakdown
2. Dynamic dependencies: ldd
ldd ./prog # show all shared lib dependencies
ldd -v ./prog # verbose: include symbol versions
# Check why a library is loaded
ldd ./prog | grep libssl
# For a library (not an executable)
ldd ./libfoo.so
If ldd shows not found, the shared library is missing from LD_LIBRARY_PATH or /etc/ld.so.conf.
Fix:
Details
- Repository
- github.com/mohitmishra786/low-level-dev-skills
- Categories
- Debugging, CLI & Terminal, Security
- First seen
- Jun 3, 2026
Questions
What does the elf-inspection skill do?
The elf-inspection skill guides an agent through inspecting Linux ELF executables and shared libraries with readelf, objdump, nm, and ldd. It covers symbol tables, section layout, dynamic dependencies, build IDs, relocation entries, and diagnosing undefined symbol errors.
How do I install the elf-inspection skill?
Run npx -y skills add mohitmishra786/low-level-dev-skills --skill elf-inspection -y in a project. After that, the elf-inspection skill lets the agent check which shared libraries a binary loads and why an undefined symbol appears at runtime.
Where does elf-inspection stand in the Debugging category?
The elf-inspection skill is listed in the Debugging category on Claude Marketplaces. It sits alongside diagnosing-bugs, azure-messaging, safe-debug, systematic-debugging, and sentry-cli. Its focus is binary-level analysis of ELF files rather than general bug hunting.
Is elf-inspection useful for finding why a binary is so large?
Yes, elf-inspection covers binary bloat analysis. It uses size and nm to list section sizes and the largest symbols, and it shows how to compare stripped and unstripped builds of an ELF binary.
More from mohitmishra786/low-level-dev-skills
All 54- Simd Intrinsics802
- Assembly Arm800
- Lldb800
- Memory Model800
- Make789
- Heaptrack779
- Ninja778
- Freertos774
- Linux Kernel Modules772
- Msvc Cl772
- Ebpf765
- Fuzzing761
- Binutils759
- Linkers Lto753
- Conan Vcpkg747
- Rust Security744
- Dynamic Linking737
- Rust Ffi713
- Rust Sanitizers Miri713
- Rust Unsafe705
- Pgo695
- Interpreters689
- Cargo Workflows686
- Meson685
Similar to Elf Inspection
More Debuggingdynamic-linkingmohitmishra786/low-level-dev-skills737 installsLinux ELF shared library guide covering loading failures, RPATH/RUNPATH, soname versioning, dlopen plugins, and symbol visibility.
core-dumpsmohitmishra786/low-level-dev-skills948 installsPractical crash triage for production core dumps: enabling collection, loading in GDB or LLDB, and resolving symbols.
dwarf-experttrailofbits/skills6.3K installsExpert guidance for inspecting, verifying, and parsing DWARF debug info in compiled binaries.
golang-troubleshootingsamber/cc-skills-golang42.8K installsSystematic Go debugging methodology with pprof, Delve, race detection, and GODEBUG tracing for root-cause fixes.
anti-debugging-techniquesyaklang/hack-skills4.2K installsAnti-debugging playbook covering ptrace, PEB flags, timing checks, and signal or exception tricks on Linux and Windows, with bypass methods.
binary-protection-bypassyaklang/hack-skills4.1K installsCatalog of binary exploitation techniques for defeating ELF mitigations such as ASLR, PIE, NX, RELRO, and canaries.