You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Save that as main.go and compile it with go build -o main main.go. fsatrace does not detect the read. I believe the cause will be that go does not use dynamic libraries but jumps straight to syscalls.
The text was updated successfully, but these errors were encountered:
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:
You could alternatively use libbigbro to track changes on linux. Bigbro uses ptrace internally, so it can handle go just fine, since it's tracking the system calls. ptrace does have its own limitations, since it is sometimes disabled in container systems like docker.
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.The text was updated successfully, but these errors were encountered: