From Burly Bat, 4 Weeks ago, written in Bash.
  1. #strace ip neigh
  2. execve("/sbin/ip", ["ip", "neigh"], [/* 16 vars */]) = 0
  3. brk(NULL)                               = 0x6a0000
  4. mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5a68908000
  5. access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
  6. open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  7. open("/lib64/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  8. stat("/lib64/tls/x86_64", 0x7ffebd327940) = -1 ENOENT (No such file or directory)
  9. open("/lib64/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  10. stat("/lib64/tls", 0x7ffebd327940)      = -1 ENOENT (No such file or directory)
  11. open("/lib64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  12. stat("/lib64/x86_64", 0x7ffebd327940)   = -1 ENOENT (No such file or directory)
  13. open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
  14. read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\6\2\0\0\0\0\0"..., 832) = 832
  15. fstat(3, {st_mode=S_IFREG|0755, st_size=1685200, ...}) = 0
  16. mmap(NULL, 3791168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f5a68349000
  17. mprotect(0x7f5a684dd000, 2097152, PROT_NONE) = 0
  18. mmap(0x7f5a686dd000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x194000) = 0x7f5a686dd000
  19. mmap(0x7f5a686e3000, 14656, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f5a686e3000
  20. close(3)                                = 0
  21. mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5a68905000
  22. arch_prctl(ARCH_SET_FS, 0x7f5a68905700) = 0
  23. mprotect(0x7f5a686dd000, 16384, PROT_READ) = 0
  24. mprotect(0x69d000, 4096, PROT_READ)     = 0
  25. mprotect(0x7f5a6890a000, 4096, PROT_READ) = 0
  26. getuid()                                = 0
  27. socket(PF_NETLINK, SOCK_RAW, NETLINK_ROUTE) = 3
  28. bind(3, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
  29. getsockname(3, {sa_family=AF_NETLINK, pid=22595, groups=00000000}, [12]) = 0
  30. sendto(3, "\24\0\0\0\22\0\1\3\362\36\21]\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
  31. brk(NULL)                               = 0x6a0000
  32. brk(0x6c3000)                           = 0x6c3000
  33. recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\364\4\0\0\20\0\2\0\362\36\21]CX\0\0\0\0\4\3\1\0\0\0I\0\1\0\0\0\0\0"..., 8192}], msg_controllen=0, msg_flags=0}, 0) = 2544
  34. recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\374\4\0\0\20\0\2\0\362\36\21]CX\0\0\0\0\1\0\3\0\0\0C\20\1\0\0\0\0\0"..., 8192}], msg_controllen=0, msg_flags=0}, 0) = 2668
  35. recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\362\36\21]CX\0\0\0\0\0\0", 8192}], msg_controllen=0, msg_flags=0}, 0) = 20
  36. sendmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(2)=[{"\34\0\0\0\36\0\1\3\363\36\21]\0\0\0\0", 16}, {"\0\0\0\0\0\0\0\0\0\0\0\0", 12}], msg_controllen=0, msg_flags=0}, 0) = 28
  37. recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"L\0\0\0\34\0\2\0\363\36\21]CX\0\0\2\0\0\0\1\0\0\0@\0\0\2\10\0\1\0"..., 8192}], msg_controllen=0, msg_flags=0}, 0) = 7724
  38. fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
  39. --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x1} ---
  40. +++ killed by SIGSEGV (core dumped) +++
  41. Segmentation fault (core dumped)
  42.  
captcha