-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/bin/openssl to identify missing areas
[*] Emulating binary name: openssl 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 ./bin/openssl to identify missing areas
[*] Emulating binary name: openssl 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) = 0x400af090
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d6b0) = 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/libssl.so.1.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,566080,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f73c000
1 mprotect(0x3f7af000,61440,PROT_NONE) = 0
1 mmap2(0x3f7be000,36864,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x72) = 0x3f7be000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libcrypto.so.1.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d434,512) = 512
1 prctl(46,1072813448,1072813108,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2f0) = 0
1 mmap2(NULL,2304304,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f509000
1 mprotect(0x3f70f000,61440,PROT_NONE) = 0
1 mmap2(0x3f71e000,106496,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x205) = 0x3f71e000
1 mmap2(0x3f738000,14640,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f738000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d424,512) = 512
1 prctl(46,1072813496,1072813092,512,1065377792,0) = 0
1 _llseek(3,0,768,0x3ff1d1f0,SEEK_SET) = 0
1 read(3,0x3ff1d220,32) = 32
1 fstat64(3,0x3ff1d2e0) = 0
1 mmap2(NULL,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4dc000
1 mprotect(0x3f4f6000,61440,PROT_NONE) = 0
1 mmap2(0x3f505000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f505000
1 mmap2(0x3f507000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f507000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d414,512) = 512
1 prctl(46,1072813512,1072813076,512,1065377792,0) = 0
1 _llseek(3,0,760,0x3ff1d1e8,SEEK_SET) = 0
1 read(3,0x3ff1d218,32) = 32
1 fstat64(3,0x3ff1d2d0) = 0
1 mmap2(NULL,1593152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f357000
1 mprotect(0x3f4c4000,61440,PROT_NONE) = 0
1 mmap2(0x3f4d3000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f4d3000
1 mmap2(0x3f4da000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f4da000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libdl.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d344,512) = 512
1 prctl(46,1072813176,1072812868,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d118,SEEK_SET) = 0
1 read(3,0x3ff1d148,32) = 32
1 fstat64(3,0x3ff1d200) = 0
1 mmap2(NULL,73968,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f344000
1 mprotect(0x3f346000,61440,PROT_NONE) = 0
1 mmap2(0x3f355000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f355000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f342000
1 set_thread_area(0x3f3496a0) = 0
1 mprotect(0x3f4d3000,16384,PROT_READ) = 0
1 mprotect(0x3f355000,4096,PROT_READ) = 0
1 mprotect(0x3f505000,4096,PROT_READ) = 0
1 mprotect(0x3f71e000,90112,PROT_READ) = 0
1 mprotect(0x3f7be000,20480,PROT_READ) = 0
1 mprotect(0x4009f000,28672,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 set_tid_address(0x3f342278) = 1
1 set_robust_list(0x3f342280,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x3ff1dd00,NULL) = 0
1 rt_sigaction(33,0x3ff1dd00,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x3ff1dd48,NULL,16) = 0
1 getrlimit(3,0x3ff1ddd0) = 0
1 brk(NULL) = 0x400af090
1 brk(0x400d0090) = 0x400d0090
1 brk(0x400d1000) = 0x400d1000
1 futex(0x3f73a35c,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f50e020,1062264864) = 0
1 futex(0x3f73a350,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f50e020,1062264864) = 0
1 futex(0x3f73a348,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f50e020,1062264864) = 0
1 futex(0x3f73a264,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f50e020,1062264864) = 0
1 rt_sigaction(SIGPIPE,0x3ff1d7f0,0x3ff1d7d0) = 0
1 futex(0x3f73a3e8,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f50e020,1062264864) = 0
1 futex(0x3f73a338,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f50e020,1062264864) = 0
1 futex(0x3f73a330,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f50e020,1062264864) = 0
1 futex(0x3f73a308,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f50e020,1062264864) = 0
1 futex(0x3f737bd4,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f50e020,1062264864) = 0
1 futex(0x3f73a1ec,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f50e020,1062264864) = 0
1 futex(0x3f73a1e0,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f50e020,1062264864) = 0
1 futex(0x3f73a340,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f50e020,1062264864) = 0
1 futex(0x3f73a300,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f50e020,1062264864) = 0
1 openat(AT_FDCWD,"/usr/lib/ssl-1.1/openssl.cnf",O_RDONLY|O_LARGEFILE) = -1 errno=2 (No such file or directory)
1 futex(0x3f73a328,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f50e020,1062264864) = 0
1 futex(0x3f7c62c0,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f50e020,1062264864) = 0
1 sysinfo(0x3ff1d708) = 0
1 futex(0x3f7c6334,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f50e020,1062264864) = 0
1 fstat64(1,0x3ff1d7f8) = 0
1 write(1,0x400bdbe0,9)OpenSSL> = 9
1 fstat64(0,0x3ff1d778) = 0
1 ioctl(0,TCGETS,0x3ff1d6d8) = -1 errno=25 (Inappropriate ioctl for device)
1 read(0,0x400bebe8,4096) = 0
1 exit_group(0)
[*] 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: /usr/lib/ssl-1.1/openssl.cnf
[*] Trying to identify this missing file: openssl.cnf
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/etc/ssl/openssl.cnf
[*] Creating directory /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/usr/lib/ssl-1.1
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/etc/ssl/openssl.cnf to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/usr/lib/ssl-1.1/
-----------------------------------------------------------------