-----------------------------------------------------------------

[*] Initial CPU detection process of binary flash_unlock 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/flash_unlock with cpu config NONE

1 readlinkat(AT_FDCWD,"/proc/self/exe",0x4071db38,4096) = 22
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,0x4071e1ec) = 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",0x4071ead0) = 0
1 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ff45000
1 mprotect(0x00021000,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,0x4071eab4,NULL) = 0
1 rt_sigaction(33,0x4071eab4,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x4071eaf8,NULL,8) = 0
1 ugetrlimit(3,1081207524,4,1696,1073536072,16) = 0
1 ioctl(0,TCGETS,0x4071eaa4) = -1 errno=25 (Inappropriate ioctl for device)
1 ioctl(1,TCGETS,0x4071eaa4) = -1 errno=25 (Inappropriate ioctl for device)
1 write(2,0x10b84,12)flash_unlock = 12
1 write(2,0x10e90,28): error!: too few arguments
 = 28
1 write(2,0x10b91,80)Utility to lock, unlock, or check the lock status of the flash.
Default action:  = 80
1 write(2,0x10b8a,6)unlock = 6
1 write(2,0x10be3,9)

Usage:  = 9
1 write(2,0x10b84,12)flash_unlock = 12
1 write(2,0x10bee,511) [options] [--] <td device> [offset [block count]]

Options:
 -h         --help              Display this help and exit
 -V         --version           Display version information and exit
 -i         --islocked          Check if flash region is locked
 -l         --lock              Lock a region of flash
 -u         --unlock            Unlock a region of flash

If offset is not specified, it defaults to 0.
If block count is not specified, it defaults to all blocks.
A block count of -1 means all blocks.
 = 511
1 exit_group(1)
[+] CPU configuration used for flash_unlock: NONE
CPU_CONFIG_det\;NONE

-----------------------------------------------------------------