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

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

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

[*] Emulating binary name: preserve_lua_app 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) = 0x400120e0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d650) = 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/libxmlnode.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,82192,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f7b2000
1 mprotect(0x3f7b6000,61440,PROT_NONE) = 0
1 mmap2(0x3f7c5000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x3) = 0x3f7c5000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libglib-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3d4,512) = 512
1 prctl(46,1072813320,1072813012,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d290) = 0
1 mmap2(NULL,1257552,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f67e000
1 mprotect(0x3f79f000,61440,PROT_NONE) = 0
1 mmap2(0x3f7ae000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x120) = 0x3f7ae000
1 mmap2(0x3f7b1000,80,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f7b1000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3c4,512) = 512
1 prctl(46,1072813432,1072812996,512,1065377792,0) = 0
1 _llseek(3,0,760,0x3ff1d198,SEEK_SET) = 0
1 read(3,0x3ff1d1c8,32) = 32
1 fstat64(3,0x3ff1d280) = 0
1 mmap2(NULL,1593152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4f9000
1 mprotect(0x3f666000,61440,PROT_NONE) = 0
1 mmap2(0x3f675000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f675000
1 mmap2(0x3f67c000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f67c000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libconfutils.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,82256,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4e4000
1 mprotect(0x3f4e8000,61440,PROT_NONE) = 0
1 mmap2(0x3f4f7000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x3) = 0x3f4f7000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libexpat.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2f4,512) = 512
1 prctl(46,1072813096,1072812788,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1b0) = 0
1 mmap2(NULL,307440,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f498000
1 mprotect(0x3f4d2000,61440,PROT_NONE) = 0
1 mmap2(0x3f4e1000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x39) = 0x3f4e1000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpcre.so.1",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,545216,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f412000
1 mprotect(0x3f487000,61440,PROT_NONE) = 0
1 mmap2(0x3f496000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x74) = 0x3f496000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2d4,512) = 512
1 prctl(46,1072813160,1072812756,512,1065377792,0) = 0
1 _llseek(3,0,768,0x3ff1d0a0,SEEK_SET) = 0
1 read(3,0x3ff1d0d0,32) = 32
1 fstat64(3,0x3ff1d190) = 0
1 mmap2(NULL,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f3e5000
1 mprotect(0x3f3ff000,61440,PROT_NONE) = 0
1 mmap2(0x3f40e000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f40e000
1 mmap2(0x3f410000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f410000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgobject-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2c4,512) = 512
1 prctl(46,1072813016,1072812740,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d180) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f3e3000
1 mmap2(NULL,446160,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f376000
1 mprotect(0x3f3d1000,65536,PROT_NONE) = 0
1 mmap2(0x3f3e1000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x5b) = 0x3f3e1000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libffi.so.7",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2b4,512) = 512
1 prctl(46,1072813032,1072812724,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d170) = 0
1 mmap2(NULL,95072,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f35e000
1 mprotect(0x3f365000,61440,PROT_NONE) = 0
1 mmap2(0x3f374000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f374000
1 close(3) = 0
1 set_thread_area(0x3f3eb7f0) = 0
1 mprotect(0x3f675000,16384,PROT_READ) = 0
1 mprotect(0x3f374000,4096,PROT_READ) = 0
1 mprotect(0x3f40e000,4096,PROT_READ) = 0
1 mprotect(0x3f496000,4096,PROT_READ) = 0
1 mprotect(0x3f7ae000,4096,PROT_READ) = 0
1 mprotect(0x3f3e1000,4096,PROT_READ) = 0
1 mprotect(0x3f4e1000,8192,PROT_READ) = 0
1 mprotect(0x3f4f7000,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(0x3f3e43c8) = 1
1 set_robust_list(0x3f3e43d0,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x3ff1dca0,NULL) = 0
1 rt_sigaction(33,0x3ff1dca0,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x3ff1dce8,NULL,16) = 0
1 getrlimit(3,0x3ff1dd70) = 0
1 brk(NULL) = 0x400120e0
1 brk(0x400330e0) = 0x400330e0
1 brk(0x40034000) = 0x40034000
1 gettimeofday(0x3ff1dca8,NULL) = 0 ({tv_sec = 1689943000,tv_usec = 69657},NULL)
1 syscall(4238,1065029324,129,2147483647,0,0)1 futex(0x3f7b0ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
 = 0
1 syscall(4238,1065029324,129,2147483647,0,1061038592)1 futex(0x3f7b0ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f3e2a00,1061038592) = 0
 = 0
1 time(0,1072815172,1,0,0,0) = 1689943000
1 openat(AT_FDCWD,"/etc/localtime",O_RDONLY|O_CLOEXEC) = 3
1 fstat64(3,0x3ff1da10) = 0
1 fstat64(3,0x3ff1d8b0) = 0
1 read(3,0x4001a938,4096) = 148
1 _llseek(3,4294967295,4294967290,0x3ff1d8c0,SEEK_CUR) = 0
1 read(3,0x4001a938,4096) = 6
1 close(3) = 0
1 socket(PF_UNIX,SOCK_DGRAM|SOCK_CLOEXEC,IPPROTO_IP) = 3
1 connect(3,0x3f67c4e0,110) = -1 errno=2 (No such file or directory)
1 close(3) = 0
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

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