-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/bin/pdbtool to identify missing areas
[*] Emulating binary name: pdbtool 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) = 0x40015678
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,0x3ff1d158,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce70) = 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/libevtlog-3.38.so.0",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d148,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce60) = 0
1 mmap2(NULL,12324,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,0x2) = 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,0x3ff1d138,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce50) = 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/libpcre.so.1",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d128,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce40) = 0
1 mmap2(NULL,335948,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5fb000
1 mmap2(0x3f64c000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x50) = 0x3f64c000
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,0x3ff1d118,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce30) = 0
1 mmap2(NULL,102460,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5e1000
1 mmap2(0x3f5f9000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x18) = 0x3f5f9000
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,0x3ff1d108,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce20) = 0
1 mmap2(NULL,1108064,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4d2000
1 mmap2(0x3f5d4000,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x101) = 0x3f5d4000
1 mmap2(0x3f5d8000,34912,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f5d8000
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,0x3ff1d0e8,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce00) = 0
1 mmap2(NULL,266256,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f490000
1 mmap2(0x3f4d0000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x3f) = 0x3f4d0000
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,0x3ff1d0d8,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cdf0) = 0
1 mmap2(NULL,8200,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f48d000
1 mmap2(0x3f48e000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0) = 0x3f48e000
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,0x3ff1d0c8,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cde0) = 0
1 mmap2(NULL,647588,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f3ee000
1 mmap2(0x3f485000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x97) = 0x3f485000
1 mmap2(0x3f48c000,420,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f48c000
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,0x3ff1d0b8,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cdd0) = 0
1 mmap2(NULL,12316,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f3ea000
1 mmap2(0x3f3ec000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f3ec000
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,0x3ff1d0a8,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cdc0) = 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,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) = 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,0x3ff1d088,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cda0) = 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,0x3ff1d078,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cd90) = 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,0x3ff1d068,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cd80) = 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,0x3ff1d058,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cd70) = 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(0x3f5d4000,8192,PROT_READ) = 0
1 mprotect(0x3f5f9000,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(0x3f64c000,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(0x3f3ec000,4096,PROT_READ) = 0
1 mprotect(0x3f485000,24576,PROT_READ) = 0
1 mprotect(0x3f48e000,4096,PROT_READ) = 0
1 mprotect(0x3f4d0000,4096,PROT_READ) = 0
1 mprotect(0x3f734000,4096,PROT_READ) = 0
1 mprotect(0x3f7d3000,16384,PROT_READ) = 0
1 mprotect(0x40014000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 ugetrlimit(3,1072814552,1063126942,1063102212,1,1063083616) = 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,0x3ff1dcb4,0x3ff1dba4,8) = 0
1 rt_sigaction(SIGILL,0x3ff1da68,0x3ff1daf4) = 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,0x3ff1da68,NULL) = 0
1 rt_sigprocmask(SIG_SETMASK,0x3ff1dba4,NULL,8) = 0
1 brk(NULL) = 0x40015678
1 brk(0x40036678) = 0x40036678
1 brk(0x40037000) = 0x40037000
1 clock_gettime64(CLOCK_REALTIME,0x3ff1dc68) = 0 ({tv_sec=1690031725,tv_nsec=458715475})
1 write(2,0x40010868,59)Syntax: pdbtool <command> [options]
Possible commands are:
= 59
1 write(2,0x3ff1bba0,62) match Match a message against the pattern database
= 62
1 write(2,0x3ff1bba0,44) dump Dump pattern datebase tree
= 44
1 write(2,0x3ff1bba0,41) merge Merge pattern databases
= 41
1 write(2,0x3ff1bba0,40) test Test pattern databases
= 40
1 write(2,0x3ff1bba0,53) patternize Create a pattern database from logs
= 53
1 write(2,0x3ff1bba0,41) dictionary Dump pattern dictionary
= 41
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
-----------------------------------------------------------------