Guides

From ELF layout to runtime: focused guides backed by technical sources.

Follow the reading routes →

All guides

26 guides
  1. Following ELF from file to memory

    Headers, segments, and sections. From file offsets to runtime addresses.

    ELF and loading
    6 min read
  2. Validating ELF parsers and address calculations

    Test parser results, validate ranges, and build an inventory with pyelftools.

    ELF and loading
    7 min read
  3. Reading linker layout and memory maps

    Input sections, output sections, VMA, and LMA. Read the layout left by the linker.

    ELF and loading
    5 min read
  4. Program startup, stack layout, and the auxiliary vector

    Kernel, interpreter, and runtime: what happens before main.

    ELF and loading
    5 min read
  5. Dynamic linking — GOT, PLT, and symbol resolution

    GOT, PLT, relocations, and symbol resolution. Find a call’s actual target.

    ELF and loading
    7 min read
  6. Preparing to read x86-64 assembly

    Prepare to read disassembly with registers, addressing, the stack, and System V calling conventions.

    Reverse engineering
    6 min read
  7. Debugging C++ call chains, objects, and registers with GDB

    Inspect C++ member calls, object state, thread boundaries, and architecture-dependent registers with GDB.

    Reverse engineering
    5 min read
  8. Remote GDB, matching artifacts, and IDE setup

    Connect remote GDB with matching artifacts, source mappings, and CLion or VS Code settings.

    Reverse engineering
    7 min read
  9. Making sense of stripped ELF files

    Symbols, unwind information, and separate debug files after names are removed.

    Reverse engineering
    5 min read
  10. Binary diffing and version comparison

    From byte differences to behavior changes. Compare versions and functions.

    Reverse engineering
    4 min read
  11. Custom loaders and in-memory execution

    Trace code placed in memory without a new exec.

    Reverse engineering
    7 min read
  12. Analyzing packed and encrypted ELF files

    Packing indicators, unpacking, and interpreting code recovered from memory.

    Reverse engineering
    5 min read
  13. Core dumps and process memory snapshots

    Interpret a core file through registers, threads, mappings, and modules.

    Reverse engineering
    5 min read
  14. Runtime performance analysis from zero

    Start here: vocabulary, method, tool choice, and machine setup for perf and bpftrace.

    Runtime
    10 min read
  15. Reading Linux process, thread, and scheduler state

    Identify tasks and interpret cumulative scheduler counters, affinity, policy, frequency, and pressure.

    Runtime
    7 min read
  16. Execution analysis and hardware tracing with perf

    Counters, sampling, and Intel PT. Interpret where execution took place.

    Runtime
    7 min read
  17. bpftrace from zero: probes, filters, and maps

    Learn the bpftrace language step by step: probes, filters, built-ins, maps, histograms, timing, and stacks.

    Runtime
    11 min read
  18. Observing runtime events with eBPF

    Connect syscall, mapping, and uprobe events to process context.

    Runtime
    4 min read
  19. Debugging slow, stuck, and failing programs with perf and bpftrace

    A symptom-driven playbook for busy, waiting, stuck, failing, and regressed programs.

    Runtime
    9 min read
  20. Separating runtime latency, CPU time, and scheduler delay

    Distinguish call intervals, elapsed duration, CPU service, off-CPU time, and runnable delay.

    Runtime
    10 min read
  21. Reading scheduler timelines and version-dependent reports

    Reconstruct blocked and runnable intervals from scheduler events and check perf analyzer behavior.

    Runtime
    5 min read
  22. Investigating tracing failures and system lockups

    Preserve recovery evidence and isolate the tracing mechanism involved in an unresponsive system.

    Runtime
    4 min read
  23. Observer effects and anti-analysis

    Direct syscalls, ptrace checks, and observation’s effect on a program.

    Runtime
    5 min read
  24. Interpreting runtime traces and forensic methodology

    Observation, hypothesis, and evidence. Account for time, identity, and missing records.

    Runtime
    3 min read
  25. Function ABIs and binary compatibility

    Compare System V AMD64, Microsoft x64, and Linux AArch64 argument locations, then test a shared library change with an existing binary.

    ABI and compatibility
    7 min read
  26. From a function call to a Linux system call

    Follow a pread call from application code through libc into the Linux kernel, then compare the function and syscall register conventions.

    ABI and compatibility
    5 min read

execmap / search

Type a few letters to search.