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

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

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

[*] Emulating binary name: loggen 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) = 0x4001a4e0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d6c0) = 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/libloggen_helper-3.19.so.0",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 stat64("/lib/tls",0x3ff1d310) = 0
1 openat(AT_FDCWD,"/lib/libloggen_helper-3.19.so.0",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,82208,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/libgmodule-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d444,512) = 512
1 prctl(46,1072813400,1072813124,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d300) = 0
1 mmap2(NULL,78096,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f79e000
1 mprotect(0x3f7a1000,61440,PROT_NONE) = 0
1 mmap2(0x3f7b0000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f7b0000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libglib-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d434,512) = 512
1 prctl(46,1072813416,1072813108,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2f0) = 0
1 mmap2(NULL,1257552,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f66a000
1 mprotect(0x3f78b000,61440,PROT_NONE) = 0
1 mmap2(0x3f79a000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x120) = 0x3f79a000
1 mmap2(0x3f79d000,80,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f79d000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d424,512) = 512
1 prctl(46,1072813496,1072813092,512,1065377792,0) = 0
1 _llseek(3,0,768,0x3ff1d1f0,SEEK_SET) = 0
1 read(3,0x3ff1d220,32) = 32
1 fstat64(3,0x3ff1d2e0) = 0
1 mmap2(NULL,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f63d000
1 mprotect(0x3f657000,61440,PROT_NONE) = 0
1 mmap2(0x3f666000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f666000
1 mmap2(0x3f668000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f668000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d414,512) = 512
1 prctl(46,1072813512,1072813076,512,1065377792,0) = 0
1 _llseek(3,0,760,0x3ff1d1e8,SEEK_SET) = 0
1 read(3,0x3ff1d218,32) = 32
1 fstat64(3,0x3ff1d2d0) = 0
1 mmap2(NULL,1593152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4b8000
1 mprotect(0x3f625000,61440,PROT_NONE) = 0
1 mmap2(0x3f634000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f634000
1 mmap2(0x3f63b000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f63b000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/librt.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d344,512) = 512
1 prctl(46,1072813208,1072812868,512,1065377792,0) = 0
1 _llseek(3,0,704,0x3ff1d118,SEEK_SET) = 0
1 read(3,0x3ff1d148,32) = 32
1 fstat64(3,0x3ff1d200) = 0
1 mmap2(NULL,94928,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4a0000
1 mprotect(0x3f4a7000,61440,PROT_NONE) = 0
1 mmap2(0x3f4b6000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f4b6000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libssl.so.1.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d334,512) = 512
1 prctl(46,1072813160,1072812852,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1f0) = 0
1 mmap2(NULL,566080,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f415000
1 mprotect(0x3f488000,61440,PROT_NONE) = 0
1 mmap2(0x3f497000,36864,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x72) = 0x3f497000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libcrypto.so.1.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d324,512) = 512
1 prctl(46,1072813176,1072812836,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1e0) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f413000
1 mmap2(NULL,2304304,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1e0000
1 mprotect(0x3f3e6000,61440,PROT_NONE) = 0
1 mmap2(0x3f3f5000,106496,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x205) = 0x3f3f5000
1 mmap2(0x3f40f000,14640,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f40f000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgthread-2.0.so.0",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,69712,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1ce000
1 mprotect(0x3f1cf000,61440,PROT_NONE) = 0
1 mmap2(0x3f1de000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0) = 0x3f1de000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libdl.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d304,512) = 512
1 prctl(46,1072813112,1072812804,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d0d0,SEEK_SET) = 0
1 read(3,0x3ff1d100,32) = 32
1 fstat64(3,0x3ff1d1c0) = 0
1 mmap2(NULL,73968,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1bb000
1 mprotect(0x3f1bd000,61440,PROT_NONE) = 0
1 mmap2(0x3f1cc000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f1cc000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpcre.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2f4,512) = 512
1 prctl(46,1072813064,1072812788,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1b0) = 0
1 mmap2(NULL,545216,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f135000
1 mprotect(0x3f1aa000,61440,PROT_NONE) = 0
1 mmap2(0x3f1b9000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x74) = 0x3f1b9000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f133000
1 set_thread_area(0x3f13a4a0) = 0
1 mprotect(0x3f634000,16384,PROT_READ) = 0
1 mprotect(0x3f666000,4096,PROT_READ) = 0
1 mprotect(0x3f1b9000,4096,PROT_READ) = 0
1 mprotect(0x3f1cc000,4096,PROT_READ) = 0
1 mprotect(0x3f79a000,4096,PROT_READ) = 0
1 mprotect(0x3f1de000,4096,PROT_READ) = 0
1 mprotect(0x3f3f5000,90112,PROT_READ) = 0
1 mprotect(0x3f497000,20480,PROT_READ) = 0
1 mprotect(0x3f4b6000,4096,PROT_READ) = 0
1 mprotect(0x3f7b0000,4096,PROT_READ) = 0
1 mprotect(0x3f7c5000,4096,PROT_READ) = 0
1 mprotect(0x40017000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 set_tid_address(0x3f133078) = 1
1 set_robust_list(0x3f133080,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x3ff1dd10,NULL) = 0
1 rt_sigaction(33,0x3ff1dd10,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x3ff1dd58,NULL,16) = 0
1 getrlimit(3,0x3ff1dde0) = 0
1 brk(NULL) = 0x4001a4e0
1 brk(0x4003b4e0) = 0x4003b4e0
1 brk(0x4003c000) = 0x4003c000
1 gettimeofday(0x3ff1dd18,NULL) = 0 ({tv_sec = 1689943189,tv_usec = 30486},NULL)
1 rt_sigaction(SIGPIPE,0x3ff1dbf0,0x3ff1dbd0) = 0
1 openat(AT_FDCWD,"/usr/lib/syslog-ng/loggen",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,1064947404,129,2147483647,0,0)1 futex(0x3f79cecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
 = 0
1 syscall(4238,1064947404,129,2147483647,0,4)1 futex(0x3f79cecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x00000004,4) = 0
 = 0
1 openat(AT_FDCWD,"/lib/gconv/gconv-modules.cache",O_RDONLY) = 3
1 fstat64(3,0x3ff1d4c8) = 0
1 mmap2(NULL,26358,PROT_READ,MAP_SHARED,3,0) = 0x3f12c000
1 close(3) = 0
1 futex(0x3f63a460,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f66f020,1063710752) = 0
1 write(2,0x3ff1b748,39)error [loggen.c:enumerate_plugins:145]  = 39
1 write(2,0x3ff1b748,90)unable to open plugin directory /usr/lib/syslog-ng/loggen (err=No such file or directory)
 = 90
1 write(2,0x3ff1b748,26)error [loggen.c:main:454]  = 26
1 write(2,0x40006b1c,40)please specify target and port at least
 = 40
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/tls/libloggen_helper-3.19.so.0
[*] Trying to identify this missing file: libloggen_helper-3.19.so.0
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libloggen_helper-3.19.so.0
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libloggen_helper-3.19.so.0 to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/tls/
[*] Found missing area: /usr/lib/syslog-ng/loggen
[*] Trying to identify this missing file: loggen
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/loggen
[*] Creating directory /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/usr/lib/syslog-ng
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/loggen to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/usr/lib/syslog-ng/
[*] 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

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