-----------------------------------------------------------------
[*] Initial CPU detection process of binary newgrp.shadow 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/newgrp.shadow with cpu config NONE
[-] Emulation process of binary newgrp.shadow with CPU configuration failed
[*] Trying to emulate binary ./usr/bin/newgrp.shadow with cpu config 4Kc
[-] Emulation process of binary newgrp.shadow with CPU configuration 4Kc failed
[*] Trying to emulate binary ./usr/bin/newgrp.shadow with cpu config 4Km
[-] Emulation process of binary newgrp.shadow with CPU configuration 4Km failed
[*] Trying to emulate binary ./usr/bin/newgrp.shadow with cpu config 4KEcR1
[-] Emulation process of binary newgrp.shadow with CPU configuration 4KEcR1 failed
[*] Trying to emulate binary ./usr/bin/newgrp.shadow with cpu config 4KEmR1
[-] Emulation process of binary newgrp.shadow with CPU configuration 4KEmR1 failed
[*] Trying to emulate binary ./usr/bin/newgrp.shadow with cpu config 4KEc
[-] Emulation process of binary newgrp.shadow with CPU configuration 4KEc failed
[*] Trying to emulate binary ./usr/bin/newgrp.shadow with cpu config 4KEm
[-] Emulation process of binary newgrp.shadow with CPU configuration 4KEm failed
[*] Trying to emulate binary ./usr/bin/newgrp.shadow with cpu config 24Kc
[-] Emulation process of binary newgrp.shadow with CPU configuration 24Kc failed
[*] Trying to emulate binary ./usr/bin/newgrp.shadow with cpu config 24KEc
[-] Emulation process of binary newgrp.shadow with CPU configuration 24KEc failed
[*] Trying to emulate binary ./usr/bin/newgrp.shadow with cpu config 24Kf
[-] Emulation process of binary newgrp.shadow with CPU configuration 24Kf failed
[*] Trying to emulate binary ./usr/bin/newgrp.shadow with cpu config 34Kf
[-] Emulation process of binary newgrp.shadow with CPU configuration 34Kf failed
[*] Trying to emulate binary ./usr/bin/newgrp.shadow with cpu config 74Kf
[-] Emulation process of binary newgrp.shadow with CPU configuration 74Kf failed
[*] Trying to emulate binary ./usr/bin/newgrp.shadow with cpu config M14K
[-] Emulation process of binary newgrp.shadow with CPU configuration M14K failed
[*] Trying to emulate binary ./usr/bin/newgrp.shadow with cpu config M14Kc
[-] Emulation process of binary newgrp.shadow with CPU configuration M14Kc failed
[*] Trying to emulate binary ./usr/bin/newgrp.shadow with cpu config P5600
[-] Emulation process of binary newgrp.shadow with CPU configuration P5600 failed
[*] Trying to emulate binary ./usr/bin/newgrp.shadow with cpu config mips32r6-generic
[-] Emulation process of binary newgrp.shadow with CPU configuration mips32r6-generic failed
[*] Trying to emulate binary ./usr/bin/newgrp.shadow with cpu config I7200
[-] Emulation process of binary newgrp.shadow with CPU configuration I7200 failed
-----------------------------------------------------------------
-----------------------------------------------------------------
[*] Initial CPU detection process of binary newgrp.shadow 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/newgrp.shadow with cpu config 24KEc
1 brk(NULL) = 0x400185f0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d6c0) = 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/libcrypt.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d454,512) = 512
1 prctl(46,1072813448,1072813140,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d220,SEEK_SET) = 0
1 read(3,0x3ff1d250,32) = 32
1 fstat64(3,0x3ff1d310) = 0
1 mmap2(NULL,262716,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f786000
1 mprotect(0x3f78f000,61440,PROT_NONE) = 0
1 mmap2(0x3f79e000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x8) = 0x3f79e000
1 mmap2(0x3f7a0000,156220,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f7a0000
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) = 0x3f601000
1 mprotect(0x3f76e000,61440,PROT_NONE) = 0
1 mmap2(0x3f77d000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f77d000
1 mmap2(0x3f784000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f784000
1 close(3) = 0
1 set_thread_area(0x3f7cf630) = 0
1 mprotect(0x3f77d000,16384,PROT_READ) = 0
1 mprotect(0x3f79e000,4096,PROT_READ) = 0
1 mprotect(0x40017000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 brk(NULL) = 0x400185f0
1 brk(0x400395f0) = 0x400395f0
1 brk(0x4003a000) = 0x4003a000
1 openat(AT_FDCWD,"/lib/locale/locale-archive",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/share/locale/locale.alias",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 brk(0x40039000) = 0x40039000
1 openat(AT_FDCWD,"/lib/locale/C.UTF-8/LC_IDENTIFICATION",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/locale/C.utf8/LC_IDENTIFICATION",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/locale/C/LC_IDENTIFICATION",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 getgid() = 0
1 openat(AT_FDCWD,"/proc/self/loginuid",O_RDONLY) = 3
1 read(3,0x3ff1dce4,12) = 10
1 close(3) = 0
1 openat(AT_FDCWD,"/etc/nsswitch.conf",O_RDONLY|O_CLOEXEC) = 3
1 fstat64(3,0x3ff1d650) = 0
1 read(3,0x400189a0,4096) = 482
1 read(3,0x400189a0,4096) = 0
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libnss_compat.so.2",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/libnss_compat.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d154,512) = 512
1 prctl(46,1072812680,1072812372,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1cf20,SEEK_SET) = 0
1 read(3,0x3ff1cf50,32) = 32
1 fstat64(3,0x3ff1d010) = 0
1 mmap2(NULL,100016,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5e8000
1 mprotect(0x3f5f0000,61440,PROT_NONE) = 0
1 mmap2(0x3f5ff000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x7) = 0x3f5ff000
1 close(3) = 0
1 mprotect(0x3f5ff000,4096,PROT_READ) = 0
1 openat(AT_FDCWD,"/lib/tls/libnss_nis.so.2",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/libnss_nis.so.2",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/tls/libnss_nis.so.2",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 stat64("/usr/lib/tls",0x3ff1cf60) = 0
1 openat(AT_FDCWD,"/usr/lib/libnss_nis.so.2",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 stat64("/usr/lib",0x3ff1cf60) = 0
1 openat(AT_FDCWD,"/etc/passwd",O_RDONLY|O_CLOEXEC) = 3
1 _llseek(3,0,0,0x3ff1d710,SEEK_CUR) = 0
1 fstat64(3,0x3ff1d5e0) = 0
1 mmap2(NULL,29,PROT_READ,MAP_SHARED,3,0) = 0x3f5e7000
1 _llseek(3,0,29,0x3ff1d5a8,SEEK_SET) = 0
1 fstat64(3,0x3ff1d5d8) = 0
1 munmap(0x3f5e7000,29) = 0
1 close(3) = 0
1 ioctl(0,TCGETS,0x3ff1d608) = -1 errno=25 (Inappropriate ioctl for device)
1 getuid() = 0
1 openat(AT_FDCWD,"/etc/passwd",O_RDONLY|O_CLOEXEC) = 3
1 _llseek(3,0,0,0x3ff1db88,SEEK_CUR) = 0
1 fstat64(3,0x3ff1da58) = 0
1 mmap2(NULL,29,PROT_READ,MAP_SHARED,3,0) = 0x3f5e7000
1 _llseek(3,0,29,0x3ff1da20,SEEK_SET) = 0
1 munmap(0x3f5e7000,29) = 0
1 close(3) = 0
1 write(2,0x400067e0,31)Usage: sg group [[-c] command]
= 31
1 exit_group(1)
[+] CPU configuration used for newgrp.shadow: 24KEc
CPU_CONFIG_det\KEc
-----------------------------------------------------------------