-----------------------------------------------------------------
[*] Initial CPU detection process of binary mtdinfo with CPU configuration NONE.
[*] Emulator used: qemu-arm-static
[*] Using root directory: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract (1/1)
[*] Trying to emulate binary ./usr/sbin/mtdinfo with cpu config NONE
1 readlinkat(AT_FDCWD,"/proc/self/exe",0x4071db68,4096) = 17
1 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffe6000
1 open("/lib//libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e21c) = 0
1 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffe5000
1 read(3,0x3ffe5000,4096) = 4096
1 mmap2(NULL,651264,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ff46000
1 mmap2(0x3ff46000,486668,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3ff46000
1 mmap2(0x3ffcd000,4852,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x77) = 0x3ffcd000
1 mmap2(0x3ffcf000,88104,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3ffcf000
1 close(3) = 0
1 munmap(0x3ffe5000,4096) = 0
1 stat("/lib/ld-uClibc.so.0",0x4071eb00) = 0
1 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ff45000
1 mprotect(0x00027000,4096,PROT_READ) = 0
1 mprotect(0x3ffcd000,4096,PROT_READ) = 0
1 mprotect(0x3fffe000,4096,PROT_READ) = 0
1 set_tid_address(0x3ff45068) = 1
1 set_robust_list(0x3ff4506c,12) = -1 errno=38 (Function not implemented)
1 rt_sigaction(32,0x4071eae4,NULL) = 0
1 rt_sigaction(33,0x4071eae4,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x4071eb28,NULL,8) = 0
1 ugetrlimit(3,1081207572,4,1696,1073536072,16) = 0
1 ioctl(0,TCGETS,0x4071ead4) = -1 errno=25 (Inappropriate ioctl for device)
1 ioctl(1,TCGETS,0x4071ead4) = -1 errno=25 (Inappropriate ioctl for device)
1 brk(NULL) = 0x000280ec
1 brk(0x000290ec) = 0x000290ec
1 brk(0x0002a000) = 0x0002a000
1 open("/sys/class/mtd",O_RDONLY|O_DIRECTORY|O_NONBLOCK|O_CLOEXEC) = 3
1 fstat64(3,0x4071eae8) = 0
1 fcntl(3,F_SETFD,1) = 0
1 getdents64(3,0x4071db60,4096) = 104
1 close(3) = 0
1 open("/sys/class/mtd/mtd0/name",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 close(3) = 0
1 open("/sys/class/mtd",O_RDONLY|O_DIRECTORY|O_NONBLOCK|O_CLOEXEC) = 3
1 fstat64(3,0x4071eb28) = 0
1 fcntl(3,F_SETFD,1) = 0
1 getdents64(3,0x4071dba0,4096) = 104
1 getdents64(3,0x4071dba0,4096) = 0
1 close(3) = 0
1 stat64("/sys/class/mtd/mtd0",0x4071ea68) = 0
1 open("/sys/class/mtd/mtd0/dev",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x4071eb2c,50) = 5
1 read(3,0x4071eab4,1) = 0
1 close(3) = 0
1 open("/sys/class/mtd/mtd0/name",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x4071ec61,128) = 5
1 read(3,0x4071eae4,1) = 0
1 close(3) = 0
1 open("/sys/class/mtd/mtd0/type",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x4071ec20,65) = 4
1 read(3,0x4071eae4,1) = 0
1 close(3) = 0
1 open("/sys/class/mtd/mtd0/erasesize",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x4071eab4,50) = 5
1 close(3) = 0
1 open("/sys/class/mtd/mtd0/size",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x4071eae4,50) = 9
1 close(3) = 0
1 open("/sys/class/mtd/mtd0/writesize",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x4071eab4,50) = 2
1 close(3) = 0
1 open("/sys/class/mtd/mtd0/subpagesize",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x4071eaac,50) = 2
1 close(3) = 0
1 open("/sys/class/mtd/mtd0/oobsize",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x4071eab4,50) = 2
1 close(3) = 0
1 open("/sys/class/mtd/mtd0/oobavail",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x4071eab4,50) = 2
1 close(3) = 0
1 open("/sys/class/mtd/mtd0/numeraseregions",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x4071eaac,50) = 2
1 close(3) = 0
1 open("/sys/class/mtd/mtd0/flags",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x4071eba4,50) = 6
1 close(3) = 0
1 write(1,0x3ffcf6cc,107)Count of MTD devices: 1
Present MTD devices: mtd0
Sysfs interface supported: yes
= 107
1 exit_group(0)
[+] CPU configuration used for mtdinfo: NONE
CPU_CONFIG_det\;NONE
-----------------------------------------------------------------