-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/bin/send_legacy_trigger to identify missing areas
[*] Emulating binary name: send_legacy_trigger 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/send_legacy_trigger to identify missing areas
[*] Emulating binary name: send_legacy_trigger 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) = 0x400120f0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d630) = 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/libevent2.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,243472,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f78b000
1 mprotect(0x3f7b6000,61440,PROT_NONE) = 0
1 mmap2(0x3f7c5000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2a) = 0x3f7c5000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libglib-utils.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,106016,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f771000
1 mprotect(0x3f776000,61440,PROT_NONE) = 0
1 mmap2(0x3f785000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x4) = 0x3f785000
1 mmap2(0x3f787000,15904,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f787000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libglib-2.0.so.0",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,1257552,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f63d000
1 mprotect(0x3f75e000,61440,PROT_NONE) = 0
1 mmap2(0x3f76d000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x120) = 0x3f76d000
1 mmap2(0x3f770000,80,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f770000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d394,512) = 512
1 prctl(46,1072813352,1072812948,512,1065377792,0) = 0
1 _llseek(3,0,768,0x3ff1d160,SEEK_SET) = 0
1 read(3,0x3ff1d190,32) = 32
1 fstat64(3,0x3ff1d250) = 0
1 mmap2(NULL,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f610000
1 mprotect(0x3f62a000,61440,PROT_NONE) = 0
1 mmap2(0x3f639000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f639000
1 mmap2(0x3f63b000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f63b000
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) = 0x3f48b000
1 mprotect(0x3f5f8000,61440,PROT_NONE) = 0
1 mmap2(0x3f607000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f607000
1 mmap2(0x3f60e000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f60e000
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,446160,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f41e000
1 mprotect(0x3f479000,65536,PROT_NONE) = 0
1 mmap2(0x3f489000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x5b) = 0x3f489000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libxmlnode.so",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,82192,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f409000
1 mprotect(0x3f40d000,61440,PROT_NONE) = 0
1 mmap2(0x3f41c000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x3) = 0x3f41c000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libsystemd.so.0",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,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f407000
1 mmap2(NULL,814232,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f340000
1 mprotect(0x3f3f3000,61440,PROT_NONE) = 0
1 mmap2(0x3f402000,20480,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xb2) = 0x3f402000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpcre.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d284,512) = 512
1 prctl(46,1072812952,1072812676,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d140) = 0
1 mmap2(NULL,545216,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f2ba000
1 mprotect(0x3f32f000,61440,PROT_NONE) = 0
1 mmap2(0x3f33e000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x74) = 0x3f33e000
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) = 0x3f2a2000
1 mprotect(0x3f2a9000,61440,PROT_NONE) = 0
1 mmap2(0x3f2b8000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f2b8000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libconfutils.so",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,82256,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f28d000
1 mprotect(0x3f291000,61440,PROT_NONE) = 0
1 mmap2(0x3f2a0000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x3) = 0x3f2a0000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libexpat.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d254,512) = 512
1 prctl(46,1072812936,1072812628,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d110) = 0
1 mmap2(NULL,307440,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f241000
1 mprotect(0x3f27b000,61440,PROT_NONE) = 0
1 mmap2(0x3f28a000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x39) = 0x3f28a000
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,94928,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f229000
1 mprotect(0x3f230000,61440,PROT_NONE) = 0
1 mmap2(0x3f23f000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f23f000
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) = 0x3f213000
1 mprotect(0x3f217000,65536,PROT_NONE) = 0
1 mmap2(0x3f227000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x4) = 0x3f227000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f211000
1 set_thread_area(0x3f219290) = 0
1 mprotect(0x3f607000,16384,PROT_READ) = 0
1 mprotect(0x3f227000,4096,PROT_READ) = 0
1 mprotect(0x3f639000,4096,PROT_READ) = 0
1 mprotect(0x3f23f000,4096,PROT_READ) = 0
1 mprotect(0x3f28a000,8192,PROT_READ) = 0
1 mprotect(0x3f33e000,4096,PROT_READ) = 0
1 mprotect(0x3f76d000,4096,PROT_READ) = 0
1 mprotect(0x3f2b8000,4096,PROT_READ) = 0
1 mprotect(0x3f489000,4096,PROT_READ) = 0
1 mprotect(0x3f2a0000,4096,PROT_READ) = 0
1 mprotect(0x3f402000,12288,PROT_READ) = 0
1 mprotect(0x3f41c000,4096,PROT_READ) = 0
1 mprotect(0x3f785000,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(0x3f211e68) = 1
1 set_robust_list(0x3f211e70,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x3ff1dc80,NULL) = 0
1 rt_sigaction(33,0x3ff1dc80,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x3ff1dcc8,NULL,16) = 0
1 getrlimit(3,0x3ff1dd50) = 0
1 brk(NULL) = 0x400120f0
1 brk(0x400330f0) = 0x400330f0
1 brk(0x40034000) = 0x40034000
1 gettimeofday(0x3ff1dc88,NULL) = 0 ({tv_sec = 1689942980,tv_usec = 189925},NULL)
1 syscall(4238,1064763084,129,2147483647,0,0)1 futex(0x3f76fecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
= 0
1 syscall(4238,1064763084,129,2147483647,0,1061726720)1 futex(0x3f76fecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f48aa00,1061726720) = 0
= 0
1 openat(AT_FDCWD,"lib/charset.alias",O_RDONLY|O_LARGEFILE) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/gconv/gconv-modules.cache",O_RDONLY) = 3
1 fstat64(3,0x3ff1d898) = 0
1 mmap2(NULL,26358,PROT_READ,MAP_SHARED,3,0) = 0x3f20a000
1 close(3) = 0
1 futex(0x3f60d460,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f642020,1063526432) = 0
1 fstat64(1,0x3ff1db88) = 0
1 write(1,0x40018600,43)Usage: send_legacy_trigger <legacytrigger>
= 43
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
[*] 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
-----------------------------------------------------------------