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

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

[*] Emulating binary name: custfwcerts.cgi in strace mode to identify missing areas (with jchroot)
[*] Emulator used: qemu-arm-static
[*] Chroot environment used: jchroot
[*] Using root directory: /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract (1/2)
[*] Using CPU config: 

1 brk(NULL) = 0x40006038
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_LARGEFILE|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libcrypto.so.1.1",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d088,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cda0) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7dd000
1 mmap2(NULL,1665544,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f646000
1 mmap2(0x3f7c2000,94208,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x17c) = 0x3f7c2000
1 mmap2(0x3f7d9000,14856,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f7d9000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libjansson.so.4",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d078,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cd90) = 0
1 mmap2(NULL,45104,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f63a000
1 mmap2(0x3f644000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x9) = 0x3f644000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libsystemd.so.0",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d068,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cd80) = 0
1 mmap2(NULL,647588,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f59b000
1 mmap2(0x3f632000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x97) = 0x3f632000
1 mmap2(0x3f639000,420,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f639000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libgcc_s.so.1",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d058,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cd70) = 0
1 mmap2(NULL,102460,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f581000
1 mmap2(0x3f599000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x18) = 0x3f599000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libc.so.6",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d048,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cd60) = 0
1 mmap2(NULL,1108064,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f472000
1 mmap2(0x3f574000,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x101) = 0x3f574000
1 mmap2(0x3f578000,34912,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f578000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libcap.so.2",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d028,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cd40) = 0
1 mmap2(NULL,28716,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f46a000
1 mmap2(0x3f470000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f470000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libzstd.so.1",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d018,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cd30) = 0
1 mmap2(NULL,471364,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f3f6000
1 mmap2(0x3f468000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x72) = 0x3f468000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f3f4000
1 set_tid_address(0x3f3f42e8) = 1
1 set_robust_list(0x3f3f42ec,12) = -1 errno=38 (Function not implemented)
1 Unknown syscall 398
1 mprotect(0x3f574000,8192,PROT_READ) = 0
1 mprotect(0x3f599000,4096,PROT_READ) = 0
1 mprotect(0x3f468000,4096,PROT_READ) = 0
1 mprotect(0x3f470000,4096,PROT_READ) = 0
1 mprotect(0x3f632000,24576,PROT_READ) = 0
1 mprotect(0x3f644000,4096,PROT_READ) = 0
1 mprotect(0x3f7c2000,90112,PROT_READ) = 0
1 mprotect(0x40005000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 ugetrlimit(3,1072814344,1062733726,1062708996,1,1062690400) = 0
1 prctl(23,32,0,1061621764,1061620504,0) = 1
1 prctl(23,48,0,1061621764,1061620504,33) = -1 errno=22 (Invalid argument)
1 prctl(23,40,0,160,1061620504,33) = 1
1 prctl(23,44,0,160,1061620504,41) = -1 errno=22 (Invalid argument)
1 prctl(23,42,0,160,1061620504,41) = -1 errno=22 (Invalid argument)
1 prctl(23,41,0,160,1061620504,41) = -1 errno=22 (Invalid argument)
1 rt_sigprocmask(SIG_SETMASK,0x3ff1dbe4,0x3ff1dad4,8) = 0
1 rt_sigaction(SIGILL,0x3ff1d998,0x3ff1da24) = 0
1 rt_sigprocmask(SIG_BLOCK,NULL,0x3f7d8cac,8) = 0
--- SIGILL {si_signo=SIGILL, si_code=2, si_addr=0x3f690926} ---
1 rt_sigprocmask(SIG_SETMASK,0x3f7d8cac,NULL,8) = 0
1 rt_sigaction(SIGILL,0x3ff1d998,NULL) = 0
1 rt_sigprocmask(SIG_SETMASK,0x3ff1dad4,NULL,8) = 0
1 rt_sigaction(SIGPIPE,0x3ff1d890,0x3ff1d91c) = 0
1 statx(1,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1d3b0) = 0
1 brk(NULL) = 0x40006038
1 brk(0x40028038) = 0x40028038
1 brk(0x40029000) = 0x40029000
1 write(1,0x40006040,106)Status: 405 Method Not Allowed
Content-Type: text/plain

Invalid method, only GET and POST supported.
 = 106
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/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/etc/ld.so.cache

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