[*] Binary protection state of libcommonapi.so
No RELRO Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function popen tear down of libcommonapi.so
78c8: 8f988114 lw t8,strlen
78cc: 0300c821 move t9,t8
78d0: 0320f809 jalr t9
78d4: 00000000 nop
78d8: 8fdc0010 lw gp,16(s8)
78dc: 0040c021 move t8,v0
78e0: 0218c021 addu t8,s0,t8
78e4: 27020002 addiu v0,t8,2
78e8: 8fd8001c lw t8,28(s8)
78ec: 0302c02b sltu t8,t8,v0
78f0: 1700003a bnez t8,79dc <_ZN9CommonAPI13GetCmdAttrValEPKcS1_Pcj@@Base+0x1a0>
78f4: 00000000 nop
78f8: 8fc40020 lw a0,32(s8)
78fc: 8f98802c lw t8,-32724(gp)
7900: 27053c68 addiu a1,t8,15464
7904: 8fc60028 lw a2,40(s8)
7908: 8fc70024 lw a3,36(s8)
790c: 8f988084 lw t8,-32636(gp)
7910: 0300c821 move t9,t8
7914: 0320f809 jalr t9
7918: 00000000 nop
791c: 8fdc0010 lw gp,16(s8)
7920: 8fc40020 lw a0,32(s8)
7924: 8f98802c lw t8,-32724(gp)
7928: 27053c60 addiu a1,t8,15456
792c: 8f98805c lw t8,popen
7930: 0300c821 move t9,t8
7934: 0320f809 jalr t9
--
7ad0: 8f98802c lw t8,-32724(gp)
7ad4: 27054760 addiu a1,t8,18272
7ad8: 8f988060 lw t8,-32672(gp)
7adc: 0300c821 move t9,t8
7ae0: 0320f809 jalr t9
7ae4: 00000000 nop
7ae8: 8fdc0010 lw gp,16(s8)
7aec: 2418ffff li t8,-1
7af0: 1000008a b 7d1c <_ZN9CommonAPI10GetAttrValEPKcS1_PcjjS1_@@Base+0x2f8>
7af4: 00000000 nop
7af8: 27d80044 addiu t8,s8,68
7afc: 03002021 move a0,t8
7b00: 8f98802c lw t8,-32724(gp)
7b04: 27053c68 addiu a1,t8,15464
7b08: 8fc60030 lw a2,48(s8)
7b0c: 8fc7002c lw a3,44(s8)
7b10: 8f988084 lw t8,-32636(gp)
7b14: 0300c821 move t9,t8
7b18: 0320f809 jalr t9
7b1c: 00000000 nop
7b20: 8fdc0010 lw gp,16(s8)
7b24: 27d80044 addiu t8,s8,68
7b28: 03002021 move a0,t8
7b2c: 8f98802c lw t8,-32724(gp)
7b30: 27053c60 addiu a1,t8,15456
7b34: 8f98805c lw t8,popen
7b38: 0300c821 move t9,t8
7b3c: 0320f809 jalr t9
--
7e5c: 27053c98 addiu a1,t8,15512
7e60: 8fc60028 lw a2,40(s8)
7e64: 8fc70024 lw a3,36(s8)
7e68: 8f988084 lw t8,-32636(gp)
7e6c: 0300c821 move t9,t8
7e70: 0320f809 jalr t9
7e74: 00000000 nop
7e78: 8fdc0018 lw gp,24(s8)
7e7c: 1000000c b 7eb0 <_ZN9CommonAPI10SetAttrValEPKcS1_S1_@@Base+0x150>
7e80: 00000000 nop
7e84: 27d80034 addiu t8,s8,52
7e88: 03002021 move a0,t8
7e8c: 8f98802c lw t8,-32724(gp)
7e90: 27053c68 addiu a1,t8,15464
7e94: 8fc60028 lw a2,40(s8)
7e98: 8fc70024 lw a3,36(s8)
7e9c: 8f988084 lw t8,-32636(gp)
7ea0: 0300c821 move t9,t8
7ea4: 0320f809 jalr t9
7ea8: 00000000 nop
7eac: 8fdc0018 lw gp,24(s8)
7eb0: 27d80034 addiu t8,s8,52
7eb4: 03002021 move a0,t8
7eb8: 8f98802c lw t8,-32724(gp)
7ebc: 27053c60 addiu a1,t8,15456
7ec0: 8f98805c lw t8,popen
7ec4: 0300c821 move t9,t8
7ec8: 0320f809 jalr t9
--
dbd8: 03e00008 jr ra
dbdc: 00000000 nop
0000dbe0 <_ZN9CommonAPI6RunCmdEPciPKci@@Base>:
dbe0: 3c1c0002 lui gp,0x2
dbe4: 279c06b0 addiu gp,gp,1712
dbe8: 0399e021 addu gp,gp,t9
dbec: 27bdffb8 addiu sp,sp,-72
dbf0: afbf0044 sw ra,68(sp)
dbf4: afbe0040 sw s8,64(sp)
dbf8: 03a0f021 move s8,sp
dbfc: afbc0010 sw gp,16(sp)
dc00: afc4002c sw a0,44(s8)
dc04: afc50028 sw a1,40(s8)
dc08: afc60024 sw a2,36(s8)
dc0c: afc70020 sw a3,32(s8)
dc10: 8fd80058 lw t8,88(s8)
dc14: afd8001c sw t8,28(s8)
dc18: 8f988170 lw t8,-32400(gp)
dc1c: 8f180000 lw t8,0(t8)
dc20: afd8003c sw t8,60(s8)
dc24: afc00034 sw zero,52(s8)
dc28: 8fc40020 lw a0,32(s8)
dc2c: 8f98802c lw t8,-32724(gp)
dc30: 27053c60 addiu a1,t8,15456
dc34: 8f98805c lw t8,popen
dc38: 0300c821 move t9,t8
dc3c: 0320f809 jalr t9
--
dd7c: 279c0518 addiu gp,gp,1304
dd80: 0399e021 addu gp,gp,t9
dd84: 27bdffb0 addiu sp,sp,-80
dd88: afbf004c sw ra,76(sp)
dd8c: afbe0048 sw s8,72(sp)
dd90: 03a0f021 move s8,sp
dd94: afbc0010 sw gp,16(sp)
dd98: afc40034 sw a0,52(s8)
dd9c: afc50030 sw a1,48(s8)
dda0: afc6002c sw a2,44(s8)
dda4: afc70028 sw a3,40(s8)
dda8: 8fd80060 lw t8,96(s8)
ddac: afd80024 sw t8,36(s8)
ddb0: 8fd80064 lw t8,100(s8)
ddb4: afd80020 sw t8,32(s8)
ddb8: 8fd80068 lw t8,104(s8)
ddbc: afd8001c sw t8,28(s8)
ddc0: 8f988170 lw t8,-32400(gp)
ddc4: 8f180000 lw t8,0(t8)
ddc8: afd80044 sw t8,68(s8)
ddcc: afc00038 sw zero,56(s8)
ddd0: afc0003c sw zero,60(s8)
ddd4: 8fc40028 lw a0,40(s8)
ddd8: 8f98802c lw t8,-32724(gp)
dddc: 27053c60 addiu a1,t8,15456
dde0: 8f98805c lw t8,popen
dde4: 0300c821 move t9,t8
dde8: 0320f809 jalr t9
[*] Function popen used 5 times libcommonapi.so