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

[*] Initial strace run with jchroot on the command ./usr/html/axis-cgi/basicdeviceinfo.cgi to identify missing areas

[*] Emulating binary name: basicdeviceinfo.cgi 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 ./html/axis-cgi/basicdeviceinfo.cgi to identify missing areas

[*] Emulating binary name: basicdeviceinfo.cgi 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) = 0x40014180
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d600) = 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/libjansson.so.4",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d394,512) = 512
1 prctl(46,1072813224,1072812948,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d250) = 0
1 mmap2(NULL,119392,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f7a9000
1 mprotect(0x3f7b6000,61440,PROT_NONE) = 0
1 mmap2(0x3f7c5000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xc) = 0x3f7c5000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libaxlog.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d384,512) = 512
1 prctl(46,1072813208,1072812932,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d240) = 0
1 mmap2(NULL,73920,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f796000
1 mprotect(0x3f798000,61440,PROT_NONE) = 0
1 mmap2(0x3f7a7000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f7a7000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgio-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d374,512) = 512
1 prctl(46,1072813224,1072812916,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d230) = 0
1 mmap2(NULL,1990784,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5af000
1 mprotect(0x3f77f000,61440,PROT_NONE) = 0
1 mmap2(0x3f78e000,24576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1cf) = 0x3f78e000
1 mmap2(0x3f794000,4224,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f794000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgobject-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d364,512) = 512
1 prctl(46,1072813176,1072812900,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d220) = 0
1 mmap2(NULL,446160,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f542000
1 mprotect(0x3f59d000,65536,PROT_NONE) = 0
1 mmap2(0x3f5ad000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x5b) = 0x3f5ad000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libglib-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d354,512) = 512
1 prctl(46,1072813192,1072812884,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d210) = 0
1 mmap2(NULL,1257552,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f40e000
1 mprotect(0x3f52f000,61440,PROT_NONE) = 0
1 mmap2(0x3f53e000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x120) = 0x3f53e000
1 mmap2(0x3f541000,80,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f541000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libcgiparser.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d344,512) = 512
1 prctl(46,1072813144,1072812868,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d200) = 0
1 mmap2(NULL,78048,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f3fa000
1 mprotect(0x3f3fd000,61440,PROT_NONE) = 0
1 mmap2(0x3f40c000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f40c000
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) = 0x3f3cd000
1 mprotect(0x3f3e7000,61440,PROT_NONE) = 0
1 mmap2(0x3f3f6000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f3f6000
1 mmap2(0x3f3f8000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f3f8000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d324,512) = 512
1 prctl(46,1072813272,1072812836,512,1065377792,0) = 0
1 _llseek(3,0,760,0x3ff1d0f8,SEEK_SET) = 0
1 read(3,0x3ff1d128,32) = 32
1 fstat64(3,0x3ff1d1e0) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f3cb000
1 mmap2(NULL,1593152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f246000
1 mprotect(0x3f3b3000,61440,PROT_NONE) = 0
1 mmap2(0x3f3c2000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f3c2000
1 mmap2(0x3f3c9000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f3c9000
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,0x3ff1d1d4,512) = 512
1 prctl(46,1072812776,1072812500,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d090) = 0
1 mmap2(NULL,78096,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f232000
1 mprotect(0x3f235000,61440,PROT_NONE) = 0
1 mmap2(0x3f244000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f244000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libz.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d1c4,512) = 512
1 prctl(46,1072812792,1072812484,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d080) = 0
1 mmap2(NULL,155984,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f20b000
1 mprotect(0x3f220000,65536,PROT_NONE) = 0
1 mmap2(0x3f230000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x15) = 0x3f230000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libresolv.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d1b4,512) = 512
1 prctl(46,1072812776,1072812468,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1cf78,SEEK_SET) = 0
1 read(3,0x3ff1cfa8,32) = 32
1 fstat64(3,0x3ff1d070) = 0
1 mmap2(NULL,149696,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1e6000
1 mprotect(0x3f1f8000,61440,PROT_NONE) = 0
1 mmap2(0x3f207000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x11) = 0x3f207000
1 mmap2(0x3f209000,6336,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f209000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libffi.so.7",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d1a4,512) = 512
1 prctl(46,1072812760,1072812452,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d060) = 0
1 mmap2(NULL,95072,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1ce000
1 mprotect(0x3f1d5000,61440,PROT_NONE) = 0
1 mmap2(0x3f1e4000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f1e4000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpcre.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d194,512) = 512
1 prctl(46,1072812712,1072812436,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d050) = 0
1 mmap2(NULL,545216,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f148000
1 mprotect(0x3f1bd000,61440,PROT_NONE) = 0
1 mmap2(0x3f1cc000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x74) = 0x3f1cc000
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,0x3ff1d184,512) = 512
1 prctl(46,1072812728,1072812420,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1cf40,SEEK_SET) = 0
1 read(3,0x3ff1cf70,32) = 32
1 fstat64(3,0x3ff1d040) = 0
1 mmap2(NULL,73968,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f135000
1 mprotect(0x3f137000,61440,PROT_NONE) = 0
1 mmap2(0x3f146000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f146000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f133000
1 set_thread_area(0x3f13b200) = 0
1 mprotect(0x3f3c2000,16384,PROT_READ) = 0
1 mprotect(0x3f146000,4096,PROT_READ) = 0
1 mprotect(0x3f3f6000,4096,PROT_READ) = 0
1 mprotect(0x3f1cc000,4096,PROT_READ) = 0
1 mprotect(0x3f1e4000,4096,PROT_READ) = 0
1 mprotect(0x3f207000,4096,PROT_READ) = 0
1 mprotect(0x3f230000,4096,PROT_READ) = 0
1 mprotect(0x3f53e000,4096,PROT_READ) = 0
1 mprotect(0x3f244000,4096,PROT_READ) = 0
1 mprotect(0x3f40c000,4096,PROT_READ) = 0
1 mprotect(0x3f5ad000,4096,PROT_READ) = 0
1 mprotect(0x3f78e000,12288,PROT_READ) = 0
1 mprotect(0x3f7a7000,4096,PROT_READ) = 0
1 mprotect(0x3f7c5000,4096,PROT_READ) = 0
1 mprotect(0x40013000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 set_tid_address(0x3f133dd8) = 1
1 set_robust_list(0x3f133de0,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x3ff1dc50,NULL) = 0
1 rt_sigaction(33,0x3ff1dc50,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x3ff1dc98,NULL,16) = 0
1 getrlimit(3,0x3ff1dd20) = 0
1 brk(NULL) = 0x40014180
1 brk(0x40035180) = 0x40035180
1 brk(0x40036000) = 0x40036000
1 gettimeofday(0x3ff1dc58,NULL) = 0 ({tv_sec = 1689943276,tv_usec = 891312},NULL)
1 syscall(4238,1062473420,129,2147483647,0,0)1 futex(0x3f540ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
 = 0
1 syscall(4238,1062473420,129,2147483647,0,1062922752)1 futex(0x3f540ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f5aea00,1062922752) = 0
 = 0
1 openat(AT_FDCWD,"/dev/urandom",O_RDONLY) = 3
1 read(3,0x3ff1d9f0,4) = 4
1 close(3) = 0
1 fstat64(1,0x3ff1da08) = 0
1 write(1,0x4001aed0,168)Content-Type: application/json;charset=utf8

{"apiVersion": "1.1", "error": {"code": 2002, "message": "HTTP request type '(null)' not supported, Only POST supported"}}
 = 168
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

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