-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/sbin/iw to identify missing areas
[*] Emulating binary name: iw in strace mode to identify missing areas (with jchroot)
[*] Emulator used: qemu-mipsel-static
[*] Chroot environment used: jchroot
[*] Using root directory: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract (1/1)
[*] Using CPU config:
1 brk(NULL) = 0x00421458
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffc8000
1 uname(0x4071e740) = 0
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_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/tls/libm.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e4c4,512) = 512
1 prctl(46,9,1081205956,512,1073770496,0) = 0
1 _llseek(3,0,648,0x4071e280,SEEK_SET) = 0
1 read(3,0x4071e2b0,32) = 32
1 fstat64(3,0x4071e388) = 0
1 mmap2(NULL,1061936,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3fec4000
1 mprotect(0x3ffb7000,61440,PROT_NONE) = 0
1 mmap2(0x3ffc6000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xf2) = 0x3ffc6000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libnl-tiny.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e4ac,512) = 512
1 prctl(46,8,1081205932,512,1073770496,0) = 0
1 fstat64(3,0x4071e370) = 0
1 mmap2(NULL,91168,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3fead000
1 mprotect(0x3feb3000,61440,PROT_NONE) = 0
1 mmap2(0x3fec2000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x5) = 0x3fec2000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgcc_s.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e494,512) = 512
1 prctl(46,9,1081205908,512,1073770496,0) = 0
1 fstat64(3,0x4071e358) = 0
1 mmap2(NULL,144160,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3fe89000
1 mprotect(0x3fe9c000,61440,PROT_NONE) = 0
1 mmap2(0x3feab000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x12) = 0x3feab000
1 mprotect(0x4071e000,4096,PROT_EXEC|PROT_READ|PROT_WRITE|PROT_GROWSDOWN) = 0
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e47c,512) = 512
1 prctl(46,13,1081205884,512,1073770496,0) = 0
1 _llseek(3,0,792,0x4071e238,SEEK_SET) = 0
1 read(3,0x4071e268,32) = 32
1 fstat64(3,0x4071e340) = 0
1 mmap2(NULL,1630336,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3fcfa000
1 mprotect(0x3fe70000,61440,PROT_NONE) = 0
1 mmap2(0x3fe7f000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x175) = 0x3fe7f000
1 mmap2(0x3fe86000,8320,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3fe86000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fcf8000
1 set_thread_area(0x3fcff4a0) = 0
1 mprotect(0x3fe7f000,16384,PROT_READ) = 0
1 mprotect(0x3feab000,4096,PROT_READ) = 0
1 mprotect(0x3fec2000,4096,PROT_READ) = 0
1 mprotect(0x3ffc6000,4096,PROT_READ) = 0
1 mprotect(0x0041f000,4096,PROT_READ) = 0
1 mprotect(0x3fffe000,4096,PROT_READ) = 0
1 fstat64(1,0x4071e780) = 0
1 brk(NULL) = 0x00421458
1 brk(0x00442458) = 0x00442458
1 brk(0x00443000) = 0x00443000
1 write(1,0x4215a8,4096)Usage: ./usr/sbin/iw [options] command
Options:
--debug enable netlink debugging
--version show version (5.0.1)
Commands:
help [command]
event [-t|-r] [-f]
features
phy
list
phy <phyname> info
phy <phyname> channels
dev
dev <devname> info
dev <devname> del
dev <devname> interface add <name> type <type> [mesh_id <eshid>] [4addr on|off] [flags <flag>*] [addr <ac-addr>]
phy <phyname> interface add <name> type <type> [mesh_id <eshid>] [4addr on|off] [flags <flag>*] [addr <ac-addr>]
dev <devname> ibss join <SSID> <freq in MHz> [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz] [fixed-freq] [<fixed bssid>] [beacon-interval <TU>] [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rate in Mbps>] [key d:0:abcde]
dev <devname> ibss leave
dev <devname> station dump [-v]
dev <devname> station set <MAC address> vlan <ifindex>
dev <devname> station del <MAC address> [subtype <subtype>] [reason-code <code>]
dev <devname> station get <MAC address>
dev <devname> survey dump
dev <devname> mesh leave
dev <devname> mesh join <esh ID> [[freq <freq in MHz> <NOHT|HT20|HT40+|HT40-|80MHz>] [basic-rates <rate in Mbps,rate2,...>]], [mcast-rate <rate in Mbps>] [beacon-interval <time in TUs>] [dtim-period <value>] [vendor_sync on|off] [<param>=<value>]*
dev <devname> mpath dump
dev <devname> mpath set <destination MAC address> next_hop <next hop MAC address>
dev <devname> mpath new <destination MAC address> next_hop <next hop MAC address>
dev <devname> mpath del <MAC address>
dev <devname> mpath get <MAC address>
dev <devname> mpp dump
dev <devname> mpp get <MAC address>
dev <devname> scan [-u] [freq <freq>*] [duration <dur>] [ies <hex as 00:11:..>] [meshid <eshid>] [lowpri,flush,ap-force,duration-mandatory] [randomise[=<addr>/<ask>]] [ssid <ssid>*|passive]
dev <devname> scan abort
dev <devname> scan trigger [freq <freq>*] [duration <dur>] [ies <hex as 00:11:..>] [meshid <eshid>] [lowpri,flush,ap-force,duration-mandatory] [randomise[=<addr>/<ask>]] [ssid <ssid>*|passive]
dev <devname> scan dump [-u]
reg reload
phy <phyname> reg get
reg get
reg set <ISO/IEC 3166-1 alpha2>
dev <devname> auth <SSID> <bssid> <type:open|shared> <freq in MHz> [key 0:abcde d:1:6162636465]
dev <devname> connect [-w] <SSID> [<freq in MHz>] [<bssid>] [key 0:abcde d:1:6162636465] [mfp:req/opt/no]
dev <devname> disconnect
dev <devname> link
phy <phyname> set antenna_gain <antenna gain in dBm>
phy <phyname> set txq limit <packets> | memory_limit <bytes> | quantum <bytes>
phy <phyname> set antenna <bitmap> | all | <tx bitmap> <rx bitmap>
dev <devname> set txpower <auto|fixed|limit> [<tx power in mBm>]
phy <phyname> set txpower <auto|fixed|limit> [<tx power in mBm>]
phy <phyname> set distance <auto|distance>
phy <phyname> set coverage <coverage class>
phy <phyname> set netns { <pid> | name <nsname> }
phy <phyname> set retry [short <limit>] [long <limit>]
phy <phyname> set rts <rts threshold|off>
phy <phyname> set frag <fragmentation threshold|off>
dev <devname> set channel <channel> [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz]
phy <phyname> set channel <channel> [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz]
dev <devname> set freq <freq> [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz]
dev <devname> set freq <control freq> [5|10|20|40|80|80+80|160] [<center1_freq> [<center2_freq>]]
phy <phyname> set freq <freq> [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz]
phy <phyname> set freq <control freq> [5|10|20|40|80|80+80|160] [<center1_freq> [<center2_freq>]]
phy <phyname> set name <new name>
dev <devname> set mcast_rate <rate in Mbps>
dev <devname> set noack_map <ap>
dev <devname> set 4addr <on|off>
dev <devname> set type <type>
dev <devname> set meshid <eshid>
dev <devname> set monitor <flag>*
dev <devname> set mesh_param <param>=<value> [<param>=<value>]*
dev <devname> set power_save <on|off>
dev <devname> set bitrates [legacy-<2.4|5> <legacy rate in Mbps>*] [ht-mcs-<2.4|5> <MCS index>*] [vht-mcs-<2.4|5> <NSS:MCSx,MCSy... | NSS:MCSx-MCSy>*] [sgi-2.4|lgi-2.4] [sgi-5|lgi-5]
phy <phyname> get txq
dev <devname> get mesh_param [<param>] = 4096
1 write(1,0x4215a8,338)
dev <devname> get power_save <param>
Commands that use the netdev ('dev') can also be given the
'wdev' instead to identify the device.
You can omit the 'phy' or 'dev' if the identification is unique,
e.g. "iw wlan0 info" or "iw phy0 info". (Don't when scripting.)
Do NOT screenscrape this tool, we don't consider its output stable.
= 338
1 exit_group(0)
[*] 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/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/ld.so.cache
-----------------------------------------------------------------