-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/sbin/sshd to identify missing areas
[*] Emulating binary name: sshd in strace mode to identify missing areas (with jchroot)
[*] Emulator used: qemu-mipsel-static
[*] Chroot environment used: jchroot
[*] Using root directory: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract (1/2)
[*] Using CPU config:
--- SIGILL {si_signo=SIGILL, si_code=SI_KERNEL, si_pid=0, si_uid=0} ---
qemu: uncaught target signal 4 (Illegal instruction) - core dumped
[*] Identification of missing filesytem areas.
[*] No missing areas found.
-----------------------------------------------------------------
-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./sbin/sshd to identify missing areas
[*] Emulating binary name: sshd in strace mode to identify missing areas (with jchroot)
[*] Emulator used: qemu-mipsel-static
[*] Chroot environment used: jchroot
[*] Using root directory: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr (2/2)
[*] Using CPU config: 24KEc
1 brk(NULL) = 0x400feb20
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d6d0) = 0
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_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/tls/libcrypto.so.1.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d464,512) = 512
1 prctl(46,1072813496,1072813156,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d320) = 0
1 mmap2(NULL,2304304,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f594000
1 mprotect(0x3f79a000,61440,PROT_NONE) = 0
1 mmap2(0x3f7a9000,106496,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x205) = 0x3f7a9000
1 mmap2(0x3f7c3000,14640,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f7c3000
1 mprotect(0x3ff1d000,4096,PROT_EXEC|PROT_READ|PROT_WRITE|PROT_GROWSDOWN) = 0
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libutil.so.1",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/libutil.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d454,512) = 512
1 prctl(46,1072813448,1072813140,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d220,SEEK_SET) = 0
1 read(3,0x3ff1d250,32) = 32
1 fstat64(3,0x3ff1d310) = 0
1 mmap2(NULL,73936,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f581000
1 mprotect(0x3f583000,61440,PROT_NONE) = 0
1 mmap2(0x3f592000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f592000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libz.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d444,512) = 512
1 prctl(46,1072813432,1072813124,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d300) = 0
1 mmap2(NULL,155984,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f55a000
1 mprotect(0x3f56f000,65536,PROT_NONE) = 0
1 mmap2(0x3f57f000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x15) = 0x3f57f000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libcrypt.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d434,512) = 512
1 prctl(46,1072813416,1072813108,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d200,SEEK_SET) = 0
1 read(3,0x3ff1d230,32) = 32
1 fstat64(3,0x3ff1d2f0) = 0
1 mmap2(NULL,262716,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f519000
1 mprotect(0x3f522000,61440,PROT_NONE) = 0
1 mmap2(0x3f531000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x8) = 0x3f531000
1 mmap2(0x3f533000,156220,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f533000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d424,512) = 512
1 prctl(46,1072813528,1072813092,512,1065377792,0) = 0
1 _llseek(3,0,760,0x3ff1d1f8,SEEK_SET) = 0
1 read(3,0x3ff1d228,32) = 32
1 fstat64(3,0x3ff1d2e0) = 0
1 mmap2(NULL,1593152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f394000
1 mprotect(0x3f501000,61440,PROT_NONE) = 0
1 mmap2(0x3f510000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f510000
1 mmap2(0x3f517000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f517000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libdl.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d354,512) = 512
1 prctl(46,1072813192,1072812884,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d128,SEEK_SET) = 0
1 read(3,0x3ff1d158,32) = 32
1 fstat64(3,0x3ff1d210) = 0
1 mmap2(NULL,73968,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f381000
1 mprotect(0x3f383000,61440,PROT_NONE) = 0
1 mmap2(0x3f392000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f392000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d344,512) = 512
1 prctl(46,1072813272,1072812868,512,1065377792,0) = 0
1 _llseek(3,0,768,0x3ff1d110,SEEK_SET) = 0
1 read(3,0x3ff1d140,32) = 32
1 fstat64(3,0x3ff1d200) = 0
1 mmap2(NULL,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f354000
1 mprotect(0x3f36e000,61440,PROT_NONE) = 0
1 mmap2(0x3f37d000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f37d000
1 mmap2(0x3f37f000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f37f000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f352000
1 set_thread_area(0x3f359fa0) = 0
1 mprotect(0x3f510000,16384,PROT_READ) = 0
1 mprotect(0x3f37d000,4096,PROT_READ) = 0
1 mprotect(0x3f392000,4096,PROT_READ) = 0
1 mprotect(0x3f531000,4096,PROT_READ) = 0
1 mprotect(0x3f57f000,4096,PROT_READ) = 0
1 mprotect(0x3f592000,4096,PROT_READ) = 0
1 mprotect(0x3f7a9000,90112,PROT_READ) = 0
1 mprotect(0x400f8000,8192,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 set_tid_address(0x3f352b78) = 1
1 set_robust_list(0x3f352b80,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x3ff1dd20,NULL) = 0
1 rt_sigaction(33,0x3ff1dd20,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x3ff1dd68,NULL,16) = 0
1 getrlimit(3,0x3ff1ddf0) = 0
1 brk(NULL) = 0x400feb20
1 brk(0x4011fb20) = 0x4011fb20
1 brk(0x40120000) = 0x40120000
1 brk(0x40141000) = 0x40141000
1 brk(0x40162000) = 0x40162000
1 brk(0x40183000) = 0x40183000
1 brk(0x401ac000) = 0x401ac000
1 brk(0x401cd000) = 0x401cd000
1 brk(0x401ef000) = 0x401ef000
1 geteuid() = 0
1 setgroups(0,(nil)) = 0
1 openat(AT_FDCWD,"/dev/null",O_RDWR|O_LARGEFILE) = 3
1 close(3) = 0
1 futex(0x3f7c535c,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f386020,1060659232) = 0
1 futex(0x3f7c5350,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f386020,1060659232) = 0
1 futex(0x3f7c5348,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f386020,1060659232) = 0
1 futex(0x3f7c53e8,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f386020,1060659232) = 0
1 futex(0x3f7c5338,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f386020,1060659232) = 0
1 futex(0x3f7c5330,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f386020,1060659232) = 0
1 futex(0x3f7c5450,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f386020,1060659232) = 0
1 getpid() = 1
1 getrandom(0x401e4af0,32,0) = 32
1 getpid() = 1
1 clock_gettime(CLOCK_REALTIME,0x3ff1d518) = 0 ({tv_sec = 1689943326,tv_nsec = 121829114})
1 time(0,0,1075726336,1064652032,0,0) = 1689943326
1 futex(0x3f7c5428,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f386020,1060659232) = 0
1 getpid() = 1
1 getpid() = 1
1 getpid() = 1
1 time(0,0,48,0,0,0) = 1689943326
1 time(0,0,1075728032,1064652032,0,0) = 1689943326
1 getpid() = 1
1 clock_gettime(CLOCK_BOOTTIME,0x3ff1d450) = 0 ({tv_sec = 146653,tv_nsec = 443838422})
1 getpid() = 1
1 time(0,0,40,0,0,0) = 1689943326
1 write(2,0x3ff1c994,55)sshd re-exec requires execution with an absolute path
= 55
1 exit_group(255)
[*] 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/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/etc/ld.so.cache
[*] Found missing area: /lib/tls/libutil.so.1
[*] Trying to identify this missing file: libutil.so.1
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libutil.so.1
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libutil.so.1 to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/tls/
-----------------------------------------------------------------