-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/sbin/ptod to identify missing areas
[*] Emulating binary name: ptod 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/ptod to identify missing areas
[*] Emulating binary name: ptod 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) = 0x40017280
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d6d0) = 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/libglib-utils.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d464,512) = 512
1 prctl(46,1072813432,1072813156,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d320) = 0
1 mmap2(NULL,106016,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f7ad000
1 mprotect(0x3f7b2000,61440,PROT_NONE) = 0
1 mmap2(0x3f7c1000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x4) = 0x3f7c1000
1 mmap2(0x3f7c3000,15904,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f7c3000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libaxlog.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d454,512) = 512
1 prctl(46,1072813416,1072813140,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d310) = 0
1 mmap2(NULL,73920,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f79a000
1 mprotect(0x3f79c000,61440,PROT_NONE) = 0
1 mmap2(0x3f7ab000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f7ab000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgio-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d444,512) = 512
1 prctl(46,1072813432,1072813124,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d300) = 0
1 mmap2(NULL,1990784,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5b3000
1 mprotect(0x3f783000,61440,PROT_NONE) = 0
1 mmap2(0x3f792000,24576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1cf) = 0x3f792000
1 mmap2(0x3f798000,4224,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f798000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgobject-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d434,512) = 512
1 prctl(46,1072813384,1072813108,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2f0) = 0
1 mmap2(NULL,446160,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f546000
1 mprotect(0x3f5a1000,65536,PROT_NONE) = 0
1 mmap2(0x3f5b1000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x5b) = 0x3f5b1000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libglib-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d424,512) = 512
1 prctl(46,1072813400,1072813092,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2e0) = 0
1 mmap2(NULL,1257552,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f412000
1 mprotect(0x3f533000,61440,PROT_NONE) = 0
1 mmap2(0x3f542000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x120) = 0x3f542000
1 mmap2(0x3f545000,80,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f545000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libax_daemon.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,83232,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f3fd000
1 mprotect(0x3f401000,61440,PROT_NONE) = 0
1 mmap2(0x3f410000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x3) = 0x3f410000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libresolution.so",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,106976,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f3e2000
1 mprotect(0x3f3ea000,65536,PROT_NONE) = 0
1 mmap2(0x3f3fa000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x8) = 0x3f3fa000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3f4,512) = 512
1 prctl(46,1072813480,1072813044,512,1065377792,0) = 0
1 _llseek(3,0,760,0x3ff1d1c8,SEEK_SET) = 0
1 read(3,0x3ff1d1f8,32) = 32
1 fstat64(3,0x3ff1d2b0) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f3e0000
1 mmap2(NULL,1593152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f25b000
1 mprotect(0x3f3c8000,61440,PROT_NONE) = 0
1 mmap2(0x3f3d7000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f3d7000
1 mmap2(0x3f3de000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f3de000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d334,512) = 512
1 prctl(46,1072813256,1072812852,512,1065377792,0) = 0
1 _llseek(3,0,768,0x3ff1d100,SEEK_SET) = 0
1 read(3,0x3ff1d130,32) = 32
1 fstat64(3,0x3ff1d1f0) = 0
1 mmap2(NULL,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f22e000
1 mprotect(0x3f248000,61440,PROT_NONE) = 0
1 mmap2(0x3f257000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f257000
1 mmap2(0x3f259000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f259000
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,0x3ff1d274,512) = 512
1 prctl(46,1072812936,1072812660,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d130) = 0
1 mmap2(NULL,78096,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f21a000
1 mprotect(0x3f21d000,61440,PROT_NONE) = 0
1 mmap2(0x3f22c000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f22c000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libz.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d264,512) = 512
1 prctl(46,1072812952,1072812644,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d120) = 0
1 mmap2(NULL,155984,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1f3000
1 mprotect(0x3f208000,65536,PROT_NONE) = 0
1 mmap2(0x3f218000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x15) = 0x3f218000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libresolv.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d254,512) = 512
1 prctl(46,1072812936,1072812628,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d018,SEEK_SET) = 0
1 read(3,0x3ff1d048,32) = 32
1 fstat64(3,0x3ff1d110) = 0
1 mmap2(NULL,149696,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1ce000
1 mprotect(0x3f1e0000,61440,PROT_NONE) = 0
1 mmap2(0x3f1ef000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x11) = 0x3f1ef000
1 mmap2(0x3f1f1000,6336,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f1f1000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libffi.so.7",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d244,512) = 512
1 prctl(46,1072812920,1072812612,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d100) = 0
1 mmap2(NULL,95072,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1b6000
1 mprotect(0x3f1bd000,61440,PROT_NONE) = 0
1 mmap2(0x3f1cc000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f1cc000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpcre.so.1",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,545216,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f130000
1 mprotect(0x3f1a5000,61440,PROT_NONE) = 0
1 mmap2(0x3f1b4000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x74) = 0x3f1b4000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libstd2parser.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d224,512) = 512
1 prctl(46,1072812856,1072812580,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d0e0) = 0
1 mmap2(NULL,94576,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f118000
1 mprotect(0x3f11f000,61440,PROT_NONE) = 0
1 mmap2(0x3f12e000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f12e000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libstatuscache.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d214,512) = 512
1 prctl(46,1072812840,1072812564,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d0d0) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f116000
1 mmap2(NULL,78032,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f102000
1 mprotect(0x3f105000,61440,PROT_NONE) = 0
1 mmap2(0x3f114000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f114000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libbootblock.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d204,512) = 512
1 prctl(46,1072812824,1072812548,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d0c0) = 0
1 mmap2(NULL,78064,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f0ee000
1 mprotect(0x3f0f1000,61440,PROT_NONE) = 0
1 mmap2(0x3f100000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f100000
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,0x3ff1d1f4,512) = 512
1 prctl(46,1072812840,1072812532,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1cfb0,SEEK_SET) = 0
1 read(3,0x3ff1cfe0,32) = 32
1 fstat64(3,0x3ff1d0b0) = 0
1 mmap2(NULL,73968,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f0db000
1 mprotect(0x3f0dd000,61440,PROT_NONE) = 0
1 mmap2(0x3f0ec000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f0ec000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f0d9000
1 set_thread_area(0x3f0e04a0) = 0
1 mprotect(0x3f3d7000,16384,PROT_READ) = 0
1 mprotect(0x3f0ec000,4096,PROT_READ) = 0
1 mprotect(0x3f100000,4096,PROT_READ) = 0
1 mprotect(0x3f114000,4096,PROT_READ) = 0
1 mprotect(0x3f12e000,4096,PROT_READ) = 0
1 mprotect(0x3f257000,4096,PROT_READ) = 0
1 mprotect(0x3f1b4000,4096,PROT_READ) = 0
1 mprotect(0x3f1cc000,4096,PROT_READ) = 0
1 mprotect(0x3f1ef000,4096,PROT_READ) = 0
1 mprotect(0x3f218000,4096,PROT_READ) = 0
1 mprotect(0x3f542000,4096,PROT_READ) = 0
1 mprotect(0x3f22c000,4096,PROT_READ) = 0
1 mprotect(0x3f5b1000,4096,PROT_READ) = 0
1 mprotect(0x3f792000,12288,PROT_READ) = 0
1 mprotect(0x3f3fa000,8192,PROT_READ) = 0
1 mprotect(0x3f410000,4096,PROT_READ) = 0
1 mprotect(0x3f7ab000,4096,PROT_READ) = 0
1 mprotect(0x3f7c1000,4096,PROT_READ) = 0
1 mprotect(0x40016000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 set_tid_address(0x3f0d9078) = 1
1 set_robust_list(0x3f0d9080,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x3ff1dd20,NULL) = 0
1 rt_sigaction(33,0x3ff1dd20,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x3ff1dd68,NULL,16) = 0
1 getrlimit(3,0x3ff1ddf0) = 0
1 brk(NULL) = 0x40017280
1 brk(0x40038280) = 0x40038280
1 brk(0x40039000) = 0x40039000
1 gettimeofday(0x3ff1dd28,NULL) = 0 ({tv_sec = 1689943334,tv_usec = 1200},NULL)
1 syscall(4238,1062489804,129,2147483647,0,0)1 futex(0x3f544ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
= 0
1 syscall(4238,1062489804,129,2147483647,0,1062939136)1 futex(0x3f544ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f5b2a00,1062939136) = 0
= 0
1 getpeername(2,0x3ff1db30,0x3ff1dbb0) = -1 errno=95 (Socket operation on non-socket)
1 syscall(4238,1062489804,129,2147483647,0,1062489220)1 futex(0x3f544ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f544c84,1062489220) = 0
= 0
1 ioctl(1,TCGETS,0x3ff1db08) = -1 errno=25 (Inappropriate ioctl for device)
1 gettimeofday(0x3ff1da50,NULL) = 0 ({tv_sec = 1689943334,tv_usec = 20008},NULL)
1 openat(AT_FDCWD,"/etc/localtime",O_RDONLY|O_CLOEXEC) = 3
1 fstat64(3,0x3ff1d8d8) = 0
1 fstat64(3,0x3ff1d778) = 0
1 read(3,0x4001de68,4096) = 148
1 _llseek(3,4294967295,4294967290,0x3ff1d788,SEEK_CUR) = 0
1 read(3,0x4001de68,4096) = 6
1 close(3) = 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,0x3ff1d638) = 0
1 mmap2(NULL,26358,PROT_READ,MAP_SHARED,3,0) = 0x3f0d2000
1 close(3) = 0
1 futex(0x3f3dd460,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f260020,1059455008) = 0
1 fstat64(1,0x3ff1d538) = 0
1 write(1,0x4001de10,115)** LOG-0x100: 12:42:14.020: A file containing message priority configurations must be supplied.
Use -c <filename>
= 115
1 openat(AT_FDCWD,"/var/run/ptod/ptod.pid",O_RDONLY) = -1 errno=2 (No such file or directory)
1 rt_sigaction(SIGCHLD,0x3ff1da50,0x3ff1da30) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x3ff1db14,0x3ff1da94,16) = 0
1 clone(CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|0x12,child_stack=0x00000000,parent_tidptr=0x00000000,tls=0x00000000,child_tidptr=0x3f0d9078) = 3
1 exit_group(0)
[*] 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: /var/run/ptod/ptod.pid
[*] Trying to identify this missing file: ptod.pid
[*] Creating directory /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/var/run/ptod
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/var/run/ptod/ptod.pid
[*] 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
-----------------------------------------------------------------