When you're staring at an `undefined reference` error or wondering why your binary is 50MB, this skill walks you through the ELF inspection toolkit: `readelf`, `objdump`, `nm`, and `ldd`. It covers the practical stuff like checking shared library dependencies, hunting down missing symbols, analyzing section bloat, and verifying security features like PIE and RELRO. The workflow is structured around real diagnostic scenarios rather than just listing tool flags. If you've ever needed to understand what's actually inside a Linux binary or debug a dynamic linking mess, the cheatsheet format here beats hunting through man pages.

skills.sh installs
702
GitHub stars
279
last updated
Aug 21, 2026

Install

$ npx -y skills add mohitmishra786/low-level-dev-skills --skill elf-inspection --agent claude-code

Installs into .claude/skills of the current project.

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 reference or 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:

Sponsors

Details

Repository
github.com/mohitmishra786/low-level-dev-skills
Categories
Frontend Development, DevOps & CI/CD, Code Review & Quality, Debugging
First seen
Jun 3, 2026

More from mohitmishra786/low-level-dev-skills

All 54
1patricio0312rev avatarpostman-collection-generatorpatricio0312rev/skillsGenerates Postman collection JSON files from Express, Next.js, Fastify, Hono, or other API routes. Scans route definitions, extracts endpoints, methods, params,699skills.sh installs
2ruvnet avatarbrowser-extractruvnet/rufloExtract structured data via stored browser-templates or one-shot DOM queries, with mandatory AIDefence PII + prompt-injection gates before content reaches the m698skills.sh installs
3ruvnet avatarbrowser-screenshot-diffruvnet/rufloVisual + DOM diff between two recorded sessions at matching trajectory step ids; used for visual regression and replay verification697skills.sh installs
4duc01226 avatarmarkdown-to-pdfduc01226/easyplatform[Document Processing] Use when you need to convert markdown files to PDF with syntax highlighting and custom CSS support.693skills.sh installs
5rstackjs avatarrspack-best-practicesrstackjs/agent-skillsRspack best practices for config, CLI workflow, type checking, CSS, bundle optimization, assets and profiling. Use when writing, reviewing, or troubleshooting R689skills.sh installs
6jezweb avatarux-extractjezweb/claude-skillsExhaustively extract UX patterns from a reference web app. Walks every screen, captures screenshots of every state, records interaction patterns, copy verbatim,687skills.sh installs