-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/sbin/syslog-ng-ctl to identify missing areas
[*] Emulating binary name: syslog-ng-ctl 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) = 0x400053e4
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/libsyslog-ng-3.38.so.0",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d108,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce20) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7dd000
1 mmap2(NULL,680660,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f736000
1 mmap2(0x3f7d3000,24576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x9c) = 0x3f7d3000
1 mmap2(0x3f7d9000,13012,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/libsecret-storage.so.0",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d0f8,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce10) = 0
1 mmap2(NULL,12316,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f732000
1 mmap2(0x3f734000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f734000
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,0x3ff1d0e8,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce00) = 0
1 mmap2(NULL,932760,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f64e000
1 mmap2(0x3f730000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xe1) = 0x3f730000
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,0x3ff1d0d8,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cdf0) = 0
1 mmap2(NULL,102460,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f634000
1 mmap2(0x3f64c000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x18) = 0x3f64c000
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,0x3ff1d0c8,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cde0) = 0
1 mmap2(NULL,1108064,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f525000
1 mmap2(0x3f627000,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x101) = 0x3f627000
1 mmap2(0x3f62b000,34912,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f62b000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libm.so.6",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d0a8,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cdc0) = 0
1 mmap2(NULL,266256,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4e3000
1 mmap2(0x3f523000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x3f) = 0x3f523000
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,0x3ff1d098,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cdb0) = 0
1 mmap2(NULL,8200,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4e0000
1 mmap2(0x3f4e1000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0) = 0x3f4e1000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libevtlog-3.38.so.0",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,12324,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4dc000
1 mmap2(0x3f4de000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f4de000
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,0x3ff1d078,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cd90) = 0
1 mmap2(NULL,335948,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f489000
1 mmap2(0x3f4da000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x50) = 0x3f4da000
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) = 0x3f3ea000
1 mmap2(0x3f481000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x97) = 0x3f481000
1 mmap2(0x3f488000,420,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f488000
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,0x3ff1d058,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cd70) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f3e8000
1 mmap2(NULL,12360,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f3e4000
1 mmap2(0x3f3e6000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f3e6000
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,0x3ff1d048,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cd60) = 0
1 mmap2(NULL,8200,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f3e1000
1 mmap2(0x3f3e2000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0) = 0x3f3e2000
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,0x3ff1d038,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cd50) = 0
1 mmap2(NULL,341176,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f38d000
1 mmap2(0x3f3d9000,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x4c) = 0x3f3d9000
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,0x3ff1d028,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cd40) = 0
1 mmap2(NULL,1665544,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1f6000
1 mmap2(0x3f372000,94208,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x17c) = 0x3f372000
1 mmap2(0x3f389000,14856,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f389000
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,0x3ff1d018,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cd30) = 0
1 mmap2(NULL,28716,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1ee000
1 mmap2(0x3f1f4000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f1f4000
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,0x3ff1d008,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cd20) = 0
1 mmap2(NULL,471364,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f17a000
1 mmap2(0x3f1ec000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x72) = 0x3f1ec000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f178000
1 mmap2(NULL,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f174000
1 set_tid_address(0x3f174088) = 1
1 set_robust_list(0x3f17408c,12) = -1 errno=38 (Function not implemented)
1 Unknown syscall 398
1 mprotect(0x3f627000,8192,PROT_READ) = 0
1 mprotect(0x3f64c000,4096,PROT_READ) = 0
1 mprotect(0x3f1ec000,4096,PROT_READ) = 0
1 mprotect(0x3f1f4000,4096,PROT_READ) = 0
1 mprotect(0x3f372000,90112,PROT_READ) = 0
1 mprotect(0x3f3d9000,20480,PROT_READ) = 0
1 mprotect(0x3f4da000,4096,PROT_READ) = 0
1 mprotect(0x3f730000,4096,PROT_READ) = 0
1 mprotect(0x3f3e2000,4096,PROT_READ) = 0
1 mprotect(0x3f3e6000,4096,PROT_READ) = 0
1 mprotect(0x3f481000,24576,PROT_READ) = 0
1 mprotect(0x3f4de000,4096,PROT_READ) = 0
1 mprotect(0x3f4e1000,4096,PROT_READ) = 0
1 mprotect(0x3f523000,4096,PROT_READ) = 0
1 mprotect(0x3f734000,4096,PROT_READ) = 0
1 mprotect(0x3f7d3000,16384,PROT_READ) = 0
1 mprotect(0x40004000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 ugetrlimit(3,1072814472,1063466910,1063442180,1,1063423584) = 0
1 prctl(23,32,0,1059016708,1059015448,0) = 1
1 prctl(23,48,0,1059016708,1059015448,33) = -1 errno=22 (Invalid argument)
1 prctl(23,40,0,6720,1059015448,33) = 1
1 prctl(23,44,0,6720,1059015448,41) = -1 errno=22 (Invalid argument)
1 prctl(23,42,0,6720,1059015448,41) = -1 errno=22 (Invalid argument)
1 prctl(23,41,0,6720,1059015448,41) = -1 errno=22 (Invalid argument)
1 rt_sigprocmask(SIG_SETMASK,0x3ff1dc64,0x3ff1db54,8) = 0
1 rt_sigaction(SIGILL,0x3ff1da18,0x3ff1daa4) = 0
1 rt_sigprocmask(SIG_BLOCK,NULL,0x3f388cac,8) = 0
--- SIGILL {si_signo=SIGILL, si_code=2, si_addr=0x3f240926} ---
1 rt_sigprocmask(SIG_SETMASK,0x3f388cac,NULL,8) = 0
1 rt_sigaction(SIGILL,0x3ff1da18,NULL) = 0
1 rt_sigprocmask(SIG_SETMASK,0x3ff1db54,NULL,8) = 0
1 brk(NULL) = 0x400053e4
1 brk(0x400263e4) = 0x400263e4
1 brk(0x40027000) = 0x40027000
1 clock_gettime64(CLOCK_REALTIME,0x3ff1dc18) = 0 ({tv_sec=1690032374,tv_nsec=42488954})
1 openat(AT_FDCWD,"/usr/lib/locale/locale-archive",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/share/locale/locale.alias",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/locale/C.UTF-8/LC_IDENTIFICATION",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/locale/C.utf8/LC_IDENTIFICATION",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/locale/C/LC_IDENTIFICATION",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 write(2,0x3ff1bb30,76)Syntax: ./usr/sbin/syslog-ng-ctl <command> [options]
Possible commands are:
= 76
1 write(2,0x3ff1bb30,64) stats Get syslog-ng statistics in CSV format
= 64
1 write(2,0x3ff1bb30,55) verbose Enable/query verbose messages
= 55
1 write(2,0x3ff1bb30,53) debug Enable/query debug messages
= 53
1 write(2,0x3ff1bb30,53) trace Enable/query trace messages
= 53
1 write(2,0x3ff1bb30,48) stop Stop syslog-ng process
= 48
1 write(2,0x3ff1bb30,42) reload Reload syslog-ng
= 42
1 write(2,0x3ff1bb30,58) reopen Re-open of log destination files
= 58
1 write(2,0x3ff1bb30,93) query Query syslog-ng statistics. Possible commands: list, get, get --sum
= 93
1 write(2,0x3ff1bb30,60) show-license-info Show information about the license
= 60
1 write(2,0x3ff1bb30,45) credentials Credentials manager
= 45
1 write(2,0x3ff1bb30,46) config Print current config
= 46
1 write(2,0x3ff1bb30,55) list-files Print files present in config
= 55
1 write(2,0x3ff1bb30,52) export-config-graph export configuration graph
= 52
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
[*] Found missing area: /usr/lib/locale/C.UTF-8/LC_IDENTIFICATION
[*] Trying to identify this missing file: LC_IDENTIFICATION
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/locale/C.UTF-8/LC_IDENTIFICATION
[*] Found missing area: /usr/lib/locale/C.utf8/LC_IDENTIFICATION
[*] Trying to identify this missing file: LC_IDENTIFICATION
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/locale/C.utf8/LC_IDENTIFICATION
[*] Found missing area: /usr/lib/locale/C/LC_IDENTIFICATION
[*] Trying to identify this missing file: LC_IDENTIFICATION
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/locale/C/LC_IDENTIFICATION
[*] Found missing area: /usr/lib/locale/locale-archive
[*] Trying to identify this missing file: locale-archive
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/locale/locale-archive
[*] Found missing area: /usr/share/locale/locale.alias
[*] Trying to identify this missing file: locale.alias
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/share/locale/locale.alias
-----------------------------------------------------------------