-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/sbin/stclient.cgi to identify missing areas
[*] Emulating binary name: stclient.cgi 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/stclient.cgi to identify missing areas
[*] Emulating binary name: stclient.cgi 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) = 0x400161e0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d680) = 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/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) = 0x3f5e0000
1 mprotect(0x3f7b0000,61440,PROT_NONE) = 0
1 mmap2(0x3f7bf000,24576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1cf) = 0x3f7bf000
1 mmap2(0x3f7c5000,4224,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f7c5000
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) = 0x3f573000
1 mprotect(0x3f5ce000,65536,PROT_NONE) = 0
1 mmap2(0x3f5de000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x5b) = 0x3f5de000
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) = 0x3f43f000
1 mprotect(0x3f560000,61440,PROT_NONE) = 0
1 mmap2(0x3f56f000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x120) = 0x3f56f000
1 mmap2(0x3f572000,80,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f572000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libcgiparser.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3e4,512) = 512
1 prctl(46,1072813304,1072813028,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2a0) = 0
1 mmap2(NULL,78048,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f42b000
1 mprotect(0x3f42e000,61440,PROT_NONE) = 0
1 mmap2(0x3f43d000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f43d000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libcertmsgC.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3d4,512) = 512
1 prctl(46,1072813288,1072813012,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d290) = 0
1 mmap2(NULL,82288,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f416000
1 mprotect(0x3f41a000,61440,PROT_NONE) = 0
1 mmap2(0x3f429000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x3) = 0x3f429000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libcertset.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3c4,512) = 512
1 prctl(46,1072813272,1072812996,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d280) = 0
1 mmap2(NULL,90576,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f3ff000
1 mprotect(0x3f405000,61440,PROT_NONE) = 0
1 mmap2(0x3f414000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x5) = 0x3f414000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libcertutil.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3b4,512) = 512
1 prctl(46,1072813256,1072812980,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d270) = 0
1 mmap2(NULL,94608,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f3e7000
1 mprotect(0x3f3ee000,61440,PROT_NONE) = 0
1 mmap2(0x3f3fd000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f3fd000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libcert.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3a4,512) = 512
1 prctl(46,1072813272,1072812964,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d260) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f3e5000
1 mmap2(NULL,127904,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f3c5000
1 mprotect(0x3f3d4000,61440,PROT_NONE) = 0
1 mmap2(0x3f3e3000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xe) = 0x3f3e3000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpolicykit_system.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d394,512) = 512
1 prctl(46,1072813224,1072812948,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d250) = 0
1 mmap2(NULL,82064,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f3b0000
1 mprotect(0x3f3b4000,61440,PROT_NONE) = 0
1 mmap2(0x3f3c3000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x3) = 0x3f3c3000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d384,512) = 512
1 prctl(46,1072813368,1072812932,512,1065377792,0) = 0
1 _llseek(3,0,760,0x3ff1d158,SEEK_SET) = 0
1 read(3,0x3ff1d188,32) = 32
1 fstat64(3,0x3ff1d240) = 0
1 mmap2(NULL,1593152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f22b000
1 mprotect(0x3f398000,61440,PROT_NONE) = 0
1 mmap2(0x3f3a7000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f3a7000
1 mmap2(0x3f3ae000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f3ae000
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,0x3ff1d2b4,512) = 512
1 prctl(46,1072813000,1072812724,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d170) = 0
1 mmap2(NULL,78096,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f217000
1 mprotect(0x3f21a000,61440,PROT_NONE) = 0
1 mmap2(0x3f229000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f229000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libz.so.1",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,155984,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1f0000
1 mprotect(0x3f205000,65536,PROT_NONE) = 0
1 mmap2(0x3f215000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x15) = 0x3f215000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libresolv.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d294,512) = 512
1 prctl(46,1072813000,1072812692,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d058,SEEK_SET) = 0
1 read(3,0x3ff1d088,32) = 32
1 fstat64(3,0x3ff1d150) = 0
1 mmap2(NULL,149696,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1cb000
1 mprotect(0x3f1dd000,61440,PROT_NONE) = 0
1 mmap2(0x3f1ec000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x11) = 0x3f1ec000
1 mmap2(0x3f1ee000,6336,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f1ee000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d284,512) = 512
1 prctl(46,1072813080,1072812676,512,1065377792,0) = 0
1 _llseek(3,0,768,0x3ff1d048,SEEK_SET) = 0
1 read(3,0x3ff1d078,32) = 32
1 fstat64(3,0x3ff1d140) = 0
1 mmap2(NULL,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f19e000
1 mprotect(0x3f1b8000,61440,PROT_NONE) = 0
1 mmap2(0x3f1c7000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f1c7000
1 mmap2(0x3f1c9000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f1c9000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libffi.so.7",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d274,512) = 512
1 prctl(46,1072812968,1072812660,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d130) = 0
1 mmap2(NULL,95072,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f186000
1 mprotect(0x3f18d000,61440,PROT_NONE) = 0
1 mmap2(0x3f19c000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f19c000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpcre.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d264,512) = 512
1 prctl(46,1072812920,1072812644,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d120) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f184000
1 mmap2(NULL,545216,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f0fe000
1 mprotect(0x3f173000,61440,PROT_NONE) = 0
1 mmap2(0x3f182000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x74) = 0x3f182000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libglib-utils.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d254,512) = 512
1 prctl(46,1072812904,1072812628,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d110) = 0
1 mmap2(NULL,106016,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f0e4000
1 mprotect(0x3f0e9000,61440,PROT_NONE) = 0
1 mmap2(0x3f0f8000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x4) = 0x3f0f8000
1 mmap2(0x3f0fa000,15904,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f0fa000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libconfutils.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d244,512) = 512
1 prctl(46,1072812888,1072812612,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d100) = 0
1 mmap2(NULL,82256,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f0cf000
1 mprotect(0x3f0d3000,61440,PROT_NONE) = 0
1 mmap2(0x3f0e2000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x3) = 0x3f0e2000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libcrypto.so.1.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d234,512) = 512
1 prctl(46,1072812936,1072812596,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d0f0) = 0
1 mmap2(NULL,2304304,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ee9c000
1 mprotect(0x3f0a2000,61440,PROT_NONE) = 0
1 mmap2(0x3f0b1000,106496,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x205) = 0x3f0b1000
1 mmap2(0x3f0cb000,14640,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f0cb000
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,0x3ff1d224,512) = 512
1 prctl(46,1072812888,1072812580,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1cfe0,SEEK_SET) = 0
1 read(3,0x3ff1d010,32) = 32
1 fstat64(3,0x3ff1d0e0) = 0
1 mmap2(NULL,73968,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ee89000
1 mprotect(0x3ee8b000,61440,PROT_NONE) = 0
1 mmap2(0x3ee9a000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3ee9a000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ee87000
1 set_thread_area(0x3ee8eea0) = 0
1 mprotect(0x3f3a7000,16384,PROT_READ) = 0
1 mprotect(0x3ee9a000,4096,PROT_READ) = 0
1 mprotect(0x3f1c7000,4096,PROT_READ) = 0
1 mprotect(0x3f0b1000,90112,PROT_READ) = 0
1 mprotect(0x3f182000,4096,PROT_READ) = 0
1 mprotect(0x3f56f000,4096,PROT_READ) = 0
1 mprotect(0x3f19c000,4096,PROT_READ) = 0
1 mprotect(0x3f5de000,4096,PROT_READ) = 0
1 mprotect(0x3f0e2000,4096,PROT_READ) = 0
1 mprotect(0x3f0f8000,4096,PROT_READ) = 0
1 mprotect(0x3f1ec000,4096,PROT_READ) = 0
1 mprotect(0x3f215000,4096,PROT_READ) = 0
1 mprotect(0x3f229000,4096,PROT_READ) = 0
1 mprotect(0x3f7bf000,12288,PROT_READ) = 0
1 mprotect(0x3f3c3000,4096,PROT_READ) = 0
1 mprotect(0x3f3fd000,4096,PROT_READ) = 0
1 mprotect(0x3f3e3000,4096,PROT_READ) = 0
1 mprotect(0x3f429000,4096,PROT_READ) = 0
1 mprotect(0x3f414000,4096,PROT_READ) = 0
1 mprotect(0x3f43d000,4096,PROT_READ) = 0
1 mprotect(0x40015000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 set_tid_address(0x3ee87a78) = 1
1 set_robust_list(0x3ee87a80,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x3ff1dcd0,NULL) = 0
1 rt_sigaction(33,0x3ff1dcd0,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x3ff1dd18,NULL,16) = 0
1 getrlimit(3,0x3ff1dda0) = 0
1 brk(NULL) = 0x400161e0
1 brk(0x400371e0) = 0x400371e0
1 brk(0x40038000) = 0x40038000
1 gettimeofday(0x3ff1dcd8,NULL) = 0 ({tv_sec = 1689943350,tv_usec = 892743},NULL)
1 syscall(4238,1062674124,129,2147483647,0,0)1 futex(0x3f571ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
= 0
1 syscall(4238,1062674124,129,2147483647,0,1063123456)1 futex(0x3f571ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f5dfa00,1063123456) = 0
= 0
1 umask(06) = 18
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
-----------------------------------------------------------------