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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

1 brk(NULL) = 0x40012120
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d6e0) = 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/libevent2.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d474,512) = 512
1 prctl(46,1072813448,1072813172,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d330) = 0
1 mmap2(NULL,243472,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f78b000
1 mprotect(0x3f7b6000,61440,PROT_NONE) = 0
1 mmap2(0x3f7c5000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2a) = 0x3f7c5000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libglib-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d464,512) = 512
1 prctl(46,1072813464,1072813156,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d320) = 0
1 mmap2(NULL,1257552,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f657000
1 mprotect(0x3f778000,61440,PROT_NONE) = 0
1 mmap2(0x3f787000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x120) = 0x3f787000
1 mmap2(0x3f78a000,80,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f78a000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d454,512) = 512
1 prctl(46,1072813544,1072813140,512,1065377792,0) = 0
1 _llseek(3,0,768,0x3ff1d220,SEEK_SET) = 0
1 read(3,0x3ff1d250,32) = 32
1 fstat64(3,0x3ff1d310) = 0
1 mmap2(NULL,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f62a000
1 mprotect(0x3f644000,61440,PROT_NONE) = 0
1 mmap2(0x3f653000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f653000
1 mmap2(0x3f655000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f655000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d444,512) = 512
1 prctl(46,1072813560,1072813124,512,1065377792,0) = 0
1 _llseek(3,0,760,0x3ff1d218,SEEK_SET) = 0
1 read(3,0x3ff1d248,32) = 32
1 fstat64(3,0x3ff1d300) = 0
1 mmap2(NULL,1593152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4a5000
1 mprotect(0x3f612000,61440,PROT_NONE) = 0
1 mmap2(0x3f621000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f621000
1 mmap2(0x3f628000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f628000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgobject-2.0.so.0",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,446160,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f438000
1 mprotect(0x3f493000,65536,PROT_NONE) = 0
1 mmap2(0x3f4a3000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x5b) = 0x3f4a3000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libglib-utils.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d364,512) = 512
1 prctl(46,1072813176,1072812900,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d220) = 0
1 mmap2(NULL,106016,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f41e000
1 mprotect(0x3f423000,61440,PROT_NONE) = 0
1 mmap2(0x3f432000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x4) = 0x3f432000
1 mmap2(0x3f434000,15904,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f434000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libxmlnode.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d354,512) = 512
1 prctl(46,1072813160,1072812884,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d210) = 0
1 mmap2(NULL,82192,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f409000
1 mprotect(0x3f40d000,61440,PROT_NONE) = 0
1 mmap2(0x3f41c000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x3) = 0x3f41c000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libsystemd.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d344,512) = 512
1 prctl(46,1072813176,1072812868,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d200) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f407000
1 mmap2(NULL,814232,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f340000
1 mprotect(0x3f3f3000,61440,PROT_NONE) = 0
1 mmap2(0x3f402000,20480,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xb2) = 0x3f402000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpcre.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d334,512) = 512
1 prctl(46,1072813128,1072812852,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1f0) = 0
1 mmap2(NULL,545216,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f2ba000
1 mprotect(0x3f32f000,61440,PROT_NONE) = 0
1 mmap2(0x3f33e000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x74) = 0x3f33e000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libffi.so.7",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d324,512) = 512
1 prctl(46,1072813144,1072812836,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1e0) = 0
1 mmap2(NULL,95072,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f2a2000
1 mprotect(0x3f2a9000,61440,PROT_NONE) = 0
1 mmap2(0x3f2b8000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f2b8000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libconfutils.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d314,512) = 512
1 prctl(46,1072813096,1072812820,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1d0) = 0
1 mmap2(NULL,82256,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f28d000
1 mprotect(0x3f291000,61440,PROT_NONE) = 0
1 mmap2(0x3f2a0000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x3) = 0x3f2a0000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libexpat.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d304,512) = 512
1 prctl(46,1072813112,1072812804,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1c0) = 0
1 mmap2(NULL,307440,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f241000
1 mprotect(0x3f27b000,61440,PROT_NONE) = 0
1 mmap2(0x3f28a000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x39) = 0x3f28a000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/src/basic/tls/librt.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2f4,512) = 512
1 prctl(46,1072813128,1072812788,512,1065377792,0) = 0
1 _llseek(3,0,704,0x3ff1d0b8,SEEK_SET) = 0
1 read(3,0x3ff1d0e8,32) = 32
1 fstat64(3,0x3ff1d1b0) = 0
1 mmap2(NULL,94928,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f229000
1 mprotect(0x3f230000,61440,PROT_NONE) = 0
1 mmap2(0x3f23f000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f23f000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/src/basic/tls/libcap.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2e4,512) = 512
1 prctl(46,1072813048,1072812772,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1a0) = 0
1 mmap2(NULL,86384,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f213000
1 mprotect(0x3f217000,65536,PROT_NONE) = 0
1 mmap2(0x3f227000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x4) = 0x3f227000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f211000
1 set_thread_area(0x3f2192e0) = 0
1 mprotect(0x3f621000,16384,PROT_READ) = 0
1 mprotect(0x3f227000,4096,PROT_READ) = 0
1 mprotect(0x3f653000,4096,PROT_READ) = 0
1 mprotect(0x3f23f000,4096,PROT_READ) = 0
1 mprotect(0x3f28a000,8192,PROT_READ) = 0
1 mprotect(0x3f33e000,4096,PROT_READ) = 0
1 mprotect(0x3f787000,4096,PROT_READ) = 0
1 mprotect(0x3f2b8000,4096,PROT_READ) = 0
1 mprotect(0x3f4a3000,4096,PROT_READ) = 0
1 mprotect(0x3f2a0000,4096,PROT_READ) = 0
1 mprotect(0x3f402000,12288,PROT_READ) = 0
1 mprotect(0x3f41c000,4096,PROT_READ) = 0
1 mprotect(0x3f432000,4096,PROT_READ) = 0
1 mprotect(0x3f7c5000,4096,PROT_READ) = 0
1 mprotect(0x40011000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 set_tid_address(0x3f211eb8) = 1
1 set_robust_list(0x3f211ec0,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x3ff1dd30,NULL) = 0
1 rt_sigaction(33,0x3ff1dd30,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x3ff1dd78,NULL,16) = 0
1 getrlimit(3,0x3ff1de00) = 0
1 brk(NULL) = 0x40012120
1 brk(0x40033120) = 0x40033120
1 brk(0x40034000) = 0x40034000
1 gettimeofday(0x3ff1dd38,NULL) = 0 ({tv_sec = 1689943051,tv_usec = 912117},NULL)
1 syscall(4238,1064869580,129,2147483647,0,0)1 futex(0x3f789ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
 = 0
1 syscall(4238,1064869580,129,2147483647,0,1061833216)1 futex(0x3f789ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f4a4a00,1061833216) = 0
 = 0
1 fstat64(1,0x3ff1d690) = 0
1 write(1,0x40018680,106) 
 
Usage: 
   send_event <key>=<value> <key>=<value> ...
 
Example:
   send_event app=io port=0 flank=up
 = 106
1 exit_group(1)
[+] CPU configuration used for send_event: 24KEc
CPU_CONFIG_det\KEc

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