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

[*] Initial CPU detection process of binary digest-mgmt with CPU configuration .

[*] Emulator used: qemu-mipsel-static
[*] Using root directory: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract (1/2)

[*] Trying to emulate binary ./usr/bin/digest-mgmt with cpu config NONE

[-] Emulation process of binary digest-mgmt with CPU configuration  failed
[*] Trying to emulate binary ./usr/bin/digest-mgmt with cpu config 4Kc

[-] Emulation process of binary digest-mgmt with CPU configuration 4Kc failed
[*] Trying to emulate binary ./usr/bin/digest-mgmt with cpu config 4Km

[-] Emulation process of binary digest-mgmt with CPU configuration 4Km failed
[*] Trying to emulate binary ./usr/bin/digest-mgmt with cpu config 4KEcR1

[-] Emulation process of binary digest-mgmt with CPU configuration 4KEcR1 failed
[*] Trying to emulate binary ./usr/bin/digest-mgmt with cpu config 4KEmR1

[-] Emulation process of binary digest-mgmt with CPU configuration 4KEmR1 failed
[*] Trying to emulate binary ./usr/bin/digest-mgmt with cpu config 4KEc

[-] Emulation process of binary digest-mgmt with CPU configuration 4KEc failed
[*] Trying to emulate binary ./usr/bin/digest-mgmt with cpu config 4KEm

[-] Emulation process of binary digest-mgmt with CPU configuration 4KEm failed
[*] Trying to emulate binary ./usr/bin/digest-mgmt with cpu config 24Kc

[-] Emulation process of binary digest-mgmt with CPU configuration 24Kc failed
[*] Trying to emulate binary ./usr/bin/digest-mgmt with cpu config 24KEc

[-] Emulation process of binary digest-mgmt with CPU configuration 24KEc failed
[*] Trying to emulate binary ./usr/bin/digest-mgmt with cpu config 24Kf

[-] Emulation process of binary digest-mgmt with CPU configuration 24Kf failed
[*] Trying to emulate binary ./usr/bin/digest-mgmt with cpu config 34Kf

[-] Emulation process of binary digest-mgmt with CPU configuration 34Kf failed
[*] Trying to emulate binary ./usr/bin/digest-mgmt with cpu config 74Kf

[-] Emulation process of binary digest-mgmt with CPU configuration 74Kf failed
[*] Trying to emulate binary ./usr/bin/digest-mgmt with cpu config M14K

[-] Emulation process of binary digest-mgmt with CPU configuration M14K failed
[*] Trying to emulate binary ./usr/bin/digest-mgmt with cpu config M14Kc

[-] Emulation process of binary digest-mgmt with CPU configuration M14Kc failed
[*] Trying to emulate binary ./usr/bin/digest-mgmt with cpu config P5600

[-] Emulation process of binary digest-mgmt with CPU configuration P5600 failed
[*] Trying to emulate binary ./usr/bin/digest-mgmt with cpu config mips32r6-generic

[-] Emulation process of binary digest-mgmt with CPU configuration mips32r6-generic failed
[*] Trying to emulate binary ./usr/bin/digest-mgmt with cpu config I7200

[-] Emulation process of binary digest-mgmt with CPU configuration I7200 failed

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


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

[*] Initial CPU detection process of binary digest-mgmt with CPU configuration 24KEc.

[*] Emulator used: qemu-mipsel-static
[*] Using root directory: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr (2/2)

[*] Trying to emulate binary ./bin/digest-mgmt with cpu config 24KEc

1 brk(NULL) = 0x400110a0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d6d0) = 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/libdigest-mgmt.so",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 stat64("/lib/tls",0x3ff1d320) = 0
1 openat(AT_FDCWD,"/lib/libdigest-mgmt.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d464,512) = 512
1 prctl(46,1072813432,1072813156,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d320) = 0
1 mmap2(NULL,78080,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f7b3000
1 mprotect(0x3f7b6000,61440,PROT_NONE) = 0
1 mmap2(0x3f7c5000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f7c5000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d454,512) = 512
1 prctl(46,1072813576,1072813140,512,1065377792,0) = 0
1 _llseek(3,0,760,0x3ff1d228,SEEK_SET) = 0
1 read(3,0x3ff1d258,32) = 32
1 fstat64(3,0x3ff1d310) = 0
1 mmap2(NULL,1593152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f62e000
1 mprotect(0x3f79b000,61440,PROT_NONE) = 0
1 mmap2(0x3f7aa000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f7aa000
1 mmap2(0x3f7b1000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f7b1000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libaprutil-1.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d394,512) = 512
1 prctl(46,1072813224,1072812948,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d250) = 0
1 mmap2(NULL,239312,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5f3000
1 mprotect(0x3f61c000,65536,PROT_NONE) = 0
1 mmap2(0x3f62c000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x29) = 0x3f62c000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libapr-1.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d384,512) = 512
1 prctl(46,1072813240,1072812932,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d240) = 0
1 mmap2(NULL,301280,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5a9000
1 mprotect(0x3f5e2000,61440,PROT_NONE) = 0
1 mmap2(0x3f5f1000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x38) = 0x3f5f1000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libbootblock.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d374,512) = 512
1 prctl(46,1072813192,1072812916,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d230) = 0
1 mmap2(NULL,78064,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f595000
1 mprotect(0x3f598000,61440,PROT_NONE) = 0
1 mmap2(0x3f5a7000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f5a7000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libexpat.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2b4,512) = 512
1 prctl(46,1072813032,1072812724,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d170) = 0
1 mmap2(NULL,307440,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f549000
1 mprotect(0x3f583000,61440,PROT_NONE) = 0
1 mmap2(0x3f592000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x39) = 0x3f592000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libuuid.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2a4,512) = 512
1 prctl(46,1072813048,1072812708,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d160) = 0
1 mmap2(NULL,94560,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f531000
1 mprotect(0x3f538000,61440,PROT_NONE) = 0
1 mmap2(0x3f547000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f547000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/librt.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d294,512) = 512
1 prctl(46,1072813032,1072812692,512,1065377792,0) = 0
1 _llseek(3,0,704,0x3ff1d068,SEEK_SET) = 0
1 read(3,0x3ff1d098,32) = 32
1 fstat64(3,0x3ff1d150) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f52f000
1 mmap2(NULL,94928,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f517000
1 mprotect(0x3f51e000,61440,PROT_NONE) = 0
1 mmap2(0x3f52d000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f52d000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libcrypt.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d284,512) = 512
1 prctl(46,1072812984,1072812676,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d050,SEEK_SET) = 0
1 read(3,0x3ff1d080,32) = 32
1 fstat64(3,0x3ff1d140) = 0
1 mmap2(NULL,262716,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4d6000
1 mprotect(0x3f4df000,61440,PROT_NONE) = 0
1 mmap2(0x3f4ee000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x8) = 0x3f4ee000
1 mmap2(0x3f4f0000,156220,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f4f0000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d274,512) = 512
1 prctl(46,1072813064,1072812660,512,1065377792,0) = 0
1 _llseek(3,0,768,0x3ff1d040,SEEK_SET) = 0
1 read(3,0x3ff1d070,32) = 32
1 fstat64(3,0x3ff1d130) = 0
1 mmap2(NULL,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4a9000
1 mprotect(0x3f4c3000,61440,PROT_NONE) = 0
1 mmap2(0x3f4d2000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f4d2000
1 mmap2(0x3f4d4000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f4d4000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libdl.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d264,512) = 512
1 prctl(46,1072812952,1072812644,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d038,SEEK_SET) = 0
1 read(3,0x3ff1d068,32) = 32
1 fstat64(3,0x3ff1d120) = 0
1 mmap2(NULL,73968,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f496000
1 mprotect(0x3f498000,61440,PROT_NONE) = 0
1 mmap2(0x3f4a7000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f4a7000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f494000
1 set_thread_area(0x3f49b4a0) = 0
1 mprotect(0x3f7aa000,16384,PROT_READ) = 0
1 mprotect(0x3f4a7000,4096,PROT_READ) = 0
1 mprotect(0x3f4d2000,4096,PROT_READ) = 0
1 mprotect(0x3f4ee000,4096,PROT_READ) = 0
1 mprotect(0x3f52d000,4096,PROT_READ) = 0
1 mprotect(0x3f547000,4096,PROT_READ) = 0
1 mprotect(0x3f592000,8192,PROT_READ) = 0
1 mprotect(0x3f5a7000,4096,PROT_READ) = 0
1 mprotect(0x3f5f1000,4096,PROT_READ) = 0
1 mprotect(0x3f62c000,4096,PROT_READ) = 0
1 mprotect(0x3f7c5000,4096,PROT_READ) = 0
1 mprotect(0x40010000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 set_tid_address(0x3f494078) = 1
1 set_robust_list(0x3f494080,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x3ff1dd20,NULL) = 0
1 rt_sigaction(33,0x3ff1dd20,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x3ff1dd68,NULL,16) = 0
1 getrlimit(3,0x3ff1ddf0) = 0
1 brk(NULL) = 0x400110a0
1 brk(0x400320a0) = 0x400320a0
1 brk(0x40033000) = 0x40033000
1 fstat64(1,0x3ff1db60) = 0
1 write(1,0x40017130,116)Usage:
'digest-mgmt set user password': Add/update user
'digest-mgmt init': Create new digest file with a root user
 = 116
1 exit_group(1)
[+] CPU configuration used for digest-mgmt: 24KEc
CPU_CONFIG_det\KEc

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