-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/bin/netservicesd to identify missing areas
[*] Emulating binary name: netservicesd 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/netservicesd to identify missing areas
[*] Emulating binary name: netservicesd 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) = 0x40012110
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/libaxlog.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d414,512) = 512
1 prctl(46,1072813352,1072813076,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2d0) = 0
1 mmap2(NULL,73920,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f7b4000
1 mprotect(0x3f7b6000,61440,PROT_NONE) = 0
1 mmap2(0x3f7c5000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f7c5000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libglib-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d404,512) = 512
1 prctl(46,1072813368,1072813060,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2c0) = 0
1 mmap2(NULL,1257552,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f680000
1 mprotect(0x3f7a1000,61440,PROT_NONE) = 0
1 mmap2(0x3f7b0000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x120) = 0x3f7b0000
1 mmap2(0x3f7b3000,80,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f7b3000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libsystemd.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,814232,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5b9000
1 mprotect(0x3f66c000,61440,PROT_NONE) = 0
1 mmap2(0x3f67b000,20480,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xb2) = 0x3f67b000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libdl.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3e4,512) = 512
1 prctl(46,1072813336,1072813028,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d1b8,SEEK_SET) = 0
1 read(3,0x3ff1d1e8,32) = 32
1 fstat64(3,0x3ff1d2a0) = 0
1 mmap2(NULL,73968,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5a6000
1 mprotect(0x3f5a8000,61440,PROT_NONE) = 0
1 mmap2(0x3f5b7000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f5b7000
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) = 0x3f421000
1 mprotect(0x3f58e000,61440,PROT_NONE) = 0
1 mmap2(0x3f59d000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f59d000
1 mmap2(0x3f5a4000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f5a4000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpcre.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d314,512) = 512
1 prctl(46,1072813096,1072812820,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1d0) = 0
1 mmap2(NULL,545216,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f39b000
1 mprotect(0x3f410000,61440,PROT_NONE) = 0
1 mmap2(0x3f41f000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x74) = 0x3f41f000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d304,512) = 512
1 prctl(46,1072813208,1072812804,512,1065377792,0) = 0
1 _llseek(3,0,768,0x3ff1d0d0,SEEK_SET) = 0
1 read(3,0x3ff1d100,32) = 32
1 fstat64(3,0x3ff1d1c0) = 0
1 mmap2(NULL,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f36e000
1 mprotect(0x3f388000,61440,PROT_NONE) = 0
1 mmap2(0x3f397000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f397000
1 mmap2(0x3f399000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f399000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/src/basic/tls/librt.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d244,512) = 512
1 prctl(46,1072812952,1072812612,512,1065377792,0) = 0
1 _llseek(3,0,704,0x3ff1d008,SEEK_SET) = 0
1 read(3,0x3ff1d038,32) = 32
1 fstat64(3,0x3ff1d100) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f36c000
1 mmap2(NULL,94928,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f354000
1 mprotect(0x3f35b000,61440,PROT_NONE) = 0
1 mmap2(0x3f36a000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f36a000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/src/basic/tls/libcap.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d234,512) = 512
1 prctl(46,1072812872,1072812596,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d0f0) = 0
1 mmap2(NULL,86384,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f33e000
1 mprotect(0x3f342000,65536,PROT_NONE) = 0
1 mmap2(0x3f352000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x4) = 0x3f352000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f33c000
1 set_thread_area(0x3f3434a0) = 0
1 mprotect(0x3f59d000,16384,PROT_READ) = 0
1 mprotect(0x3f352000,4096,PROT_READ) = 0
1 mprotect(0x3f397000,4096,PROT_READ) = 0
1 mprotect(0x3f36a000,4096,PROT_READ) = 0
1 mprotect(0x3f41f000,4096,PROT_READ) = 0
1 mprotect(0x3f5b7000,4096,PROT_READ) = 0
1 mprotect(0x3f67b000,12288,PROT_READ) = 0
1 mprotect(0x3f7b0000,4096,PROT_READ) = 0
1 mprotect(0x3f7c5000,4096,PROT_READ) = 0
1 mprotect(0x40011000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 set_tid_address(0x3f33c078) = 1
1 set_robust_list(0x3f33c080,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) = 0x40012110
1 brk(0x40033110) = 0x40033110
1 brk(0x40034000) = 0x40034000
1 gettimeofday(0x3ff1dcd8,NULL) = 0 ({tv_sec = 1689943029,tv_usec = 336709},NULL)
1 syscall(4238,1065037516,129,2147483647,0,1065035832)1 futex(0x3f7b2ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f7b2838,1065035832) = 0
= 0
1 eventfd2(0,524416) = 3
1 write(3,0x3ff1dcb0,8) = 8
1 rt_sigprocmask(SIG_SETMASK,0x3ff1daf8,0x3ff1db78,16) = 0
1 eventfd2(0,524416) = 4
1 write(4,0x3ff1da98,8) = 8
1 mmap2(NULL,8392704,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK,-1,0) = 0x3eb3b000
1 mprotect(0x3eb3c000,8388608,PROT_EXEC|PROT_READ|PROT_WRITE) = 0
1 clone(CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,child_stack=0x3f33af90,parent_tidptr=0x3f33b498,tls=0x3f3428c0,child_tidptr=0x3f33b498) = 3
1 rt_sigprocmask(SIG_SETMASK,0x3ff1db78,NULL,16) = 0
1 syscall(4238,1065037516,129,2147483647,0,1065025536)1 futex(0x3f7b2ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f7b0000,1065025536) = 0
= 0
1 rt_sigaction(SIGTERM,0x3ff1dbe0,NULL) = 0
1 rt_sigaction(SIGINT,0x3ff1dbe0,NULL) = 0
1 openat(AT_FDCWD,"/usr/lib/netservices",O_RDONLY|O_DIRECTORY|O_LARGEFILE|O_NONBLOCK|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"lib/charset.alias",O_RDONLY|O_LARGEFILE) = -1 errno=2 (No such file or directory)
1 syscall(4238,1065037516,129,2147483647,0,0)1 futex(0x3f7b2ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
= 0
1 syscall(4238,1065037516,129,2147483647,0,4)1 futex(0x3f7b2ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x00000004,4) = 0
= 0
1 set_robust_list(0x3f33b4a0,12) = -1 errno=89 (Function not implemented)
1 mmap2(NULL,2097152,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE,-1,0) = 0x3e93b000
1 munmap(0x3e93b000,806912) = 0
1 munmap(0x3eb00000,241664) = 0
1 mprotect(0x3ea00000,135168,PROT_READ|PROT_WRITE) = 0
1 prctl(15,1073833440,1073833448,-2139062144,1060765728,0) = 0
1 poll(0x3ea00480,1,-1) = 1
1 read(4,0x3f33ada0,16) = 8
1 poll(0x3ea00480,1,-1)1 openat(AT_FDCWD,"/lib/gconv/gconv-modules.cache",O_RDONLY) = 5
1 fstat64(5,0x3ff1d4b8) = 0
1 mmap2(NULL,26358,PROT_READ,MAP_SHARED,5,0) = 0x3e93b000
1 close(5) = 0
1 futex(0x3f5a3460,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f3a0020,1060765728) = 0
1 rt_sigaction(SIGHUP,0x3ff1dbe0,NULL) = 0
1 poll(0x400165e0,1,-1) = 1
1 read(3,0x3ff1dc58,16) = 8
1 poll(0x400165e0,1,-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
[*] Found missing area: /usr/lib/netservices
[*] Trying to identify this missing file: netservices
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/netservices
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/netservices to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/usr/lib/
[*] Found missing area: lib/charset.alias
[*] Trying to identify this missing file: charset.alias
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usrlib/charset.alias
-----------------------------------------------------------------