/write-a-strace-and-gdb

a tiny system call tracer and debugger implementation

Primary LanguageC

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