-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/bin/res_finder to identify missing areas
[*] Emulating binary name: res_finder 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/res_finder to identify missing areas
[*] Emulating binary name: res_finder 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) = 0x40014170
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d690) = 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/libresolution.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d424,512) = 512
1 prctl(46,1072813368,1072813092,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2e0) = 0
1 mmap2(NULL,106976,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f7ac000
1 mprotect(0x3f7b4000,65536,PROT_NONE) = 0
1 mmap2(0x3f7c4000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x8) = 0x3f7c4000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgio-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d414,512) = 512
1 prctl(46,1072813384,1072813076,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2d0) = 0
1 mmap2(NULL,1990784,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5c5000
1 mprotect(0x3f795000,61440,PROT_NONE) = 0
1 mmap2(0x3f7a4000,24576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1cf) = 0x3f7a4000
1 mmap2(0x3f7aa000,4224,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f7aa000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgobject-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d404,512) = 512
1 prctl(46,1072813336,1072813060,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2c0) = 0
1 mmap2(NULL,446160,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f558000
1 mprotect(0x3f5b3000,65536,PROT_NONE) = 0
1 mmap2(0x3f5c3000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x5b) = 0x3f5c3000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libglib-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3f4,512) = 512
1 prctl(46,1072813352,1072813044,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2b0) = 0
1 mmap2(NULL,1257552,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f424000
1 mprotect(0x3f545000,61440,PROT_NONE) = 0
1 mmap2(0x3f554000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x120) = 0x3f554000
1 mmap2(0x3f557000,80,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f557000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3e4,512) = 512
1 prctl(46,1072813432,1072813028,512,1065377792,0) = 0
1 _llseek(3,0,768,0x3ff1d1b0,SEEK_SET) = 0
1 read(3,0x3ff1d1e0,32) = 32
1 fstat64(3,0x3ff1d2a0) = 0
1 mmap2(NULL,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f3f7000
1 mprotect(0x3f411000,61440,PROT_NONE) = 0
1 mmap2(0x3f420000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f420000
1 mmap2(0x3f422000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f422000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3d4,512) = 512
1 prctl(46,1072813448,1072813012,512,1065377792,0) = 0
1 _llseek(3,0,760,0x3ff1d1a8,SEEK_SET) = 0
1 read(3,0x3ff1d1d8,32) = 32
1 fstat64(3,0x3ff1d290) = 0
1 mmap2(NULL,1593152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f272000
1 mprotect(0x3f3df000,61440,PROT_NONE) = 0
1 mmap2(0x3f3ee000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f3ee000
1 mmap2(0x3f3f5000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f3f5000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libstd2parser.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d304,512) = 512
1 prctl(46,1072813080,1072812804,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1c0) = 0
1 mmap2(NULL,94576,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f25a000
1 mprotect(0x3f261000,61440,PROT_NONE) = 0
1 mmap2(0x3f270000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f270000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libstatuscache.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2f4,512) = 512
1 prctl(46,1072813064,1072812788,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1b0) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f258000
1 mmap2(NULL,78032,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f244000
1 mprotect(0x3f247000,61440,PROT_NONE) = 0
1 mmap2(0x3f256000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f256000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libbootblock.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2e4,512) = 512
1 prctl(46,1072813048,1072812772,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1a0) = 0
1 mmap2(NULL,78064,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f230000
1 mprotect(0x3f233000,61440,PROT_NONE) = 0
1 mmap2(0x3f242000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f242000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libgmodule-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2d4,512) = 512
1 prctl(46,1072813032,1072812756,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d190) = 0
1 mmap2(NULL,78096,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f21c000
1 mprotect(0x3f21f000,61440,PROT_NONE) = 0
1 mmap2(0x3f22e000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f22e000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libz.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2c4,512) = 512
1 prctl(46,1072813048,1072812740,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d180) = 0
1 mmap2(NULL,155984,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1f5000
1 mprotect(0x3f20a000,65536,PROT_NONE) = 0
1 mmap2(0x3f21a000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x15) = 0x3f21a000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libresolv.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2b4,512) = 512
1 prctl(46,1072813032,1072812724,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d078,SEEK_SET) = 0
1 read(3,0x3ff1d0a8,32) = 32
1 fstat64(3,0x3ff1d170) = 0
1 mmap2(NULL,149696,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1d0000
1 mprotect(0x3f1e2000,61440,PROT_NONE) = 0
1 mmap2(0x3f1f1000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x11) = 0x3f1f1000
1 mmap2(0x3f1f3000,6336,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f1f3000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libffi.so.7",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2a4,512) = 512
1 prctl(46,1072813016,1072812708,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d160) = 0
1 mmap2(NULL,95072,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1b8000
1 mprotect(0x3f1bf000,61440,PROT_NONE) = 0
1 mmap2(0x3f1ce000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f1ce000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpcre.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d294,512) = 512
1 prctl(46,1072812968,1072812692,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d150) = 0
1 mmap2(NULL,545216,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f132000
1 mprotect(0x3f1a7000,61440,PROT_NONE) = 0
1 mmap2(0x3f1b6000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x74) = 0x3f1b6000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/../glib/tls/libdl.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d284,512) = 512
1 prctl(46,1072812984,1072812676,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d040,SEEK_SET) = 0
1 read(3,0x3ff1d070,32) = 32
1 fstat64(3,0x3ff1d140) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f130000
1 mmap2(NULL,73968,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f11d000
1 mprotect(0x3f11f000,61440,PROT_NONE) = 0
1 mmap2(0x3f12e000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f12e000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f11b000
1 set_thread_area(0x3f1388b0) = 0
1 mprotect(0x3f3ee000,16384,PROT_READ) = 0
1 mprotect(0x3f12e000,4096,PROT_READ) = 0
1 mprotect(0x3f420000,4096,PROT_READ) = 0
1 mprotect(0x3f1b6000,4096,PROT_READ) = 0
1 mprotect(0x3f1ce000,4096,PROT_READ) = 0
1 mprotect(0x3f1f1000,4096,PROT_READ) = 0
1 mprotect(0x3f21a000,4096,PROT_READ) = 0
1 mprotect(0x3f554000,4096,PROT_READ) = 0
1 mprotect(0x3f22e000,4096,PROT_READ) = 0
1 mprotect(0x3f242000,4096,PROT_READ) = 0
1 mprotect(0x3f256000,4096,PROT_READ) = 0
1 mprotect(0x3f270000,4096,PROT_READ) = 0
1 mprotect(0x3f5c3000,4096,PROT_READ) = 0
1 mprotect(0x3f7a4000,12288,PROT_READ) = 0
1 mprotect(0x3f7c4000,8192,PROT_READ) = 0
1 mprotect(0x40013000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 set_tid_address(0x3f131488) = 1
1 set_robust_list(0x3f131490,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x3ff1dce0,NULL) = 0
1 rt_sigaction(33,0x3ff1dce0,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x3ff1dd28,NULL,16) = 0
1 getrlimit(3,0x3ff1ddb0) = 0
1 brk(NULL) = 0x40014170
1 brk(0x40035170) = 0x40035170
1 brk(0x40036000) = 0x40036000
1 gettimeofday(0x3ff1dce8,NULL) = 0 ({tv_sec = 1689943039,tv_usec = 978962},NULL)
1 syscall(4238,1062563532,129,2147483647,0,0)1 futex(0x3f556ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
= 0
1 syscall(4238,1062563532,129,2147483647,0,1063012864)1 futex(0x3f556ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f5c4a00,1063012864) = 0
= 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
-----------------------------------------------------------------