[*] Binary protection state of hciconfig
No RELRO No Canary found NX disabled No PIE No RPATH No RUNPATH No Symbols
[*] Function sprintf tear down of hciconfig
4115c8: 8fd80038 lw t8,56(s8)
4115cc: 93180000 lbu t8,0(t8)
4115d0: 03001021 move v0,t8
4115d4: 8fd80038 lw t8,56(s8)
4115d8: 93180001 lbu t8,1(t8)
4115dc: 8fc30038 lw v1,56(s8)
4115e0: 90630002 lbu v1,2(v1)
4115e4: 00603021 move a2,v1
4115e8: 8fc30038 lw v1,56(s8)
4115ec: 90630003 lbu v1,3(v1)
4115f0: 00602821 move a1,v1
4115f4: 8fc30038 lw v1,56(s8)
4115f8: 90630004 lbu v1,4(v1)
4115fc: 00602021 move a0,v1
411600: 8fc30038 lw v1,56(s8)
411604: 90630005 lbu v1,5(v1)
411608: afa60010 sw a2,16(sp)
41160c: afa50014 sw a1,20(sp)
411610: afa40018 sw a0,24(sp)
411614: afa3001c sw v1,28(sp)
411618: 8fc40028 lw a0,40(s8)
41161c: 8f838028 lw v1,-32728(gp)
411620: 24657620 addiu a1,v1,30240
411624: 00403021 move a2,v0
411628: 03003821 move a3,t8
41162c: 8f988094 lw t8,sprintf
411630: 0300c821 move t9,t8
411634: 0320f809 jalr t9
--
411734: 8fd80030 lw t8,48(s8)
411738: 93180005 lbu t8,5(t8)
41173c: 03001021 move v0,t8
411740: 8fd80030 lw t8,48(s8)
411744: 93180004 lbu t8,4(t8)
411748: 8fc30030 lw v1,48(s8)
41174c: 90630003 lbu v1,3(v1)
411750: 00603021 move a2,v1
411754: 8fc30030 lw v1,48(s8)
411758: 90630002 lbu v1,2(v1)
41175c: 00602821 move a1,v1
411760: 8fc30030 lw v1,48(s8)
411764: 90630001 lbu v1,1(v1)
411768: 00602021 move a0,v1
41176c: 8fc30030 lw v1,48(s8)
411770: 90630000 lbu v1,0(v1)
411774: afa60010 sw a2,16(sp)
411778: afa50014 sw a1,20(sp)
41177c: afa40018 sw a0,24(sp)
411780: afa3001c sw v1,28(sp)
411784: 8fc40034 lw a0,52(s8)
411788: 8f838028 lw v1,-32728(gp)
41178c: 24657620 addiu a1,v1,30240
411790: 00403021 move a2,v0
411794: 03003821 move a3,t8
411798: 8f988094 lw t8,sprintf
41179c: 0300c821 move t9,t8
4117a0: 0320f809 jalr t9
--
4118c8: 03e00008 jr ra
4118cc: 00000000 nop
4118d0: 3c1c0003 lui gp,0x3
4118d4: 279c4340 addiu gp,gp,17216
4118d8: 0399e021 addu gp,gp,t9
4118dc: 27bdffd8 addiu sp,sp,-40
4118e0: afbf0024 sw ra,36(sp)
4118e4: afbe0020 sw s8,32(sp)
4118e8: 03a0f021 move s8,sp
4118ec: afbc0018 sw gp,24(sp)
4118f0: afc40028 sw a0,40(s8)
4118f4: afc5002c sw a1,44(s8)
4118f8: 8fd80028 lw t8,40(s8)
4118fc: 93180005 lbu t8,5(t8)
411900: 03001021 move v0,t8
411904: 8fd80028 lw t8,40(s8)
411908: 93180004 lbu t8,4(t8)
41190c: 8fc30028 lw v1,40(s8)
411910: 90630003 lbu v1,3(v1)
411914: afa30010 sw v1,16(sp)
411918: 8fc4002c lw a0,44(s8)
41191c: 8f838028 lw v1,-32728(gp)
411920: 24657644 addiu a1,v1,30276
411924: 00403021 move a2,v0
411928: 03003821 move a3,t8
41192c: 8f988094 lw t8,sprintf
411930: 0300c821 move t9,t8
411934: 0320f809 jalr t9
--
415b1c: afd8001c sw t8,28(s8)
415b20: 8fd8001c lw t8,28(s8)
415b24: afd80018 sw t8,24(s8)
415b28: 8fd8001c lw t8,28(s8)
415b2c: 17000004 bnez t8,415b40 <bt_free+0x3e20>
415b30: 00000000 nop
415b34: 0000c021 move t8,zero
415b38: 10000022 b 415bc4 <bt_free+0x3ea4>
415b3c: 00000000 nop
415b40: 8fd80018 lw t8,24(s8)
415b44: a3000000 sb zero,0(t8)
415b48: 10000019 b 415bb0 <bt_free+0x3e90>
415b4c: 00000000 nop
415b50: 8fd80028 lw t8,40(s8)
415b54: 8f020004 lw v0,4(t8)
415b58: 8fd8002c lw t8,44(s8)
415b5c: 0058c024 and t8,v0,t8
415b60: 13000010 beqz t8,415ba4 <bt_free+0x3e84>
415b64: 00000000 nop
415b68: 8fd80028 lw t8,40(s8)
415b6c: 8f180000 lw t8,0(t8)
415b70: 8fc40018 lw a0,24(s8)
415b74: 8f828038 lw v0,-32712(gp)
415b78: 24459cf0 addiu a1,v0,-25360
415b7c: 03003021 move a2,t8
415b80: 8f988094 lw t8,sprintf
415b84: 0300c821 move t9,t8
415b88: 0320f809 jalr t9
--
415d98: 0040c021 move t8,v0
415d9c: afd80018 sw t8,24(s8)
415da0: 8fd80018 lw t8,24(s8)
415da4: afd8001c sw t8,28(s8)
415da8: 8fd80018 lw t8,24(s8)
415dac: 17000004 bnez t8,415dc0 <bt_free+0x40a0>
415db0: 00000000 nop
415db4: 0000c021 move t8,zero
415db8: 10000023 b 415e48 <bt_free+0x4128>
415dbc: 00000000 nop
415dc0: 8fd8001c lw t8,28(s8)
415dc4: a3000000 sb zero,0(t8)
415dc8: 1000001a b 415e34 <bt_free+0x4114>
415dcc: 00000000 nop
415dd0: 8fd80028 lw t8,40(s8)
415dd4: 8f020004 lw v0,4(t8)
415dd8: 8fd8002c lw t8,44(s8)
415ddc: 14580012 bne v0,t8,415e28 <bt_free+0x4108>
415de0: 00000000 nop
415de4: 8fd80028 lw t8,40(s8)
415de8: 8f180000 lw t8,0(t8)
415dec: 8fc4001c lw a0,28(s8)
415df0: 8f828038 lw v0,-32712(gp)
415df4: 24459cf8 addiu a1,v0,-25352
415df8: 03003021 move a2,t8
415dfc: 8f988094 lw t8,sprintf
415e00: 0300c821 move t9,t8
415e04: 0320f809 jalr t9
--
416250: 27180005 addiu t8,t8,5
416254: afd80018 sw t8,24(s8)
416258: 10000022 b 4162e4 <hci_bustostr+0x320>
41625c: 00000000 nop
416260: 10000020 b 4162e4 <hci_bustostr+0x320>
416264: 00000000 nop
416268: 8fd8001c lw t8,28(s8)
41626c: 8f180004 lw t8,4(t8)
416270: 03002021 move a0,t8
416274: 27c50030 addiu a1,s8,48
416278: 8f98803c lw t8,-32708(gp)
41627c: 271858f4 addiu t8,t8,22772
416280: 0300c821 move t9,t8
416284: 0320f809 jalr t9
416288: 00000000 nop
41628c: 8fdc0010 lw gp,16(s8)
416290: 0040c021 move t8,v0
416294: 13000010 beqz t8,4162d8 <hci_bustostr+0x314>
416298: 00000000 nop
41629c: 8fd8001c lw t8,28(s8)
4162a0: 8f180000 lw t8,0(t8)
4162a4: 8fc40018 lw a0,24(s8)
4162a8: 8f828038 lw v0,-32712(gp)
4162ac: 24459cf0 addiu a1,v0,-25360
4162b0: 03003021 move a2,t8
4162b4: 8f988094 lw t8,sprintf
4162b8: 0300c821 move t9,t8
4162bc: 0320f809 jalr t9
--
4168d8: 8fd80024 lw t8,36(s8)
4168dc: 03002021 move a0,t8
4168e0: 8f988024 lw t8,-32732(gp)
4168e4: 0300c821 move t9,t8
4168e8: 0320f809 jalr t9
4168ec: 00000000 nop
4168f0: 8fdc0010 lw gp,16(s8)
4168f4: afc2002c sw v0,44(s8)
4168f8: 8fd8002c lw t8,44(s8)
4168fc: 17000004 bnez t8,416910 <hci_bustostr+0x94c>
416900: 00000000 nop
416904: 0000c021 move t8,zero
416908: 1000006d b 416ac0 <hci_bustostr+0xafc>
41690c: 00000000 nop
416910: 8fd8002c lw t8,44(s8)
416914: afd80020 sw t8,32(s8)
416918: 8fd80020 lw t8,32(s8)
41691c: a3000000 sb zero,0(t8)
416920: 8fd80044 lw t8,68(s8)
416924: 1300000e beqz t8,416960 <hci_bustostr+0x99c>
416928: 00000000 nop
41692c: 8fc40020 lw a0,32(s8)
416930: 8f988038 lw t8,-32712(gp)
416934: 27059cf8 addiu a1,t8,-25352
416938: 8fc60044 lw a2,68(s8)
41693c: 8f988094 lw t8,sprintf
416940: 0300c821 move t9,t8
416944: 0320f809 jalr t9
--
4169d4: 8f180000 lw t8,0(t8)
4169d8: 03002021 move a0,t8
4169dc: 8f988088 lw t8,strlen
4169e0: 0300c821 move t9,t8
4169e4: 0320f809 jalr t9
4169e8: 00000000 nop
4169ec: 8fdc0010 lw gp,16(s8)
4169f0: 0040c021 move t8,v0
4169f4: 02181021 addu v0,s0,t8
4169f8: 8fd80028 lw t8,40(s8)
4169fc: 0302c02b sltu t8,t8,v0
416a00: 13000018 beqz t8,416a64 <hci_bustostr+0xaa0>
416a04: 00000000 nop
416a08: 8fd80044 lw t8,68(s8)
416a0c: 13000004 beqz t8,416a20 <hci_bustostr+0xa5c>
416a10: 00000000 nop
416a14: 8fd80044 lw t8,68(s8)
416a18: 10000003 b 416a28 <hci_bustostr+0xa64>
416a1c: 00000000 nop
416a20: 8f988038 lw t8,-32712(gp)
416a24: 2718b268 addiu t8,t8,-19864
416a28: 8fc40020 lw a0,32(s8)
416a2c: 8f828038 lw v0,-32712(gp)
416a30: 2445b26c addiu a1,v0,-19860
416a34: 03003021 move a2,t8
416a38: 8f988094 lw t8,sprintf
416a3c: 0300c821 move t9,t8
416a40: 0320f809 jalr t9
416a44: 00000000 nop
416a48: 8fdc0010 lw gp,16(s8)
416a4c: 0040c021 move t8,v0
416a50: 8fc20020 lw v0,32(s8)
416a54: 0058c021 addu t8,v0,t8
416a58: afd80020 sw t8,32(s8)
416a5c: 8fd80020 lw t8,32(s8)
416a60: afd8001c sw t8,28(s8)
416a64: 8fd80018 lw t8,24(s8)
416a68: 8f180000 lw t8,0(t8)
416a6c: 8fc40020 lw a0,32(s8)
416a70: 8f828038 lw v0,-32712(gp)
416a74: 2445b270 addiu a1,v0,-19856
416a78: 03003021 move a2,t8
416a7c: 8f988094 lw t8,sprintf
416a80: 0300c821 move t9,t8
416a84: 0320f809 jalr t9
--
416ea8: 8fd80024 lw t8,36(s8)
416eac: 03002021 move a0,t8
416eb0: 8f988024 lw t8,-32732(gp)
416eb4: 0300c821 move t9,t8
416eb8: 0320f809 jalr t9
416ebc: 00000000 nop
416ec0: 8fdc0010 lw gp,16(s8)
416ec4: afc20034 sw v0,52(s8)
416ec8: 8fd80034 lw t8,52(s8)
416ecc: 17000004 bnez t8,416ee0 <hci_bustostr+0xf1c>
416ed0: 00000000 nop
416ed4: 0000c021 move t8,zero
416ed8: 10000077 b 4170b8 <hci_bustostr+0x10f4>
416edc: 00000000 nop
416ee0: 8fd80034 lw t8,52(s8)
416ee4: afd8001c sw t8,28(s8)
416ee8: 8fd8001c lw t8,28(s8)
416eec: a3000000 sb zero,0(t8)
416ef0: 8fd8004c lw t8,76(s8)
416ef4: 1300000e beqz t8,416f30 <hci_bustostr+0xf6c>
416ef8: 00000000 nop
416efc: 8fc4001c lw a0,28(s8)
416f00: 8f988038 lw t8,-32712(gp)
416f04: 27059cf8 addiu a1,t8,-25352
416f08: 8fc6004c lw a2,76(s8)
416f0c: 8f988094 lw t8,sprintf
416f10: 0300c821 move t9,t8
416f14: 0320f809 jalr t9
--
416fb0: 8f180000 lw t8,0(t8)
416fb4: 03002021 move a0,t8
416fb8: 8f988088 lw t8,strlen
416fbc: 0300c821 move t9,t8
416fc0: 0320f809 jalr t9
416fc4: 00000000 nop
416fc8: 8fdc0010 lw gp,16(s8)
416fcc: 0040c021 move t8,v0
416fd0: 02181021 addu v0,s0,t8
416fd4: 8fd80030 lw t8,48(s8)
416fd8: 0302c02b sltu t8,t8,v0
416fdc: 13000018 beqz t8,417040 <hci_bustostr+0x107c>
416fe0: 00000000 nop
416fe4: 8fd8004c lw t8,76(s8)
416fe8: 13000004 beqz t8,416ffc <hci_bustostr+0x1038>
416fec: 00000000 nop
416ff0: 8fd8004c lw t8,76(s8)
416ff4: 10000003 b 417004 <hci_bustostr+0x1040>
416ff8: 00000000 nop
416ffc: 8f988038 lw t8,-32712(gp)
417000: 2718b268 addiu t8,t8,-19864
417004: 8fc4001c lw a0,28(s8)
417008: 8f828038 lw v0,-32712(gp)
41700c: 2445b26c addiu a1,v0,-19860
417010: 03003021 move a2,t8
417014: 8f988094 lw t8,sprintf
417018: 0300c821 move t9,t8
41701c: 0320f809 jalr t9
417020: 00000000 nop
417024: 8fdc0010 lw gp,16(s8)
417028: 0040c021 move t8,v0
41702c: 8fc2001c lw v0,28(s8)
417030: 0058c021 addu t8,v0,t8
417034: afd8001c sw t8,28(s8)
417038: 8fd8001c lw t8,28(s8)
41703c: afd80018 sw t8,24(s8)
417040: 8fd8002c lw t8,44(s8)
417044: 8f180000 lw t8,0(t8)
417048: 8fc4001c lw a0,28(s8)
41704c: 8f828038 lw v0,-32712(gp)
417050: 24459cf0 addiu a1,v0,-25360
417054: 03003021 move a2,t8
417058: 8f988094 lw t8,sprintf
41705c: 0300c821 move t9,t8
417060: 0320f809 jalr t9
[*] Function sprintf used 12 times hciconfig