-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/bin/apmode to identify missing areas
[*] Emulating binary name: apmode 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/11108416-13869836.lzma_extract/lzma.uncompressed_extract/3761304-11775640.cpio_portable_ascii_extract (1/2)
[*] Using CPU config: NONE
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3ffe6000
1 stat("/etc/ld.so.cache",0x4071ea58) = -1 errno=2 (No such file or directory)
1 open("/lib/librt.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e154) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3ffe5000
1 read(3,0x3ffe5000,4096) = 4096
1 mmap(NULL,77824,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffd2000
1 mmap(0x3ffd2000,10372,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3ffd2000
1 mmap(0x3ffe4000,2424,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x2000) = 0x3ffe4000
1 close(3) = 0
1 munmap(0x3ffe5000,4096) = 0
1 open("/lib/libpthread.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e144) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3ffd1000
1 read(3,0x3ffd1000,4096) = 4096
1 mmap(NULL,151552,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffac000
1 mmap(0x3ffac000,74456,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3ffac000
1 mmap(0x3ffce000,1804,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x12000) = 0x3ffce000
1 mmap(0x3ffcf000,6176,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3ffcf000
1 close(3) = 0
1 munmap(0x3ffd1000,4096) = 0
1 open("/lib/libm.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e134) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3ffab000
1 read(3,0x3ffab000,4096) = 4096
1 mmap(NULL,110592,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ff90000
1 mmap(0x3ff90000,43608,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3ff90000
1 mmap(0x3ffaa000,2996,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0xa000) = 0x3ffaa000
1 close(3) = 0
1 munmap(0x3ffab000,4096) = 0
1 open("/lib/libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e124) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3ff8f000
1 read(3,0x3ff8f000,4096) = 4096
1 mmap(NULL,737280,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fedb000
1 mmap(0x3fedb000,640416,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fedb000
1 mmap(0x3ff88000,4492,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x9d000) = 0x3ff88000
1 mmap(0x3ff8a000,19628,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3ff8a000
1 close(3) = 0
1 munmap(0x3ff8f000,4096) = 0
1 open("/lib/libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e114) = 0
1 close(3) = 0
1 open("/lib/libdl.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e104) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3feda000
1 read(3,0x3feda000,4096) = 4096
1 mmap(NULL,77824,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fec7000
1 mmap(0x3fec7000,9344,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fec7000
1 mmap(0x3fed9000,1436,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x2000) = 0x3fed9000
1 close(3) = 0
1 munmap(0x3feda000,4096) = 0
1 open("/lib/libpthread.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e0f4) = 0
1 close(3) = 0
1 stat("/lib/ld-uClibc.so.0",0x4071e9e8) = 0
1 open("/lib/libdl.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e0d4) = 0
1 close(3) = 0
1 open("/lib/libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e0c4) = 0
1 close(3) = 0
1 open("/lib/libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e0b4) = 0
1 close(3) = 0
1 open("/lib/libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e094) = 0
1 close(3) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3fec6000
1 set_thread_area(0x3fecd460) = 0
1 open("/dev/urandom",O_RDONLY) = 3
1 read(3,0x4071ec58,4) = 4
1 close(3) = 0
1 set_tid_address(0x3fec6068) = 1
1 set_robust_list(0x3fec6070,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x4071e9d0,NULL) = 0
1 rt_sigaction(33,0x4071e9d0,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x4071e9d8,NULL,16) = 0
1 getrlimit(3,0x4071e9ec) = 0
1 ioctl(0,TCGETS,0x4071e978) = -1 errno=25 (Inappropriate ioctl for device)
1 ioctl(1,TCGETS,0x4071e978) = -1 errno=25 (Inappropriate ioctl for device)
1 write(1,0x3ff8b6a0,81)Usage:
apmode [options 1] [options 2] [..]
supported options:
--ssid <ssid>
= 81
1 exit_group(0)
[*] Identification of missing filesytem areas.
[*] No missing areas found.
-----------------------------------------------------------------