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

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

[*] Emulating binary name: formatname 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/formatname to identify missing areas

[*] Emulating binary name: formatname 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) = 0x400110b0
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/libformatname.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,100224,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f7ae000
1 mprotect(0x3f7b6000,61440,PROT_NONE) = 0
1 mmap2(0x3f7c5000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x7) = 0x3f7c5000
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) = 0x3f629000
1 mprotect(0x3f796000,61440,PROT_NONE) = 0
1 mmap2(0x3f7a5000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f7a5000
1 mmap2(0x3f7ac000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f7ac000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libglib-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d354,512) = 512
1 prctl(46,1072813192,1072812884,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d210) = 0
1 mmap2(NULL,1257552,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4f5000
1 mprotect(0x3f616000,61440,PROT_NONE) = 0
1 mmap2(0x3f625000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x120) = 0x3f625000
1 mmap2(0x3f628000,80,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f628000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libstatuscache.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d344,512) = 512
1 prctl(46,1072813144,1072812868,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d200) = 0
1 mmap2(NULL,78032,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4e1000
1 mprotect(0x3f4e4000,61440,PROT_NONE) = 0
1 mmap2(0x3f4f3000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f4f3000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpcre.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d334,512) = 512
1 prctl(46,1072813128,1072812852,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1f0) = 0
1 mmap2(NULL,545216,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f45b000
1 mprotect(0x3f4d0000,61440,PROT_NONE) = 0
1 mmap2(0x3f4df000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x74) = 0x3f4df000
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,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f42e000
1 mprotect(0x3f448000,61440,PROT_NONE) = 0
1 mmap2(0x3f457000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f457000
1 mmap2(0x3f459000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f459000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f42c000
1 set_thread_area(0x3f4338f0) = 0
1 mprotect(0x3f7a5000,16384,PROT_READ) = 0
1 mprotect(0x3f457000,4096,PROT_READ) = 0
1 mprotect(0x3f4df000,4096,PROT_READ) = 0
1 mprotect(0x3f4f3000,4096,PROT_READ) = 0
1 mprotect(0x3f625000,4096,PROT_READ) = 0
1 mprotect(0x3f7c5000,4096,PROT_READ) = 0
1 mprotect(0x40010000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 set_tid_address(0x3f42c4c8) = 1
1 set_robust_list(0x3f42c4d0,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) = 0x400110b0
1 brk(0x400320b0) = 0x400320b0
1 brk(0x40033000) = 0x40033000
1 gettimeofday(0x3ff1dce8,NULL) = 0 ({tv_sec = 1689943194,tv_usec = 447219},NULL)
1 fstat64(1,0x3ff1d808) = 0
1 write(1,0x40014808,51)Wrong number of arguments
Usage: formatname string
 = 51
1 exit_group(1)

[*] 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

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