Yet another system call tracer written in Go.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_example
.gitignore
Makefile
README.md
counter.go Add some refactor changes Jan 25, 2018
syscall.go
table_linux_386.go Fix syscall definitions Feb 27, 2018

README.md

systracer

Yet another system call tracer written in Go. This is a sample repository for my talk about "How to write a system call tracer for Linux/x86." at Aizu University.

Usage

Currently, this tool supports Linux/x86 only. Usage is like this:

$ ./systracer-linux-386 --summary ./hello
Wait returned: stop signal: trace/breakpoint trap
Hello World! 1 ./hello
Summary:
        1|write
        1|execve
        4|brk
        1|uname
        1|mmap2
        1|fstat64
        1|set_thread_area

How to work

how-to-work

C implementation is _example/linux-386-c/main.c.