Skip to content

Instantly share code, notes, and snippets.

View Gorthog's full-sized avatar

Amir Shiri Gorthog

View GitHub Profile
@Gorthog
Gorthog / xclip.strace
Created February 26, 2020 21:22
xclip strace in WSL2
6382 execve("/usr/bin/xclip", ["xclip"], 0x7ffcbb0cde38 /* 16 vars */) = 0
6382 brk(NULL) = 0x55732662a000
6382 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
6382 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
6382 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
6382 fstat(3, {st_mode=S_IFREG|0644, st_size=37454, ...}) = 0
6382 mmap(NULL, 37454, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f061faba000
6382 close(3) = 0
6382 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
6382 openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libXmu.so.6", O_RDONLY|O_CLOEXEC) = 3