write-a-strace-and-gdb icon indicating copy to clipboard operation
write-a-strace-and-gdb copied to clipboard

Tiny system call tracer and debugger

Write a strace and gdb

This repo contains a very simple implementation of a possible system call tracer and debugger.

Hope you like it <3

How does it look like:

  • mystrace:
$ ./mystrace ls

image

  • mygdb
$ ./mygdb ls

image

Compiler and Linux versions

  • Linux: 4.8.6-1-ARCH x86_64 GNU/Linux
  • GCC: 6.2.1