kihei/i-08bac8ee245e1ff86
by SadServersMore by SadServers
Here, the second and the third argument of open(2) are decoded by breakin traditional or native usage differs from ANSI or POSIX, the latter forms Structure pointers are dereferenced and the members are displayed as ap mand "ls -l /dev/null" is captured as: lstat("/dev/null", {st_mode=S_IFCHR|0666, st_rdev=makedev(0x1, 0x3), Notice how the 'struct stat' argument is dereferenced and how each member and numeric values. Also notice in this example that the first argument the system call fails, arguments may not always be dereferenced. For exa lstat("/foo/bar", 0xb004) = -1 ENOENT (No such file or directory) Manual page strace(1) line 17 (press h for help or q to quit)
kihei/i-01b77bb37a0d39570 00:21
by SadServersgoroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-0aeb40e1867803400:~$ ls agent data datafile kihei admin@i-0aeb40e1867803400:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 217M 0 217M 0% /dev tmpfs 46M 368K 46M 1% /run /dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / tmpfs 228M 12K 228M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi admin@i-0aeb40e1867803400:~$ ./str
kihei/i-0aeb40e1867803400 03:37
by SadServersgoroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-0e446c270466448da:~$ ls agent data datafile kihei admin@i-0e446c270466448da:~$ head datafile | od 0000000 000000 000000 000000 000000 000000 000000 000000 000000 * ^C admin@i-0e446c270466448da:~$ head datafile | less admin@i-0e446c270466448da:~$ od datafile | less admin@i-0e446c270466448da:~$ head -c 1024 datafile | less