Skip to content

Instantly share code, notes, and snippets.

@kyanny
Created December 26, 2014 06:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kyanny/ac4fe1127b1cfbf32454 to your computer and use it in GitHub Desktop.
Save kyanny/ac4fe1127b1cfbf32454 to your computer and use it in GitHub Desktop.
SYSCALL(args) = return
thread_selfid(0x0, 0x0, 0x0) = 6994748 0
pread(0x3, "\312\376\272\276\0", 0x1000, 0x0) = 4096 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x1000) = 4096 0
stat64("/usr/lib/system/libquarantine.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libremovefile.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
open("/dev/dtracehelper\0", 0x2, 0x7FFF5243BF00) = 3 0
sysctl(0x7FFF5243B548, 0x2, 0x7FFF5243B558) = 0 0
thread_selfid(0x7FFF5243B548, 0x2, 0x7FFF5243B558) = 6994748 0
bsdthread_register(0x7FFF87B4A4A4, 0x7FFF87B4A494, 0x2000) = 1073741855 0
mprotect(0x10D7CE000, 0x88, 0x1) = 0 0
mprotect(0x10D7D0000, 0x1000, 0x0) = 0 0
mprotect(0x10D7E6000, 0x1000, 0x0) = 0 0
mprotect(0x10D7E7000, 0x1000, 0x0) = 0 0
mprotect(0x10D7FD000, 0x1000, 0x0) = 0 0
mprotect(0x10D7FE000, 0x1000, 0x1) = 0 0
mprotect(0x10D7CE000, 0x88, 0x3) = 0 0
mprotect(0x10D7CE000, 0x88, 0x1) = 0 0
issetugid(0x10D7CE000, 0x88, 0x1) = 0 0
getpid(0x10D7CE000, 0x88, 0x1) = 70108 0
stat64("/AppleInternal/XBS/.isChrooted\0", 0x7FFF5243B4A8, 0x1) = -1 Err#2
stat64("/BuildSupport/makeProject\0", 0x7FFF5243B4A8, 0x1) = -1 Err#2
stat64("/AppleInternal\0", 0x7FFF5243B418, 0x1) = -1 Err#2
csops(0x111DC, 0x7, 0x7FFF5243AF40) = 0 0
csops(0x111DC, 0x7, 0x7FFF5243A820) = 0 0
execve("/Users/kyanny/google-cloud-sdk/bin/bash\0", 0x7FFF5243C988, 0x7FFF5243C9B0) = -1 Err#2
execve("/usr/local/heroku/bin/bash\0", 0x7FFF5243C988, 0x7FFF5243C9B0) = -1 Err#2
execve("/Users/kyanny/.rbenv/shims/bash\0", 0x7FFF5243C988, 0x7FFF5243C9B0) = -1 Err#2
execve("/usr/local/bin/bash\0", 0x7FFF5243C988, 0x7FFF5243C9B0) = -1 Err#2
execve("/Users/kyanny/gocode/bin/bash\0", 0x7FFF5243C988, 0x7FFF5243C9B0) = -1 Err#2
execve("/Users/kyanny/Library/Haskell/bin/bash\0", 0x7FFF5243C988, 0x7FFF5243C9B0) = -1 Err#2
execve("/usr/local/Cellar/coreutils/8.23_1/libexec/gnubin/bash\0", 0x7FFF5243C988, 0x7FFF5243C9B0) = -1 Err#2
execve("/Users/kyanny/bin2/bash\0", 0x7FFF5243C988, 0x7FFF5243C9B0) = -1 Err#2
execve("/Users/kyanny/bin/bash\0", 0x7FFF5243C988, 0x7FFF5243C9B0) = -1 Err#2
execve("/usr/local/bin/bash\0", 0x7FFF5243C988, 0x7FFF5243C9B0) = -1 Err#2
execve("/usr/local/bin/bash\0", 0x7FFF5243C988, 0x7FFF5243C9B0) = -1 Err#2
execve("/usr/bin/bash\0", 0x7FFF5243C988, 0x7FFF5243C9B0) = -1 Err#2
stat64("/usr/lib/system/liblaunch.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libmacho.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
ioctl(0x3, 0x80086804, 0x7FFF5243BE88) = 0 0
csops(0x0, 0x0, 0x7FFF5243C008) = 0 0
fcntl(0x3, 0x3D, 0x7FFF52439440) = 0 0
mmap(0x10D7C8000, 0x2000, 0x5, 0x12, 0x3, 0x1000) = 0x10D7C8000 0
mmap(0x10D7CB000, 0x1FC0, 0x1, 0x12, 0x3, 0x4000) = 0x10D7CB000 0
close(0x3) = 0 0
stat64("/usr/lib/dtrace/libdtrace_dyld.dylib\0", 0x7FFF5243BA58, 0x1) = 0 0
stat64("/usr/lib/system/libcopyfile.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libsystem_platform.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libsystem_pthread.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libsystem_sandbox.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libsystem_secinit.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libsystem_stats.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
issetugid(0x0, 0x0, 0x7FFF5243C008) = 0 0
shared_region_check_np(0x7FFF52439F48, 0x0, 0x7FFF5243C008) = 0 0
stat64("/usr/lib/dtrace/libdtrace_dyld.dylib\0", 0x7FFF5243B0D8, 0x7FFF5243C008) = 0 0
open("/usr/lib/dtrace/libdtrace_dyld.dylib\0", 0x0, 0x0) = 3 0
mmap(0x10D7CA000, 0x1000, 0x3, 0x12, 0x3, 0x3000) = 0x10D7CA000 0
stat64("/usr/lib/libSystem.B.dylib\0", 0x7FFF5243AF08, 0x1) = 0 0
stat64("/usr/lib/system/libcache.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libcommonCrypto.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libcompiler_rt.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libcorecrypto.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libdispatch.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libdyld.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libkeymgr.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libsystem_asl.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libsystem_blocks.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libsystem_c.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libsystem_configuration.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libsystem_coreservices.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libsystem_coretls.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libsystem_dnssd.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libsystem_info.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libsystem_kernel.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libsystem_m.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libsystem_malloc.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libsystem_network.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libsystem_networkextension.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libsystem_notify.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libsystem_trace.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libunc.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libunwind.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libxpc.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/libobjc.A.dylib\0", 0x7FFF52439DD8, 0x1) = 0 0
stat64("/usr/lib/libauto.dylib\0", 0x7FFF52439DD8, 0x1) = 0 0
stat64("/usr/lib/libc++abi.dylib\0", 0x7FFF52439CB8, 0x1) = 0 0
stat64("/usr/lib/libc++.1.dylib\0", 0x7FFF52439CB8, 0x1) = 0 0
stat64("/usr/lib/libDiagnosticMessagesClient.dylib\0", 0x7FFF52439BA8, 0x1) = 0 0
getpid(0x7FFF8BA14740, 0x7FFF52439BA8, 0x1) = 70108 0
close(0x3) = 0 0
CALL COUNT
bsdthread_register 1
fcntl 1
ioctl 1
shared_region_check_np 1
sysctl 1
close 2
getpid 2
issetugid 2
open 2
pread 2
thread_selfid 2
csops 3
mmap 3
mprotect 8
execve 13
stat64 46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment