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

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

[*] Emulating binary name: ntpq 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",0x4071db58,4096) = 13
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,0x4071e20c) = 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,0x4071e1fc) = 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,0x4071e1ec) = 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,0x4071e1dc) = 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,0x4071e1cc) = 0
1 close(3) = 0
1 open("/lib//libatomic.so.1",O_RDONLY) = 3
1 fstat(3,0x4071e1bc) = 0
1 close(3) = 0
1 open("/lib//libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e1ac) = 0
1 close(3) = 0
1 open("/lib//libatomic.so.1",O_RDONLY) = 3
1 fstat(3,0x4071e19c) = 0
1 close(3) = 0
1 open("/lib//libc.so.0",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 stat("/lib/ld-uClibc.so.0",0x4071ea60) = 0
1 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fcc4000
1 mprotect(0x00052000,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,0x4071ea44,NULL) = 0
1 rt_sigaction(33,0x4071ea44,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x4071ea88,NULL,8) = 0
1 ugetrlimit(3,1081207412,4,1696,1070910536,16) = 0
1 ioctl(0,TCGETS,0x4071ea34) = -1 errno=25 (Inappropriate ioctl for device)
1 ioctl(1,TCGETS,0x4071ea34) = -1 errno=25 (Inappropriate ioctl for device)
1 socket(PF_INET,SOCK_STREAM,IPPROTO_IP) = 3
1 close(3) = 0
1 socket(10,SOCK_STREAM,IPPROTO_IP) = 3
1 getsockname(3,0x4071ec40,0x4071ec3c) = 0
1 close(3) = 0
1 futex(0x00056b80,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x4071ecd8,1081208024) = 0
1 brk(NULL) = 0x0005bbac
1 brk(0x0005cbac) = 0x0005cbac
1 brk(0x0005d000) = 0x0005d000
1 futex(0x3ff6bb50,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x4071eca8,1081207976) = 0
1 futex(0x3ff6bb54,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x4071eca8,1081207976) = 0
1 futex(0x3ff6bb58,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x4071eca8,1081207976) = 0
1 futex(0x3ff6bbfc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x4071ec28,1081207848) = 0
1 futex(0x3ff6bb64,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x4071eca8,1081207976) = 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,0x4071db88) = 0
1 fcntl(3,F_SETFD,1) = 0
1 brk(0x0005e000) = 0x0005e000
1 getdents64(3,0x4071cc00,4096) = 2320
1 getdents64(3,0x4071cc00,4096) = 0
1 close(3) = 0
1 open("/usr/bin",O_RDONLY|O_DIRECTORY|O_NONBLOCK|O_CLOEXEC) = 3
1 fstat64(3,0x4071db88) = 0
1 fcntl(3,F_SETFD,1) = 0
1 getdents64(3,0x4071cc00,4096) = 4080
1 getdents64(3,0x4071cc00,4096) = 704
1 getdents64(3,0x4071cc00,4096) = 0
1 close(3) = 0
1 open("/sbin",O_RDONLY|O_DIRECTORY|O_NONBLOCK|O_CLOEXEC) = 3
1 fstat64(3,0x4071db88) = 0
1 fcntl(3,F_SETFD,1) = 0
1 getdents64(3,0x4071cc00,4096) = 1752
1 getdents64(3,0x4071cc00,4096) = 0
1 close(3) = 0
1 open("/bin",O_RDONLY|O_DIRECTORY|O_NONBLOCK|O_CLOEXEC) = 3
1 fstat64(3,0x4071db88) = 0
1 fcntl(3,F_SETFD,1) = 0
1 getdents64(3,0x4071cc00,4096) = 2168
1 getdents64(3,0x4071cc00,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 getcwd(0x5c978,4095) = 2
1 stat64("/",0x4071dbb8) = 0
1 open("/.ntprc",O_RDONLY|O_EXCL|O_LARGEFILE) = -1 errno=2 (No such file or directory)
1 readlink("/root",0x4071cbd8,4095) = -1 errno=22 (Invalid argument)
1 stat64("/root",0x4071dbb8) = 0
1 open("/root/.ntprc",O_RDONLY|O_EXCL|O_LARGEFILE) = -1 errno=2 (No such file or directory)
1 readlink("/root",0x4071cbd8,4095) = -1 errno=22 (Invalid argument)
1 stat64("/root",0x4071dbb8) = 0
1 open("/root/.ntprc",O_RDONLY|O_EXCL|O_LARGEFILE) = -1 errno=2 (No such file or directory)
1 getcwd(0x5c978,4095) = 2
1 stat64("/",0x4071dbb8) = 0
1 open("/.ntprc",O_RDONLY|O_EXCL|O_LARGEFILE) = -1 errno=2 (No such file or directory)
1 ioctl(0,TCGETS,0x4071eca4) = -1 errno=25 (Inappropriate ioctl for device)
1 rt_sigaction(SIGINT,0x4071ecbc,0x4071ecfc) = 0
1 open("/etc/gai.conf",O_RDONLY) = -1 errno=2 (No such file or directory)
1 open("/etc/services",O_RDONLY) = 3
1 ioctl(3,TCGETS,0x4071e40c) = -1 errno=25 (Inappropriate ioctl for device)
1 read(3,0x5c978,4096) = 4096
1 close(3) = 0
1 socket(PF_NETLINK,SOCK_RAW,NETLINK_ROUTE) = 3
1 bind(3,{nl_family=AF_NETLINK,nl_pid=0,nl_groups=0}, 12) = 0
1 getsockname(3,0x4071e9b4,0x4071e9b0) = 0
1 gettimeofday(0x4071e918,NULL) = 0 ({tv_sec = 1689972618,tv_usec = 369260},NULL)
1 sendto(3,1081207100,20,0,1081207088,12) = 20
1 recvmsg(3,0x4071e98c,0) = 2808
1 recvmsg(3,0x4071e98c,0) = 20
1 sendto(3,1081207100,20,0,1081207088,12) = 20
1 recvmsg(3,0x4071e98c,0) = 164
1 recvmsg(3,0x4071e98c,0) = 20
1 close(3) = 0
1 socket(PF_NETLINK,SOCK_RAW,NETLINK_ROUTE) = 3
1 bind(3,{nl_family=AF_NETLINK,nl_pid=0,nl_groups=0}, 12) = 0
1 getsockname(3,0x4071e9b4,0x4071e9b0) = 0
1 gettimeofday(0x4071e918,NULL) = 0 ({tv_sec = 1689972618,tv_usec = 370765},NULL)
1 sendto(3,1081207100,20,0,1081207088,12) = 20
1 recvmsg(3,0x4071e98c,0) = 2808
1 recvmsg(3,0x4071e98c,0) = 20
1 sendto(3,1081207100,20,0,1081207088,12) = 20
1 recvmsg(3,0x4071e98c,0) = 164
1 recvmsg(3,0x4071e98c,0) = 20
1 close(3) = 0
1 socket(PF_NETLINK,SOCK_RAW,NETLINK_ROUTE) = 3
1 bind(3,{nl_family=AF_NETLINK,nl_pid=0,nl_groups=0}, 12) = 0
1 getsockname(3,0x4071e8f4,0x4071e8f0) = 0
1 gettimeofday(0x4071e858,NULL) = 0 ({tv_sec = 1689972618,tv_usec = 370980},NULL)
1 sendto(3,1081206908,20,0,1081206896,12) = 20
1 recvmsg(3,0x4071e8cc,0) = 2808
1 recvmsg(3,0x4071e8cc,0) = 20
1 sendto(3,1081206908,20,0,1081206896,12) = 20
1 recvmsg(3,0x4071e8cc,0) = 164
1 recvmsg(3,0x4071e8cc,0) = 20
1 close(3) = 0
1 open("/etc/services",O_RDONLY) = 3
1 ioctl(3,TCGETS,0x4071e40c) = -1 errno=25 (Inappropriate ioctl for device)
1 read(3,0x5c9c0,4096) = 4096
1 close(3) = 0
1 open("/etc/hosts",O_RDONLY) = 3
1 ioctl(3,TCGETS,0x4071e334) = -1 errno=25 (Inappropriate ioctl for device)
1 read(3,0x5c9c0,4096) = 40
1 close(3) = 0
1 socket(PF_INET,SOCK_DGRAM,IPPROTO_UDP) = 3
1 connect(3,0x5c9e0,16) = 0
1 read(0,0x3fd4d6cc,4096) = 0
1 write(2,0x4071eae7,1)
 = 1
1 exit_group(0)

[*] Identification of missing filesytem areas.
[*] Found missing area: /.ntprc
[*] Trying to identify this missing file: .ntprc
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract//.ntprc
[*] Found missing area: /etc/gai.conf
[*] Trying to identify this missing file: gai.conf
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/etc/gai.conf
[*] 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
[*] Creating directory /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
[*] 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
[*] Creating directory /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
[*] 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: /root/.ntprc
[*] Trying to identify this missing file: .ntprc
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/root/.ntprc
[*] 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
[*] Creating directory /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
[*] 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/

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