Open ndmitchell opened 5 years ago
That's right, and this is a dead end in this case. The code injection depends on injecting libc with a preload. At some point I started a FUSE filesystem that was almost ready, but since fsatrace worked fine for my use case I stopped development. Here is the repo:
As an example, given the
go
code:Save that as
main.go
and compile it withgo build -o main main.go
. fsatrace does not detect the read. I believe the cause will be thatgo
does not use dynamic libraries but jumps straight to syscalls.