-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/sbin/wpa_supplicant to identify missing areas
[*] Emulating binary name: wpa_supplicant 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) = 0x00479940
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffc8000
1 uname(0x4071e6c0) = 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/librt.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e444,512) = 512
1 prctl(46,10,1081205828,512,1073770496,0) = 0
1 _llseek(3,0,704,0x4071e200,SEEK_SET) = 0
1 read(3,0x4071e230,32) = 32
1 fstat64(3,0x4071e308) = 0
1 mmap2(NULL,94912,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ffb0000
1 mprotect(0x3ffb7000,61440,PROT_NONE) = 0
1 mmap2(0x3ffc6000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3ffc6000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libubox.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e42c,512) = 512
1 prctl(46,8,1081205804,512,1073770496,0) = 0
1 fstat64(3,0x4071e2f0) = 0
1 mmap2(NULL,99696,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff97000
1 mprotect(0x3ff9f000,61440,PROT_NONE) = 0
1 mmap2(0x3ffae000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x7) = 0x3ffae000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libubus.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e414,512) = 512
1 prctl(46,8,1081205780,512,1073770496,0) = 0
1 fstat64(3,0x4071e2d8) = 0
1 mmap2(NULL,82560,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff82000
1 mprotect(0x3ff86000,61440,PROT_NONE) = 0
1 mmap2(0x3ff95000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x3) = 0x3ff95000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libm.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e3fc,512) = 512
1 prctl(46,9,1081205756,512,1073770496,0) = 0
1 _llseek(3,0,648,0x4071e1b8,SEEK_SET) = 0
1 read(3,0x4071e1e8,32) = 32
1 fstat64(3,0x4071e2c0) = 0
1 mmap2(NULL,1061936,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3fe7e000
1 mprotect(0x3ff71000,61440,PROT_NONE) = 0
1 mmap2(0x3ff80000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xf2) = 0x3ff80000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libnl-tiny.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e3e4,512) = 512
1 prctl(46,8,1081205732,512,1073770496,0) = 0
1 fstat64(3,0x4071e2a8) = 0
1 mmap2(NULL,91168,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3fe67000
1 mprotect(0x3fe6d000,61440,PROT_NONE) = 0
1 mmap2(0x3fe7c000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x5) = 0x3fe7c000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgcc_s.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e3cc,512) = 512
1 prctl(46,9,1081205708,512,1073770496,0) = 0
1 fstat64(3,0x4071e290) = 0
1 mmap2(NULL,144160,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3fe43000
1 mprotect(0x3fe56000,61440,PROT_NONE) = 0
1 mmap2(0x3fe65000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x12) = 0x3fe65000
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,0x4071e3b4,512) = 512
1 prctl(46,13,1081205684,512,1073770496,0) = 0
1 _llseek(3,0,792,0x4071e170,SEEK_SET) = 0
1 read(3,0x4071e1a0,32) = 32
1 fstat64(3,0x4071e278) = 0
1 mmap2(NULL,1630336,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3fcb4000
1 mprotect(0x3fe2a000,61440,PROT_NONE) = 0
1 mmap2(0x3fe39000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x175) = 0x3fe39000
1 mmap2(0x3fe40000,8320,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3fe40000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e304,512) = 512
1 prctl(46,12,1081205508,512,1073770496,0) = 0
1 _llseek(3,0,768,0x4071e0b8,SEEK_SET) = 0
1 read(3,0x4071e0e8,32) = 32
1 fstat64(3,0x4071e1c8) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fcb2000
1 mmap2(NULL,181232,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3fc85000
1 mprotect(0x3fc9f000,61440,PROT_NONE) = 0
1 mmap2(0x3fcae000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3fcae000
1 mmap2(0x3fcb0000,5104,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3fcb0000
1 close(3) = 0
1 set_thread_area(0x3fcba480) = 0
1 mprotect(0x3fe39000,16384,PROT_READ) = 0
1 mprotect(0x3fcae000,4096,PROT_READ) = 0
1 mprotect(0x3fe65000,4096,PROT_READ) = 0
1 mprotect(0x3fe7c000,4096,PROT_READ) = 0
1 mprotect(0x3ff80000,4096,PROT_READ) = 0
1 mprotect(0x3ffae000,4096,PROT_READ) = 0
1 mprotect(0x3ff95000,4096,PROT_READ) = 0
1 mprotect(0x3ffc6000,4096,PROT_READ) = 0
1 mprotect(0x00478000,4096,PROT_READ) = 0
1 mprotect(0x3fffe000,4096,PROT_READ) = 0
1 set_tid_address(0x3fcb3058) = 1
1 set_robust_list(0x3fcb3060,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x4071ed08,NULL) = 0
1 rt_sigaction(33,0x4071ed08,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x4071ed50,NULL,16) = 0
1 getrlimit(3,0x4071edd8) = 0
1 brk(NULL) = 0x00479940
1 brk(0x0049a940) = 0x0049a940
1 brk(0x0049b000) = 0x0049b000
1 openat(AT_FDCWD,"/dev/null",O_RDWR) = 3
1 close(3) = 0
1 clock_gettime(CLOCK_BOOTTIME,0x4071eaf0) = 0 ({tv_sec = 299229,tv_nsec = 477191114})
1 fstat64(1,0x4071e4e0) = 0
1 write(1,0x479ee8,40)Successfully initialized wpa_supplicant
= 40
1 write(1,0x479ee8,32)wpa_supplicant v2.7-hostap_2_7+
= 32
1 write(1,0x479ee8,67)Copyright (c) 2003-2018, Jouni Malinen <j@w1.fi> and contributors
= 67
1 write(1,0x479ee8,98)This software may be distributed under the terms of the BSD license.
See README for more details.
= 98
1 write(1,0x479ee8,428)
usage:
wpa_supplicant [-BddhKLqqstvW] [-P<pid file>] [-g<global ctrl>] \
[-G<group>] \
-i<ifname> -c<config file> [-C<ctrl>] [-D<driver>] [-H<hostapd path>] [-p<driver_param>] \
[-b<br_ifname>] [-e<entropy file>] \
[-o<override driver>] [-O<override ctrl>] \
[-N -i<ifname> -c<conf> [-C<ctrl>] [-D<driver>] \
[-p<driver_param>] [-b<br_ifname>] [-I<config file>] ...]
drivers:
= 428
1 write(1,0x479ee8,35) nl80211 = Linux nl80211/cfg80211
= 35
1 write(1,0x479ee8,32) wired = Wired Ethernet driver
= 32
1 write(1,0x479ee8,940)options:
-b = optional bridge interface name
-B = run daemon in the background
-c = Configuration file
-C = ctrl_interface parameter (only used if -c is not)
-d = increase debugging verbosity (-dd even more)
-D = driver name (can be multiple drivers: nl80211,wext)
-e = entropy file
-g = global ctrl_interface
-G = global ctrl_interface group
-h = show this help text
-H = connect to a hostapd instance to manage state changes
-i = interface name
-I = additional configuration file
-K = include keys (passwords, etc.) in debug output
-L = show license (BSD)
-N = start describing new interface
-o = override driver parameter for new interfaces
-O = override ctrl_interface parameter for new interfaces
-p = driver parameters
-P = PID file
-q = decrease debugging verbosity (-qq even less)
-s = log output to syslog instead of stdout
-t = include timestamp in debug messages
-v = show version
= 940
1 write(1,0x479ee8,60) -W = wait for a control interface monitor before starting
= 60
1 write(1,0x479ee8,9)example:
= 9
1 write(1,0x479ee8,62) wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_supplicant.conf
= 62
1 clock_gettime(CLOCK_BOOTTIME,0x4071ead8) = 0 ({tv_sec = 299229,tv_nsec = 490579678})
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/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/ld.so.cache
-----------------------------------------------------------------