-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/html/axis-cgi/firmwareupgrade.cgi to identify missing areas
[*] Emulating binary name: firmwareupgrade.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/firmwareupgrade.cgi to identify missing areas
[*] Emulating binary name: firmwareupgrade.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) = 0x400120f0
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/libsystemd.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d394,512) = 512
1 prctl(46,1072813256,1072812948,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d250) = 0
1 mmap2(NULL,814232,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f700000
1 mprotect(0x3f7b3000,61440,PROT_NONE) = 0
1 mmap2(0x3f7c2000,20480,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xb2) = 0x3f7c2000
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) = 0x3f57b000
1 mprotect(0x3f6e8000,61440,PROT_NONE) = 0
1 mmap2(0x3f6f7000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f6f7000
1 mmap2(0x3f6fe000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f6fe000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/src/basic/tls/librt.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2b4,512) = 512
1 prctl(46,1072813064,1072812724,512,1065377792,0) = 0
1 _llseek(3,0,704,0x3ff1d078,SEEK_SET) = 0
1 read(3,0x3ff1d0a8,32) = 32
1 fstat64(3,0x3ff1d170) = 0
1 mmap2(NULL,94928,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f563000
1 mprotect(0x3f56a000,61440,PROT_NONE) = 0
1 mmap2(0x3f579000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f579000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/src/basic/tls/libcap.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2a4,512) = 512
1 prctl(46,1072812984,1072812708,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d160) = 0
1 mmap2(NULL,86384,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f54d000
1 mprotect(0x3f551000,65536,PROT_NONE) = 0
1 mmap2(0x3f561000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x4) = 0x3f561000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/src/basic/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d294,512) = 512
1 prctl(46,1072813096,1072812692,512,1065377792,0) = 0
1 _llseek(3,0,768,0x3ff1d058,SEEK_SET) = 0
1 read(3,0x3ff1d088,32) = 32
1 fstat64(3,0x3ff1d150) = 0
1 mmap2(NULL,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f520000
1 mprotect(0x3f53a000,61440,PROT_NONE) = 0
1 mmap2(0x3f549000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f549000
1 mmap2(0x3f54b000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f54b000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f51e000
1 set_thread_area(0x3f525880) = 0
1 mprotect(0x3f6f7000,16384,PROT_READ) = 0
1 mprotect(0x3f549000,4096,PROT_READ) = 0
1 mprotect(0x3f561000,4096,PROT_READ) = 0
1 mprotect(0x3f579000,4096,PROT_READ) = 0
1 mprotect(0x3f7c2000,12288,PROT_READ) = 0
1 mprotect(0x40011000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 set_tid_address(0x3f51e458) = 1
1 set_robust_list(0x3f51e460,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 rt_sigaction(SIGPIPE,0x3ff1cb30,0x3ff1cb10) = 0
1 fstat64(1,0x3ff1cb38) = 0
1 brk(NULL) = 0x400120f0
1 brk(0x400340f0) = 0x400340f0
1 brk(0x40035000) = 0x40035000
1 write(1,0x400120f8,98)Status: 405 Method Not Allowed
Content-Type: text/plain
Invalid method, only POST supported.
= 98
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
-----------------------------------------------------------------