-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/bin/tapestat to identify missing areas
[*] Emulating binary name: tapestat in strace mode to identify missing areas (with jchroot)
[*] Emulator used: qemu-arm-static
[*] Chroot environment used: jchroot
[*] Using root directory: /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract (1/2)
[*] Using CPU config:
1 brk(NULL) = 0x4000e078
1 access("/etc/ld.so.preload",R_OK) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/etc/ld.so.cache",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libgcc_s.so.1",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d148,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce60) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7dd000
1 mmap2(NULL,102460,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f7c3000
1 mmap2(0x3f7db000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x18) = 0x3f7db000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libc.so.6",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d138,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce50) = 0
1 mmap2(NULL,1108064,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f6b4000
1 mmap2(0x3f7b6000,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x101) = 0x3f7b6000
1 mmap2(0x3f7ba000,34912,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f7ba000
1 close(3) = 0
1 set_tid_address(0x3f7ddca8) = 1
1 set_robust_list(0x3f7ddcac,12) = -1 errno=38 (Function not implemented)
1 Unknown syscall 398
1 mprotect(0x3f7b6000,8192,PROT_READ) = 0
1 mprotect(0x3f7db000,4096,PROT_READ) = 0
1 mprotect(0x40007000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 ugetrlimit(3,1072814536,1065101214,1065076484,1,1065057888) = 0
1 ioctl(1,TCGETS,0x3ff1d978) = -1 errno=25 (Inappropriate ioctl for device)
1 openat(AT_FDCWD,"/sys/devices/system/cpu",O_RDONLY|O_DIRECTORY|O_LARGEFILE|O_NONBLOCK|O_CLOEXEC) = 3
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1d368) = 0
1 brk(NULL) = 0x4000e078
1 brk(0x40037078) = 0x40037078
1 brk(0x40038000) = 0x40038000
1 getdents64(3,0x4000e0a0,32768) = 752
1 statx(AT_FDCWD,"/sys/devices/system/cpu/cpu7",AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1d320) = 0
1 statx(AT_FDCWD,"/sys/devices/system/cpu/cpu5",AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1d320) = 0
1 statx(AT_FDCWD,"/sys/devices/system/cpu/cpu3",AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1d320) = 0
1 statx(AT_FDCWD,"/sys/devices/system/cpu/cpu1",AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1d320) = 0
1 statx(AT_FDCWD,"/sys/devices/system/cpu/cpu6",AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1d320) = 0
1 statx(AT_FDCWD,"/sys/devices/system/cpu/cpu4",AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1d320) = 0
1 statx(AT_FDCWD,"/sys/devices/system/cpu/cpu2",AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1d320) = 0
1 statx(AT_FDCWD,"/sys/devices/system/cpu/cpu0",AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1d320) = 0
1 getdents64(3,0x4000e0a0,32768) = 0
1 brk(0x4002f000) = 0x4002f000
1 close(3) = 0
1 clock_gettime64(CLOCK_REALTIME_COARSE,0x3ff1d9e0) = 0 ({tv_sec=1690031818,tv_nsec=426041800})
1 openat(AT_FDCWD,"/etc/localtime",O_RDONLY|O_CLOEXEC) = 3
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1d750) = 0
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1d688) = 0
1 read(3,0x4000ec58,4096) = 130
1 _llseek(3,4294967295,4294967217,0x3ff1d7c8,SEEK_CUR) = 0
1 read(3,0x4000ec58,4096) = 79
1 close(3) = 0
1 uname(0x3ff1da64) = 0
1 write(1,0x3ff1b968,67)Linux 5.19.0-46-generic (d2597cc24a03) 07/22/23 _armv7l_ (8 CPU)
= 67
1 write(1,0x3f7b8bd7,1)
= 1
1 rt_sigaction(SIGALRM,0x3ff1d8e0,NULL) = 0
1 setitimer(ITIMER_REAL,{it_interval={tv_sec = 0,tv_usec = 0},it_value={tv_sec = 0,tv_usec = 0},},0x3ff1d970) = 0 (old_value = {it_interval={tv_sec = 0,tv_usec = 0},it_value={tv_sec = 0,tv_usec = 0},})
1 openat(AT_FDCWD,"/sys/class/scsi_tape",O_RDONLY|O_DIRECTORY|O_LARGEFILE|O_NONBLOCK|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 write(2,0x40005c18,37)No tape drives with statistics found
= 37
1 exit_group(1)
[*] Identification of missing filesytem areas.
[*] Found missing area: /etc/ld.so.cache
[*] Trying to identify this missing file: ld.so.cache
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/etc/ld.so.cache
-----------------------------------------------------------------