-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/bin/slogkey to identify missing areas
[*] Emulating binary name: slogkey 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-50593792.squashfs_v4_le_extract (1/2)
[*] Using CPU config:
1 brk(NULL) = 0x400160b8
1 uname(0x3ff1d910) = 0
1 access("/etc/ld.so.preload",R_OK) = 0
1 openat(AT_FDCWD,"/etc/ld.so.preload",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1d8e0) = 0
1 mmap2(NULL,19,PROT_READ|PROT_WRITE,MAP_PRIVATE,3,0) = 0x3f7cf000
1 close(3) = 0
1 munmap(0x3f7cf000,19) = 0
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/libsyslog-ng-3.31.so.0",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d220,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cf68) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7ce000
1 mmap2(NULL,688728,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f725000
1 mprotect(0x3f7b4000,65536,PROT_NONE) = 0
1 mmap2(0x3f7c4000,24576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x8f) = 0x3f7c4000
1 mmap2(0x3f7ca000,12888,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f7ca000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libevtlog-3.31.so.0",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d210,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cf58) = 0
1 mmap2(NULL,73764,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f712000
1 mprotect(0x3f714000,61440,PROT_NONE) = 0
1 mmap2(0x3f723000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f723000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libcrypto.so.1.1",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d200,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cf48) = 0
1 mmap2(NULL,1677788,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f578000
1 mprotect(0x3f6e8000,61440,PROT_NONE) = 0
1 mmap2(0x3f6f7000,94208,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16f) = 0x3f6f7000
1 mmap2(0x3f70e000,14812,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f70e000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libglib-2.0.so.0",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d1f0,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cf38) = 0
1 mmap2(NULL,965448,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f48c000
1 mprotect(0x3f566000,65536,PROT_NONE) = 0
1 mmap2(0x3f576000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xda) = 0x3f576000
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,0x3ff1d1e0,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cf28) = 0
1 mmap2(NULL,1148532,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f373000
1 mprotect(0x3f470000,61440,PROT_NONE) = 0
1 mmap2(0x3f47f000,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xfc) = 0x3f47f000
1 mmap2(0x3f483000,34420,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f483000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/librt.so.1",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d1c0,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cf08) = 0
1 mmap2(NULL,69640,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f361000
1 mprotect(0x3f362000,61440,PROT_NONE) = 0
1 mmap2(0x3f371000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0) = 0x3f371000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libpcre.so.1",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d1b0,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cef8) = 0
1 mmap2(NULL,389196,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f301000
1 mprotect(0x3f34f000,65536,PROT_NONE) = 0
1 mmap2(0x3f35f000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x4e) = 0x3f35f000
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,0x3ff1d1a0,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cee8) = 0
1 mmap2(NULL,659836,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f25f000
1 mprotect(0x3f2eb000,65536,PROT_NONE) = 0
1 mmap2(0x3f2fb000,20480,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x8c) = 0x3f2fb000
1 mmap2(0x3f300000,380,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f300000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libsecret-storage.so.0",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d190,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ced8) = 0
1 mmap2(NULL,73756,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f24c000
1 mprotect(0x3f24e000,61440,PROT_NONE) = 0
1 mmap2(0x3f25d000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f25d000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libgmodule-2.0.so.0",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d180,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cec8) = 0
1 mmap2(NULL,73796,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f239000
1 mprotect(0x3f23b000,61440,PROT_NONE) = 0
1 mmap2(0x3f24a000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f24a000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libgthread-2.0.so.0",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d170,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ceb8) = 0
1 mmap2(NULL,69640,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f227000
1 mprotect(0x3f228000,61440,PROT_NONE) = 0
1 mmap2(0x3f237000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0) = 0x3f237000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libssl.so.1.1",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d160,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cea8) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f225000
1 mmap2(NULL,402600,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1c2000
1 mprotect(0x3f20d000,65536,PROT_NONE) = 0
1 mmap2(0x3f21d000,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x4b) = 0x3f21d000
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,0x3ff1d150,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce98) = 0
1 mmap2(NULL,839716,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f0f4000
1 mprotect(0x3f1b1000,61440,PROT_NONE) = 0
1 mmap2(0x3f1c0000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xbc) = 0x3f1c0000
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,0x3ff1d140,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce88) = 0
1 mmap2(NULL,86052,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f0de000
1 mprotect(0x3f0e3000,61440,PROT_NONE) = 0
1 mmap2(0x3f0f2000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x4) = 0x3f0f2000
1 close(3) = 0
1 mmap2(NULL,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f0da000
1 set_tid_address(0x3f0da078) = 1
1 set_robust_list(0x3f0da080,12) = -1 errno=38 (Function not implemented)
1 mprotect(0x3f47f000,8192,PROT_READ) = 0
1 mprotect(0x3f0f2000,4096,PROT_READ) = 0
1 mprotect(0x3f1c0000,4096,PROT_READ) = 0
1 mprotect(0x3f6f7000,90112,PROT_READ) = 0
1 mprotect(0x3f21d000,20480,PROT_READ) = 0
1 mprotect(0x3f35f000,4096,PROT_READ) = 0
1 mprotect(0x3f576000,4096,PROT_READ) = 0
1 mprotect(0x3f237000,4096,PROT_READ) = 0
1 mprotect(0x3f24a000,4096,PROT_READ) = 0
1 mprotect(0x3f25d000,4096,PROT_READ) = 0
1 mprotect(0x3f2fb000,16384,PROT_READ) = 0
1 mprotect(0x3f371000,4096,PROT_READ) = 0
1 mprotect(0x3f723000,4096,PROT_READ) = 0
1 mprotect(0x3f7c4000,16384,PROT_READ) = 0
1 mprotect(0x40015000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 ugetrlimit(3,1072814760,1061705012,1061729714,1,1061686884) = 0
1 prctl(23,32,0,1057959940,32,0) = 1
1 prctl(23,48,0,1057959940,48,33) = -1 errno=22 (Invalid argument)
1 prctl(23,40,0,1,40,33) = 1
1 prctl(23,44,0,1,44,41) = -1 errno=22 (Invalid argument)
1 prctl(23,42,0,1,42,41) = -1 errno=22 (Invalid argument)
1 prctl(23,41,0,1,41,41) = -1 errno=22 (Invalid argument)
1 rt_sigprocmask(SIG_SETMASK,0x3ff1dcb4,0x3ff1dba4,8) = 0
1 rt_sigaction(SIGILL,0x3ff1da68,0x3ff1daf4) = 0
1 rt_sigprocmask(SIG_BLOCK,NULL,0x3f70dcac,8) = 0
--- SIGILL {si_signo=SIGILL, si_code=2, si_addr=0x3f5c28c6} ---
1 rt_sigprocmask(SIG_SETMASK,0x3f70dcac,NULL,8) = 0
1 rt_sigaction(SIGILL,0x3ff1da68,NULL) = 0
1 rt_sigprocmask(SIG_SETMASK,0x3ff1dba4,NULL,8) = 0
1 brk(NULL) = 0x400160b8
1 brk(0x400370b8) = 0x400370b8
1 brk(0x40038000) = 0x40038000
1 clock_gettime64(CLOCK_REALTIME,0x3ff1dc78) = 0 ({tv_sec=1690035029,tv_nsec=275186744})
1 futex(0x3f5779d0,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
1 futex(0x3f5779d0,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
1 openat(AT_FDCWD,"/usr/lib/charset.alias",O_RDONLY|O_LARGEFILE) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/gconv/gconv-modules.cache",O_RDONLY) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/gconv/gconv-modules",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/gconv/gconv-modules.d",O_RDONLY|O_DIRECTORY|O_LARGEFILE|O_NONBLOCK|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 futex(0x3f4822b8,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
1 statx(1,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1d938) = 0
1 write(1,0x4001b3a8,499)Usage:
slogkey [OPTION?] - secure logging key management
Master key generation: slogkey -m MASTERKEY
Host key derivation: slogkey -d MASTERKEY MACADDRESS SERIALNUMBER HOSTKEY
Host key counter display: slogkey -c HOSTKEY
Help Options:
-h, --help Show help options
Application Options:
-m, --master-key Generate a master key
-d, --derive-host-key Derive a host key from an existing master key
-c, --counter Display current host key counter
= 499
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-50593792.squashfs_v4_le_extract/etc/ld.so.cache
[*] Found missing area: /usr/lib/charset.alias
[*] Trying to identify this missing file: charset.alias
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/lib/charset.alias
[*] Found missing area: /usr/lib/gconv/gconv-modules
[*] Trying to identify this missing file: gconv-modules
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/lib/gconv/gconv-modules
[*] Found missing area: /usr/lib/gconv/gconv-modules.cache
[*] Trying to identify this missing file: gconv-modules.cache
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/lib/gconv/gconv-modules.cache
[*] Found missing area: /usr/lib/gconv/gconv-modules.d
[*] Trying to identify this missing file: gconv-modules.d
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/lib/gconv/gconv-modules.d
-----------------------------------------------------------------