Last active
January 5, 2020 13:43
-
-
Save igalic/06917186150c958ef6e1897daeae3a74 to your computer and use it in GitHub Desktop.
87 syscalls; 7 of which result in an error; all of those are due to lookup attempts to /etc/ld.so.nohwcap (and one to /etc/ld.so.preload)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execve("./hello", ["./hello"], 0x7ffd3cf13d58 /* 68 vars */) = 0 | |
brk(NULL) = 0x56039295a000 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=91244, ...}) = 0 | |
mmap(NULL, 91244, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4611488000 | |
close(3) = 0 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 | |
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\16\0\0\0\0\0\0"..., 832) = 832 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=14560, ...}) = 0 | |
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4611486000 | |
mmap(NULL, 2109712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4611074000 | |
mprotect(0x7f4611077000, 2093056, PROT_NONE) = 0 | |
mmap(0x7f4611276000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f4611276000 | |
close(3) = 0 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3 | |
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\"\0\0\0\0\0\0"..., 832) = 832 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=31680, ...}) = 0 | |
mmap(NULL, 2128864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4610e6c000 | |
mprotect(0x7f4610e73000, 2093056, PROT_NONE) = 0 | |
mmap(0x7f4611072000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f4611072000 | |
close(3) = 0 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 | |
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000b\0\0\0\0\0\0"..., 832) = 832 | |
fstat(3, {st_mode=S_IFREG|0755, st_size=144976, ...}) = 0 | |
mmap(NULL, 2221184, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4610c4d000 | |
mprotect(0x7f4610c67000, 2093056, PROT_NONE) = 0 | |
mmap(0x7f4610e66000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19000) = 0x7f4610e66000 | |
mmap(0x7f4610e68000, 13440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4610e68000 | |
close(3) = 0 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3 | |
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300*\0\0\0\0\0\0"..., 832) = 832 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=96616, ...}) = 0 | |
mmap(NULL, 2192432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4610a35000 | |
mprotect(0x7f4610a4c000, 2093056, PROT_NONE) = 0 | |
mmap(0x7f4610c4b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7f4610c4b000 | |
close(3) = 0 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 | |
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\34\2\0\0\0\0\0"..., 832) = 832 | |
fstat(3, {st_mode=S_IFREG|0755, st_size=2030544, ...}) = 0 | |
mmap(NULL, 4131552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4610644000 | |
mprotect(0x7f461082b000, 2097152, PROT_NONE) = 0 | |
mmap(0x7f4610a2b000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e7000) = 0x7f4610a2b000 | |
mmap(0x7f4610a31000, 15072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4610a31000 | |
close(3) = 0 | |
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4611484000 | |
arch_prctl(ARCH_SET_FS, 0x7f4611485300) = 0 | |
mprotect(0x7f4610a2b000, 16384, PROT_READ) = 0 | |
mprotect(0x7f4610c4b000, 4096, PROT_READ) = 0 | |
mprotect(0x7f4610e66000, 4096, PROT_READ) = 0 | |
mprotect(0x7f4611072000, 4096, PROT_READ) = 0 | |
mprotect(0x7f4611276000, 4096, PROT_READ) = 0 | |
mprotect(0x56039200d000, 8192, PROT_READ) = 0 | |
mprotect(0x7f461149f000, 4096, PROT_READ) = 0 | |
munmap(0x7f4611488000, 91244) = 0 | |
set_tid_address(0x7f46114855d0) = 32193 | |
set_robust_list(0x7f46114855e0, 24) = 0 | |
rt_sigaction(SIGRTMIN, {sa_handler=0x7f4610c52cb0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f4610c5f890}, NULL, 8) = 0 | |
rt_sigaction(SIGRT_1, {sa_handler=0x7f4610c52d50, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4610c5f890}, NULL, 8) = 0 | |
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 | |
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 | |
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f4610682f20}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 | |
brk(NULL) = 0x56039295a000 | |
brk(0x56039297b000) = 0x56039297b000 | |
openat(AT_FDCWD, "/proc/self/maps", O_RDONLY|O_CLOEXEC) = 3 | |
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 | |
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 | |
read(3, "560391dde000-560391e0d000 r-xp 0"..., 1024) = 1024 | |
read(3, "24 /lib/x86_6"..., 1024) = 1024 | |
read(3, " r--p 00006000 fd:02 4723827 "..., 1024) = 1024 | |
read(3, "-p 00000000 00:00 0 \n7ffc566ca00"..., 1024) = 346 | |
close(3) = 0 | |
sched_getaffinity(32193, 32, [0, 2, 4, 6]) = 8 | |
rt_sigaction(SIGSEGV, {sa_handler=0x560391deadf0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7f4610c5f890}, NULL, 8) = 0 | |
rt_sigaction(SIGBUS, {sa_handler=0x560391deadf0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7f4610c5f890}, NULL, 8) = 0 | |
sigaltstack(NULL, {ss_sp=NULL, ss_flags=SS_DISABLE, ss_size=0}) = 0 | |
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f461149d000 | |
sigaltstack({ss_sp=0x7f461149d000, ss_flags=0, ss_size=8192}, NULL) = 0 | |
write(1, "hello world!\n", 13) = 13 | |
sigaltstack({ss_sp=NULL, ss_flags=SS_DISABLE, ss_size=8192}, NULL) = 0 | |
munmap(0x7f461149d000, 8192) = 0 | |
exit_group(0) = ? | |
+++ exited with 0 +++ | |
% time seconds usecs/call calls errors syscall | |
------ ----------- ----------- --------- --------- ---------------- | |
0.00 0.000000 0 9 read | |
0.00 0.000000 0 1 write | |
0.00 0.000000 0 7 close | |
0.00 0.000000 0 7 fstat | |
0.00 0.000000 0 16 mmap | |
0.00 0.000000 0 12 mprotect | |
0.00 0.000000 0 2 munmap | |
0.00 0.000000 0 3 brk | |
0.00 0.000000 0 5 rt_sigaction | |
0.00 0.000000 0 1 rt_sigprocmask | |
0.00 0.000000 0 7 7 access | |
0.00 0.000000 0 1 execve | |
0.00 0.000000 0 3 sigaltstack | |
0.00 0.000000 0 1 arch_prctl | |
0.00 0.000000 0 1 sched_getaffinity | |
0.00 0.000000 0 1 set_tid_address | |
0.00 0.000000 0 7 openat | |
0.00 0.000000 0 1 set_robust_list | |
0.00 0.000000 0 2 prlimit64 | |
------ ----------- ----------- --------- --------- ---------------- | |
100.00 0.000000 87 7 total |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment