-----------------------------------------------------------------

[*] Initial strace run with jchroot on the command ./usr/sbin/ntpd to identify missing areas

[*] Emulating binary name: ntpd 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/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract (1/1)
[*] Using CPU config: NONE

1 readlinkat(AT_FDCWD,"/proc/self/exe",0x4071db48,4096) = 14
1 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffe6000
1 open("/lib//libssl.so.1.1",O_RDONLY) = 3
1 fstat(3,0x4071e1fc) = 0
1 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffe5000
1 read(3,0x3ffe5000,4096) = 4096
1 mmap2(NULL,487424,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ff6e000
1 mmap2(0x3ff6e000,384476,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3ff6e000
1 mmap2(0x3ffdc000,33720,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x5e) = 0x3ffdc000
1 close(3) = 0
1 munmap(0x3ffe5000,4096) = 0
1 open("/lib//libcrypto.so.1.1",O_RDONLY) = 3
1 fstat(3,0x4071e1ec) = 0
1 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ff6d000
1 read(3,0x3ff6d000,4096) = 4096
1 mmap2(NULL,2031616,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fd7d000
1 mmap2(0x3fd7d000,1857308,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fd7d000
1 mmap2(0x3ff53000,95124,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x1c6) = 0x3ff53000
1 mmap2(0x3ff6b000,4436,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3ff6b000
1 close(3) = 0
1 munmap(0x3ff6d000,4096) = 0
1 open("/lib//libatomic.so.1",O_RDONLY) = 3
1 fstat(3,0x4071e1dc) = 0
1 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fd7c000
1 read(3,0x3fd7c000,4096) = 4096
1 mmap2(NULL,94208,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fd65000
1 mmap2(0x3fd65000,17180,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fd65000
1 mmap2(0x3fd79000,4160,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x4) = 0x3fd79000
1 mmap2(0x3fd7b000,92,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3fd7b000
1 close(3) = 0
1 munmap(0x3fd7c000,4096) = 0
1 open("/lib//libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e1cc) = 0
1 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fd64000
1 read(3,0x3fd64000,4096) = 4096
1 mmap2(NULL,651264,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fcc5000
1 mmap2(0x3fcc5000,486668,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fcc5000
1 mmap2(0x3fd4c000,4852,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x77) = 0x3fd4c000
1 mmap2(0x3fd4e000,88104,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3fd4e000
1 close(3) = 0
1 munmap(0x3fd64000,4096) = 0
1 open("/lib//libcrypto.so.1.1",O_RDONLY) = 3
1 fstat(3,0x4071e1bc) = 0
1 close(3) = 0
1 open("/lib//libatomic.so.1",O_RDONLY) = 3
1 fstat(3,0x4071e1ac) = 0
1 close(3) = 0
1 open("/lib//libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e19c) = 0
1 close(3) = 0
1 open("/lib//libatomic.so.1",O_RDONLY) = 3
1 fstat(3,0x4071e18c) = 0
1 close(3) = 0
1 open("/lib//libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e17c) = 0
1 close(3) = 0
1 open("/lib//libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e16c) = 0
1 close(3) = 0
1 stat("/lib/ld-uClibc.so.0",0x4071ea50) = 0
1 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fcc4000
1 mprotect(0x0009d000,4096,PROT_READ) = 0
1 mprotect(0x3ffdc000,20480,PROT_READ) = 0
1 mprotect(0x3ff53000,90112,PROT_READ) = 0
1 mprotect(0x3fd79000,4096,PROT_READ) = 0
1 mprotect(0x3fd4c000,4096,PROT_READ) = 0
1 mprotect(0x3fffe000,4096,PROT_READ) = 0
1 set_tid_address(0x3fcc4068) = 1
1 set_robust_list(0x3fcc406c,12) = -1 errno=38 (Function not implemented)
1 rt_sigaction(32,0x4071ea34,NULL) = 0
1 rt_sigaction(33,0x4071ea34,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x4071ea78,NULL,8) = 0
1 ugetrlimit(3,1081207396,4,1696,1070910536,16) = 0
1 ioctl(0,TCGETS,0x4071ea24) = -1 errno=25 (Inappropriate ioctl for device)
1 ioctl(1,TCGETS,0x4071ea24) = -1 errno=25 (Inappropriate ioctl for device)
1 mmap2(NULL,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK,-1,0) = 0x3fcbc000
1 brk(NULL) = 0x000f0960
1 brk(0x000f1960) = 0x000f1960
1 brk(0x000f2000) = 0x000f2000
1 mprotect(0x3fcbc000,4096,PROT_NONE) = 0
1 clone(CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,child_stack=0x3fcc3038,parent_tidptr=0x3fcc3538,tls=0x3fcc3960,child_tidptr=0x3fcc3538) = 3
1 open("/lib//libgcc_s.so.1",O_RDONLY) = 3
1 fstat(3,0x4071dec4) = 0
1 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fcbb000
1 read(3,0x3fcbb000,4096) = 4096
1 mmap2(NULL,200704,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fc8a000
1 mmap2(0x3fc8a000,129912,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fc8a000
1 mmap2(0x3fcb9000,4460,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x1f) = 0x3fcb9000
1 close(3) = 0
1 munmap(0x3fcbb000,4096) = 0
1 open("/lib//libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071deb4) = 0
1 close(3) = 0
1 open("/lib//ld-uClibc.so.1",O_RDONLY) = 3
1 fstat(3,0x4071de94) = 0
1 close(3) = 0
1 mprotect(0x3fcb9000,4096,PROT_READ) = 0
1 futex(0x3fcc3538,FUTEX_WAIT,3,NULL,NULL,0)1 rt_sigaction(SIGCHLD,NULL,0x3fcc2ec4) = 0
1 madvise(0x3fcbc000,12288,MADV_DONTNEED) = 0
1 exit(0)
 = 0
1 umask(0) = 18
1 umask(022) = 0
1 open("/external/emba_venv/bin",O_RDONLY|O_DIRECTORY|O_NONBLOCK|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 open("/usr/local/sbin",O_RDONLY|O_DIRECTORY|O_NONBLOCK|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 open("/usr/local/bin",O_RDONLY|O_DIRECTORY|O_NONBLOCK|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 open("/usr/sbin",O_RDONLY|O_DIRECTORY|O_NONBLOCK|O_CLOEXEC) = 3
1 fstat64(3,0x4071d740) = 0
1 fcntl(3,F_SETFD,1) = 0
1 getdents64(3,0x4071c7b8,4096) = 2320
1 getdents64(3,0x4071c7b8,4096) = 0
1 close(3) = 0
1 open("/usr/bin",O_RDONLY|O_DIRECTORY|O_NONBLOCK|O_CLOEXEC) = 3
1 fstat64(3,0x4071d740) = 0
1 fcntl(3,F_SETFD,1) = 0
1 getdents64(3,0x4071c7b8,4096) = 4080
1 getdents64(3,0x4071c7b8,4096) = 704
1 getdents64(3,0x4071c7b8,4096) = 0
1 close(3) = 0
1 open("/sbin",O_RDONLY|O_DIRECTORY|O_NONBLOCK|O_CLOEXEC) = 3
1 fstat64(3,0x4071d740) = 0
1 fcntl(3,F_SETFD,1) = 0
1 getdents64(3,0x4071c7b8,4096) = 1752
1 getdents64(3,0x4071c7b8,4096) = 0
1 close(3) = 0
1 open("/bin",O_RDONLY|O_DIRECTORY|O_NONBLOCK|O_CLOEXEC) = 3
1 fstat64(3,0x4071d740) = 0
1 fcntl(3,F_SETFD,1) = 0
1 getdents64(3,0x4071c7b8,4096) = 2168
1 getdents64(3,0x4071c7b8,4096) = 0
1 close(3) = 0
1 open("/home/linuxbrew/.linuxbrew/bin/",O_RDONLY|O_DIRECTORY|O_NONBLOCK|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 socket(PF_UNIX,SOCK_DGRAM,IPPROTO_IP) = 3
1 fcntl(3,F_SETFD,1) = 0
1 fcntl(3,F_GETFL) = 2
1 fcntl(3,F_SETFL,O_RDWR|O_NONBLOCK) = 0
1 connect(3,0x3fd38340,16) = -1 errno=2 (No such file or directory)
1 close(3) = 0
1 socket(PF_UNIX,SOCK_STREAM,IPPROTO_IP) = 3
1 fcntl(3,F_SETFD,1) = 0
1 fcntl(3,F_GETFL) = 2
1 fcntl(3,F_SETFL,O_RDWR|O_NONBLOCK) = 0
1 connect(3,0x3fd38340,16) = -1 errno=2 (No such file or directory)
1 close(3) = 0
1 socket(PF_UNIX,SOCK_DGRAM,IPPROTO_IP) = 3
1 fcntl(3,F_SETFD,1) = 0
1 fcntl(3,F_GETFL) = 2
1 fcntl(3,F_SETFL,O_RDWR|O_NONBLOCK) = 0
1 connect(3,0x3fd38340,16) = -1 errno=2 (No such file or directory)
1 close(3) = 0
1 socket(PF_UNIX,SOCK_STREAM,IPPROTO_IP) = 3
1 fcntl(3,F_SETFD,1) = 0
1 fcntl(3,F_GETFL) = 2
1 fcntl(3,F_SETFL,O_RDWR|O_NONBLOCK) = 0
1 connect(3,0x3fd38340,16) = -1 errno=2 (No such file or directory)
1 close(3) = 0
1 gettimeofday(0x4071e018,NULL) = 0 ({tv_sec = 1689972640,tv_usec = 222000},NULL)
1 open("/etc/TZ",O_RDONLY) = 3
1 read(3,0x4071df4c,68) = 8
1 close(3) = 0
1 getpid() = 1
1 socket(PF_UNIX,SOCK_DGRAM,IPPROTO_IP) = 3
1 fcntl(3,F_SETFD,1) = 0
1 fcntl(3,F_GETFL) = 2
1 fcntl(3,F_SETFL,O_RDWR|O_NONBLOCK) = 0
1 connect(3,0x3fd38340,16) = -1 errno=2 (No such file or directory)
1 close(3) = 0
1 socket(PF_UNIX,SOCK_STREAM,IPPROTO_IP) = 3
1 fcntl(3,F_SETFD,1) = 0
1 fcntl(3,F_GETFL) = 2
1 fcntl(3,F_SETFL,O_RDWR|O_NONBLOCK) = 0
1 connect(3,0x3fd38340,16) = -1 errno=2 (No such file or directory)
1 close(3) = 0
1 gettimeofday(0x4071e018,NULL) = 0 ({tv_sec = 1689972640,tv_usec = 225710},NULL)
1 open("/etc/TZ",O_RDONLY) = 3
1 read(3,0x4071df4c,68) = 8
1 close(3) = 0
1 getpid() = 1
1 getuid32(137796,0,1070912436,655980,1081207072,0) = 0
1 socket(PF_INET,SOCK_STREAM,IPPROTO_IP) = 3
1 close(3) = 0
1 socket(10,SOCK_STREAM,IPPROTO_IP) = 3
1 getsockname(3,0x4071e808,0x4071e804) = 0
1 close(3) = 0
1 futex(0x000ee60c,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x4071e8a0,1081206944) = 0
1 clock_gettime(CLOCK_REALTIME,0x4071e890) = 0 ({tv_sec = 1689972640,tv_nsec = 247721054})
1 clone(CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|0x11,child_stack=0x00000000,parent_tidptr=0x00000000,tls=0x00000000,child_tidptr=0x3fcc4068) = 4
 = 0
4 ugetrlimit(7,1081206960,1070912436,0,-1,0) = 0
4 close(0) = 0
4 close(1) = 0
4 close(2)1 exit_group(0)

[*] Identification of missing filesytem areas.
[*] Found missing area: /external/emba_venv/bin
[*] Trying to identify this missing file: bin
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/bin
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/bin to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/external/emba_venv/
[*] Found missing area: /home/linuxbrew/.linuxbrew/bin/
[*] Trying to identify this missing file: bin
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/bin
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/bin to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/home/linuxbrew/.linuxbrew/
[*] Found missing area: /usr/local/bin
[*] Trying to identify this missing file: bin
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/bin
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/bin to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/usr/local/
[*] Found missing area: /usr/local/sbin
[*] Trying to identify this missing file: sbin
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/sbin
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/sbin to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/usr/local/

-----------------------------------------------------------------