~/talk

Binutils for fun and profit: understanding Linux binaries

Talkat LinuxConf [ZA] 2019 · on Monday, 2019-10-07· [linux-and-operating-systems]
links:none on file
slides:none on file

A minimal ELF is built from handwritten assembly with a real _start that invokes the write and exit syscalls, then linked so offsets become addresses; objdump -d disassembles the object and shows data bytes, gdb TUI inspects source, registers, stack and heap and steps through a homemade brk implementation that provokes the kernel to expand the heap; /proc/<pid>/maps lists segments; .NET Core binaries are debugged under gdb; a simulated exchange crash yields a core file showing a divide‑by‑zero and reveals environment secrets via strings.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:10What are binutils and their purpose
  3. 2:34Common misconceptions about binaries
  4. 3:44Building a minimal ELF binary
  5. 6:57Inspecting binaries with objdump
  6. 8:23Linking object files into executables
  7. 12:21Debugging with GDB's TUI
  8. 14:08Inspecting memory segments with proc
  9. 16:16Understanding the stack in practice
  10. 18:22Building a minimal libc function
  11. 20:14Heap allocation and inspection
  12. 23:52Implementing a simple allocator
  13. 24:58Debugging .NET Core binaries
  14. 27:10Debugging a crashed trading simulator
  15. 30:22Analyzing core dumps safely
  16. 31:48Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.