Skip to content
systemcoding.dev

Tag

beginner

445 posts

Flat illustration of a debugger stopped at a breakpoint beside the register values, with the LLVM, GNU and Arm logos.
Debugging

Attach strace to an Already Running Process

Attach strace -p to a process that is already running on Linux, fix the Yama ptrace_scope permission error, watch a stuck call, then detach without killing it.

7 min read
Flat illustration of guest machines running on a hypervisor over hardware, with the QEMU, C and RISC-V logos.
VirtualizationGuide

The Complete Guide to Writing an Emulator

Learn to write a CPU emulator in C from nothing: registers, memory, the fetch-decode-execute loop, flags, timing, devices, testing and a path to RISC-V.

30 min read