-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/sbin/ip.iproute2 to identify missing areas
[*] Emulating binary name: ip.iproute2 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) = 0x400c8bd8
1 uname(0x3ff1d8e0) = 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,0x3ff1d8b0) = 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/libelf.so.1",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,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7ce000
1 mmap2(NULL,131088,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f7ad000
1 mprotect(0x3f7bc000,65536,PROT_NONE) = 0
1 mmap2(0x3f7cc000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xf) = 0x3f7cc000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libmnl.so.0",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/libmnl.so.0",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,77832,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f799000
1 mprotect(0x3f79c000,61440,PROT_NONE) = 0
1 mmap2(0x3f7ab000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f7ab000
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,0x3ff1d1d0,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cf18) = 0
1 mmap2(NULL,86052,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f783000
1 mprotect(0x3f788000,61440,PROT_NONE) = 0
1 mmap2(0x3f797000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x4) = 0x3f797000
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,0x3ff1d1c0,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cf08) = 0
1 mmap2(NULL,1148532,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f66a000
1 mprotect(0x3f767000,61440,PROT_NONE) = 0
1 mmap2(0x3f776000,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xfc) = 0x3f776000
1 mmap2(0x3f77a000,34420,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f77a000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libz.so.1",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,126984,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f64a000
1 mprotect(0x3f659000,61440,PROT_NONE) = 0
1 mmap2(0x3f668000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xe) = 0x3f668000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f648000
1 set_tid_address(0x3f648078) = 1
1 set_robust_list(0x3f648080,12) = -1 errno=38 (Function not implemented)
1 mprotect(0x3f776000,8192,PROT_READ) = 0
1 mprotect(0x3f668000,4096,PROT_READ) = 0
1 mprotect(0x3f797000,4096,PROT_READ) = 0
1 mprotect(0x3f7ab000,4096,PROT_READ) = 0
1 mprotect(0x3f7cc000,4096,PROT_READ) = 0
1 mprotect(0x4007d000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 ugetrlimit(3,1072814712,1064813876,1064838578,1,1064795748) = 0
1 prctl(23,32,0,1064927236,32,0) = 1
1 prctl(23,48,0,1064927236,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 getuid32(1074257084,1072815460,1074257084,0,1,1072815460) = 0
1 socket(PF_NETLINK,SOCK_RAW|SOCK_CLOEXEC,NETLINK_ROUTE) = 3
1 setsockopt(3,1,7,0x3ff1db84,0x4) = 0
1 setsockopt(3,1,8,0x4008154c,0x4) = 0
1 setsockopt(3,270,11,0x3ff1db88,0x4) = 0
1 bind(3,{nl_family=AF_NETLINK,nl_pid=0,nl_groups=0}, 12) = 0
1 getsockname(3,0x4007e010,0x3ff1db80) = 0
1 clock_gettime64(CLOCK_REALTIME_COARSE,0x3ff1db60) = 0 ({tv_sec=1690035872,tv_nsec=131979765})
1 setsockopt(3,270,12,0x3ff1dba0,0x4) = 0
1 close(3) = 0
1 write(2,0x40055be4,969)Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }
ip [ -force ] -batch filename
where OBJECT := { address | addrlabel | fou | help | ila | l2tp | link |
macsec | maddress | monitor | mptcp | mroute | mrule |
neighbor | neighbour | netconf | netns | nexthop | ntable |
ntbl | route | rule | sr | tap | tcpmetrics |
token | tunnel | tuntap | vrf | xfrm }
OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |
-h[uman-readable] | -iec | -j[son] | -p[retty] |
-f[amily] { inet | inet6 | mpls | bridge | link } |
-4 | -6 | -I | -D | -M | -B | -0 |
-l[oops] { maximum-addr-flush-attempts } | -br[ief] |
-o[neline] | -t[imestamp] | -ts[hort] | -b[atch] [filename] |
-rc[vbuf] [size] | -n[etns] name | -N[umeric] | -a[ll] |
-c[olor]}
= 969
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/tls/v8l/neon/vfp/libmnl.so.0
[*] Trying to identify this missing file: libmnl.so.0
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/lib/libmnl.so.0
[*] Copy file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/lib/libmnl.so.0 to /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/lib/tls/v8l/neon/vfp/
-----------------------------------------------------------------