TRT
Sign in

Advanced · Module 9 · Lesson 10 of 13

Linux procfs, ptrace, and Core-Dump Debugging

Inspect live process state through procfs, understand debugger tracing with ptrace, and use core dumps for postmortem analysis.

Pro — members onlyAbout 16 minutes

By the end you can

  • Inspect process memory, descriptors, and status through procfs
  • Explain ptrace stop and resume behavior
  • Configure and analyze core dumps
  • Separate observation from mutation when debugging

Builds on Process Lifecycle: fork, execve, and Address Space Duplication, Dynamic System Call and Userspace Tracing: strace, ltrace, and kprobes.

01 · A question first

When a process is stuck or has crashed, what evidence can you gather without adding logging to the original binary?

Make a guess before you read on.

02 · The idea

Members only

Unlock the full lesson

This lesson is part of the membership. Join to read it in full, along with every other premium deep dive.

What's inside

  • Observe a live process
  • Trace with ptrace
  • Core dumps
  • Build a repeatable evidence workflow
  • Make core files actionable
  • Where it is used
  • Operational checklist

Something wrong with this lesson? Report a problem