Skip to content
Strace in Rust 🔍
Branch: master
Clone or download
Latest commit 60fe42d Mar 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Remove commented code and format code Mar 20, 2019
.gitignore new gitignore Mar 19, 2019
Cargo.lock Functioning except panic at the end Mar 19, 2019
Cargo.toml Functioning except panic at the end Mar 19, 2019
Dockerfile Update Dockerfile Mar 20, 2019
LICENSE Initial commit Mar 19, 2019
README.md Update README.md Mar 23, 2019

README.md

rustrace

Strace in Rust 🔍

strace is the system-call tracer, which traces the calls that a program makes into the kernel in order to interact with the outside world.

This code uses nix crate which is platform dependent, hence there's a dockerfile which you can use to run this code!

docker run -it --security-opt seccomp=unconfined <image_name>

Since, ptrace(the syscall that strace implementation uses) allows you to look at and modify the registers of a program(which is pretty shady IMO) you'd need to disable seccomp mode.

Inspired by strace in C and by Julia Evans' zine

You can’t perform that action at this time.