-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/bin/bsdcat to identify missing areas
[*] Emulating binary name: bsdcat 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/bsdcat to identify missing areas
[*] Emulating binary name: bsdcat 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) = 0x40012130
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d6c0) = 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/libarchive.so.13",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d454,512) = 512
1 prctl(46,1072813448,1072813140,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d310) = 0
1 mmap2(NULL,811184,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f700000
1 mprotect(0x3f7b4000,61440,PROT_NONE) = 0
1 mmap2(0x3f7c3000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xb3) = 0x3f7c3000
1 mmap2(0x3f7c6000,176,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f7c6000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d444,512) = 512
1 prctl(46,1072813560,1072813124,512,1065377792,0) = 0
1 _llseek(3,0,760,0x3ff1d218,SEEK_SET) = 0
1 read(3,0x3ff1d248,32) = 32
1 fstat64(3,0x3ff1d300) = 0
1 mmap2(NULL,1593152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f57b000
1 mprotect(0x3f6e8000,61440,PROT_NONE) = 0
1 mmap2(0x3f6f7000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f6f7000
1 mmap2(0x3f6fe000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f6fe000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/liblzo2.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d374,512) = 512
1 prctl(46,1072813192,1072812916,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d230) = 0
1 mmap2(NULL,184560,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f54d000
1 mprotect(0x3f56a000,61440,PROT_NONE) = 0
1 mmap2(0x3f579000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1c) = 0x3f579000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/liblzma.so.5",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d364,512) = 512
1 prctl(46,1072813176,1072812900,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d220) = 0
1 mmap2(NULL,217776,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f517000
1 mprotect(0x3f53c000,61440,PROT_NONE) = 0
1 mmap2(0x3f54b000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x24) = 0x3f54b000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libbz2.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d354,512) = 512
1 prctl(46,1072813160,1072812884,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d210) = 0
1 mmap2(NULL,138528,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4f5000
1 mprotect(0x3f506000,61440,PROT_NONE) = 0
1 mmap2(0x3f515000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x10) = 0x3f515000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libz.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d344,512) = 512
1 prctl(46,1072813176,1072812868,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d200) = 0
1 mmap2(NULL,155984,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4ce000
1 mprotect(0x3f4e3000,65536,PROT_NONE) = 0
1 mmap2(0x3f4f3000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x15) = 0x3f4f3000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libxml2.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d334,512) = 512
1 prctl(46,1072813160,1072812852,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1f0) = 0
1 mmap2(NULL,1619780,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f342000
1 mprotect(0x3f4b7000,65536,PROT_NONE) = 0
1 mmap2(0x3f4c7000,24576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x175) = 0x3f4c7000
1 mmap2(0x3f4cd000,1860,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f4cd000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d324,512) = 512
1 prctl(46,1072813240,1072812836,512,1065377792,0) = 0
1 _llseek(3,0,768,0x3ff1d0f0,SEEK_SET) = 0
1 read(3,0x3ff1d120,32) = 32
1 fstat64(3,0x3ff1d1e0) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f340000
1 mmap2(NULL,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f313000
1 mprotect(0x3f32d000,61440,PROT_NONE) = 0
1 mmap2(0x3f33c000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f33c000
1 mmap2(0x3f33e000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f33e000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libdl.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d314,512) = 512
1 prctl(46,1072813128,1072812820,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d0e8,SEEK_SET) = 0
1 read(3,0x3ff1d118,32) = 32
1 fstat64(3,0x3ff1d1d0) = 0
1 mmap2(NULL,73968,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f300000
1 mprotect(0x3f302000,61440,PROT_NONE) = 0
1 mmap2(0x3f311000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f311000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libm.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d304,512) = 512
1 prctl(46,1072813112,1072812804,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d0d8,SEEK_SET) = 0
1 read(3,0x3ff1d108,32) = 32
1 fstat64(3,0x3ff1d1c0) = 0
1 mmap2(NULL,1078320,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1f8000
1 mprotect(0x3f2ef000,61440,PROT_NONE) = 0
1 mmap2(0x3f2fe000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xf6) = 0x3f2fe000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f1f6000
1 set_thread_area(0x3f1fd4a0) = 0
1 mprotect(0x3f6f7000,16384,PROT_READ) = 0
1 mprotect(0x3f2fe000,4096,PROT_READ) = 0
1 mprotect(0x3f311000,4096,PROT_READ) = 0
1 mprotect(0x3f33c000,4096,PROT_READ) = 0
1 mprotect(0x3f4f3000,4096,PROT_READ) = 0
1 mprotect(0x3f4c7000,16384,PROT_READ) = 0
1 mprotect(0x3f515000,4096,PROT_READ) = 0
1 mprotect(0x3f54b000,4096,PROT_READ) = 0
1 mprotect(0x3f579000,4096,PROT_READ) = 0
1 mprotect(0x3f7c3000,8192,PROT_READ) = 0
1 mprotect(0x40011000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 set_tid_address(0x3f1f6078) = 1
1 set_robust_list(0x3f1f6080,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x3ff1dd10,NULL) = 0
1 rt_sigaction(33,0x3ff1dd10,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x3ff1dd58,NULL,16) = 0
1 getrlimit(3,0x3ff1dde0) = 0
1 brk(NULL) = 0x40012130
1 brk(0x40033130) = 0x40033130
1 brk(0x40034000) = 0x40034000
1 fstat64(0,0x3ff1dc38) = 0
1 read(0,0x40012998,10240) = 0
1 brk(0x40033000) = 0x40033000
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
-----------------------------------------------------------------