[*] Binary protection state of hcitool
No RELRO No Canary found NX disabled No PIE No RPATH No RUNPATH No Symbols
[*] Function sprintf tear down of hcitool
40a878: 8fd80038 lw t8,56(s8)
40a87c: 93180000 lbu t8,0(t8)
40a880: 03001021 move v0,t8
40a884: 8fd80038 lw t8,56(s8)
40a888: 93180001 lbu t8,1(t8)
40a88c: 8fc30038 lw v1,56(s8)
40a890: 90630002 lbu v1,2(v1)
40a894: 00603021 move a2,v1
40a898: 8fc30038 lw v1,56(s8)
40a89c: 90630003 lbu v1,3(v1)
40a8a0: 00602821 move a1,v1
40a8a4: 8fc30038 lw v1,56(s8)
40a8a8: 90630004 lbu v1,4(v1)
40a8ac: 00602021 move a0,v1
40a8b0: 8fc30038 lw v1,56(s8)
40a8b4: 90630005 lbu v1,5(v1)
40a8b8: afa60010 sw a2,16(sp)
40a8bc: afa50014 sw a1,20(sp)
40a8c0: afa40018 sw a0,24(sp)
40a8c4: afa3001c sw v1,28(sp)
40a8c8: 8fc40028 lw a0,40(s8)
40a8cc: 8f838028 lw v1,-32728(gp)
40a8d0: 24659e00 addiu a1,v1,-25088
40a8d4: 00403021 move a2,v0
40a8d8: 03003821 move a3,t8
40a8dc: 8f988090 lw t8,sprintf
40a8e0: 0300c821 move t9,t8
40a8e4: 0320f809 jalr t9
--
40a9e4: 8fd80030 lw t8,48(s8)
40a9e8: 93180005 lbu t8,5(t8)
40a9ec: 03001021 move v0,t8
40a9f0: 8fd80030 lw t8,48(s8)
40a9f4: 93180004 lbu t8,4(t8)
40a9f8: 8fc30030 lw v1,48(s8)
40a9fc: 90630003 lbu v1,3(v1)
40aa00: 00603021 move a2,v1
40aa04: 8fc30030 lw v1,48(s8)
40aa08: 90630002 lbu v1,2(v1)
40aa0c: 00602821 move a1,v1
40aa10: 8fc30030 lw v1,48(s8)
40aa14: 90630001 lbu v1,1(v1)
40aa18: 00602021 move a0,v1
40aa1c: 8fc30030 lw v1,48(s8)
40aa20: 90630000 lbu v1,0(v1)
40aa24: afa60010 sw a2,16(sp)
40aa28: afa50014 sw a1,20(sp)
40aa2c: afa40018 sw a0,24(sp)
40aa30: afa3001c sw v1,28(sp)
40aa34: 8fc40034 lw a0,52(s8)
40aa38: 8f838028 lw v1,-32728(gp)
40aa3c: 24659e00 addiu a1,v1,-25088
40aa40: 00403021 move a2,v0
40aa44: 03003821 move a3,t8
40aa48: 8f988090 lw t8,sprintf
40aa4c: 0300c821 move t9,t8
40aa50: 0320f809 jalr t9
--
40ab78: 03e00008 jr ra
40ab7c: 00000000 nop
40ab80: 3c1c0003 lui gp,0x3
40ab84: 279ccb90 addiu gp,gp,-13424
40ab88: 0399e021 addu gp,gp,t9
40ab8c: 27bdffd8 addiu sp,sp,-40
40ab90: afbf0024 sw ra,36(sp)
40ab94: afbe0020 sw s8,32(sp)
40ab98: 03a0f021 move s8,sp
40ab9c: afbc0018 sw gp,24(sp)
40aba0: afc40028 sw a0,40(s8)
40aba4: afc5002c sw a1,44(s8)
40aba8: 8fd80028 lw t8,40(s8)
40abac: 93180005 lbu t8,5(t8)
40abb0: 03001021 move v0,t8
40abb4: 8fd80028 lw t8,40(s8)
40abb8: 93180004 lbu t8,4(t8)
40abbc: 8fc30028 lw v1,40(s8)
40abc0: 90630003 lbu v1,3(v1)
40abc4: afa30010 sw v1,16(sp)
40abc8: 8fc4002c lw a0,44(s8)
40abcc: 8f838028 lw v1,-32728(gp)
40abd0: 24659e24 addiu a1,v1,-25052
40abd4: 00403021 move a2,v0
40abd8: 03003821 move a3,t8
40abdc: 8f988090 lw t8,sprintf
40abe0: 0300c821 move t9,t8
40abe4: 0320f809 jalr t9
--
40edcc: afd8001c sw t8,28(s8)
40edd0: 8fd8001c lw t8,28(s8)
40edd4: afd80018 sw t8,24(s8)
40edd8: 8fd8001c lw t8,28(s8)
40eddc: 17000004 bnez t8,40edf0 <bt_free+0x3e20>
40ede0: 00000000 nop
40ede4: 0000c021 move t8,zero
40ede8: 10000022 b 40ee74 <bt_free+0x3ea4>
40edec: 00000000 nop
40edf0: 8fd80018 lw t8,24(s8)
40edf4: a3000000 sb zero,0(t8)
40edf8: 10000019 b 40ee60 <bt_free+0x3e90>
40edfc: 00000000 nop
40ee00: 8fd80028 lw t8,40(s8)
40ee04: 8f020004 lw v0,4(t8)
40ee08: 8fd8002c lw t8,44(s8)
40ee0c: 0058c024 and t8,v0,t8
40ee10: 13000010 beqz t8,40ee54 <bt_free+0x3e84>
40ee14: 00000000 nop
40ee18: 8fd80028 lw t8,40(s8)
40ee1c: 8f180000 lw t8,0(t8)
40ee20: 8fc40018 lw a0,24(s8)
40ee24: 8f828028 lw v0,-32728(gp)
40ee28: 2445c4d0 addiu a1,v0,-15152
40ee2c: 03003021 move a2,t8
40ee30: 8f988090 lw t8,sprintf
40ee34: 0300c821 move t9,t8
40ee38: 0320f809 jalr t9
--
40f048: 0040c021 move t8,v0
40f04c: afd80018 sw t8,24(s8)
40f050: 8fd80018 lw t8,24(s8)
40f054: afd8001c sw t8,28(s8)
40f058: 8fd80018 lw t8,24(s8)
40f05c: 17000004 bnez t8,40f070 <bt_free+0x40a0>
40f060: 00000000 nop
40f064: 0000c021 move t8,zero
40f068: 10000023 b 40f0f8 <bt_free+0x4128>
40f06c: 00000000 nop
40f070: 8fd8001c lw t8,28(s8)
40f074: a3000000 sb zero,0(t8)
40f078: 1000001a b 40f0e4 <bt_free+0x4114>
40f07c: 00000000 nop
40f080: 8fd80028 lw t8,40(s8)
40f084: 8f020004 lw v0,4(t8)
40f088: 8fd8002c lw t8,44(s8)
40f08c: 14580012 bne v0,t8,40f0d8 <bt_free+0x4108>
40f090: 00000000 nop
40f094: 8fd80028 lw t8,40(s8)
40f098: 8f180000 lw t8,0(t8)
40f09c: 8fc4001c lw a0,28(s8)
40f0a0: 8f828028 lw v0,-32728(gp)
40f0a4: 2445c4d8 addiu a1,v0,-15144
40f0a8: 03003021 move a2,t8
40f0ac: 8f988090 lw t8,sprintf
40f0b0: 0300c821 move t9,t8
40f0b4: 0320f809 jalr t9
--
40f500: 27180005 addiu t8,t8,5
40f504: afd80018 sw t8,24(s8)
40f508: 10000022 b 40f594 <hci_bustostr+0x320>
40f50c: 00000000 nop
40f510: 10000020 b 40f594 <hci_bustostr+0x320>
40f514: 00000000 nop
40f518: 8fd8001c lw t8,28(s8)
40f51c: 8f180004 lw t8,4(t8)
40f520: 03002021 move a0,t8
40f524: 27c50030 addiu a1,s8,48
40f528: 8f988038 lw t8,-32712(gp)
40f52c: 2718eba4 addiu t8,t8,-5212
40f530: 0300c821 move t9,t8
40f534: 0320f809 jalr t9
40f538: 00000000 nop
40f53c: 8fdc0010 lw gp,16(s8)
40f540: 0040c021 move t8,v0
40f544: 13000010 beqz t8,40f588 <hci_bustostr+0x314>
40f548: 00000000 nop
40f54c: 8fd8001c lw t8,28(s8)
40f550: 8f180000 lw t8,0(t8)
40f554: 8fc40018 lw a0,24(s8)
40f558: 8f828028 lw v0,-32728(gp)
40f55c: 2445c4d0 addiu a1,v0,-15152
40f560: 03003021 move a2,t8
40f564: 8f988090 lw t8,sprintf
40f568: 0300c821 move t9,t8
40f56c: 0320f809 jalr t9
--
40fb88: 8fd80024 lw t8,36(s8)
40fb8c: 03002021 move a0,t8
40fb90: 8f988024 lw t8,-32732(gp)
40fb94: 0300c821 move t9,t8
40fb98: 0320f809 jalr t9
40fb9c: 00000000 nop
40fba0: 8fdc0010 lw gp,16(s8)
40fba4: afc2002c sw v0,44(s8)
40fba8: 8fd8002c lw t8,44(s8)
40fbac: 17000004 bnez t8,40fbc0 <hci_bustostr+0x94c>
40fbb0: 00000000 nop
40fbb4: 0000c021 move t8,zero
40fbb8: 1000006d b 40fd70 <hci_bustostr+0xafc>
40fbbc: 00000000 nop
40fbc0: 8fd8002c lw t8,44(s8)
40fbc4: afd80020 sw t8,32(s8)
40fbc8: 8fd80020 lw t8,32(s8)
40fbcc: a3000000 sb zero,0(t8)
40fbd0: 8fd80044 lw t8,68(s8)
40fbd4: 1300000e beqz t8,40fc10 <hci_bustostr+0x99c>
40fbd8: 00000000 nop
40fbdc: 8fc40020 lw a0,32(s8)
40fbe0: 8f988028 lw t8,-32728(gp)
40fbe4: 2705c4d8 addiu a1,t8,-15144
40fbe8: 8fc60044 lw a2,68(s8)
40fbec: 8f988090 lw t8,sprintf
40fbf0: 0300c821 move t9,t8
40fbf4: 0320f809 jalr t9
--
40fc84: 8f180000 lw t8,0(t8)
40fc88: 03002021 move a0,t8
40fc8c: 8f988084 lw t8,strlen
40fc90: 0300c821 move t9,t8
40fc94: 0320f809 jalr t9
40fc98: 00000000 nop
40fc9c: 8fdc0010 lw gp,16(s8)
40fca0: 0040c021 move t8,v0
40fca4: 02181021 addu v0,s0,t8
40fca8: 8fd80028 lw t8,40(s8)
40fcac: 0302c02b sltu t8,t8,v0
40fcb0: 13000018 beqz t8,40fd14 <hci_bustostr+0xaa0>
40fcb4: 00000000 nop
40fcb8: 8fd80044 lw t8,68(s8)
40fcbc: 13000004 beqz t8,40fcd0 <hci_bustostr+0xa5c>
40fcc0: 00000000 nop
40fcc4: 8fd80044 lw t8,68(s8)
40fcc8: 10000003 b 40fcd8 <hci_bustostr+0xa64>
40fccc: 00000000 nop
40fcd0: 8f988028 lw t8,-32728(gp)
40fcd4: 2718da48 addiu t8,t8,-9656
40fcd8: 8fc40020 lw a0,32(s8)
40fcdc: 8f828028 lw v0,-32728(gp)
40fce0: 2445da4c addiu a1,v0,-9652
40fce4: 03003021 move a2,t8
40fce8: 8f988090 lw t8,sprintf
40fcec: 0300c821 move t9,t8
40fcf0: 0320f809 jalr t9
40fcf4: 00000000 nop
40fcf8: 8fdc0010 lw gp,16(s8)
40fcfc: 0040c021 move t8,v0
40fd00: 8fc20020 lw v0,32(s8)
40fd04: 0058c021 addu t8,v0,t8
40fd08: afd80020 sw t8,32(s8)
40fd0c: 8fd80020 lw t8,32(s8)
40fd10: afd8001c sw t8,28(s8)
40fd14: 8fd80018 lw t8,24(s8)
40fd18: 8f180000 lw t8,0(t8)
40fd1c: 8fc40020 lw a0,32(s8)
40fd20: 8f828028 lw v0,-32728(gp)
40fd24: 2445da50 addiu a1,v0,-9648
40fd28: 03003021 move a2,t8
40fd2c: 8f988090 lw t8,sprintf
40fd30: 0300c821 move t9,t8
40fd34: 0320f809 jalr t9
--
410158: 8fd80024 lw t8,36(s8)
41015c: 03002021 move a0,t8
410160: 8f988024 lw t8,-32732(gp)
410164: 0300c821 move t9,t8
410168: 0320f809 jalr t9
41016c: 00000000 nop
410170: 8fdc0010 lw gp,16(s8)
410174: afc20034 sw v0,52(s8)
410178: 8fd80034 lw t8,52(s8)
41017c: 17000004 bnez t8,410190 <hci_bustostr+0xf1c>
410180: 00000000 nop
410184: 0000c021 move t8,zero
410188: 10000077 b 410368 <hci_bustostr+0x10f4>
41018c: 00000000 nop
410190: 8fd80034 lw t8,52(s8)
410194: afd8001c sw t8,28(s8)
410198: 8fd8001c lw t8,28(s8)
41019c: a3000000 sb zero,0(t8)
4101a0: 8fd8004c lw t8,76(s8)
4101a4: 1300000e beqz t8,4101e0 <hci_bustostr+0xf6c>
4101a8: 00000000 nop
4101ac: 8fc4001c lw a0,28(s8)
4101b0: 8f988028 lw t8,-32728(gp)
4101b4: 2705c4d8 addiu a1,t8,-15144
4101b8: 8fc6004c lw a2,76(s8)
4101bc: 8f988090 lw t8,sprintf
4101c0: 0300c821 move t9,t8
4101c4: 0320f809 jalr t9
--
410260: 8f180000 lw t8,0(t8)
410264: 03002021 move a0,t8
410268: 8f988084 lw t8,strlen
41026c: 0300c821 move t9,t8
410270: 0320f809 jalr t9
410274: 00000000 nop
410278: 8fdc0010 lw gp,16(s8)
41027c: 0040c021 move t8,v0
410280: 02181021 addu v0,s0,t8
410284: 8fd80030 lw t8,48(s8)
410288: 0302c02b sltu t8,t8,v0
41028c: 13000018 beqz t8,4102f0 <hci_bustostr+0x107c>
410290: 00000000 nop
410294: 8fd8004c lw t8,76(s8)
410298: 13000004 beqz t8,4102ac <hci_bustostr+0x1038>
41029c: 00000000 nop
4102a0: 8fd8004c lw t8,76(s8)
4102a4: 10000003 b 4102b4 <hci_bustostr+0x1040>
4102a8: 00000000 nop
4102ac: 8f988028 lw t8,-32728(gp)
4102b0: 2718da48 addiu t8,t8,-9656
4102b4: 8fc4001c lw a0,28(s8)
4102b8: 8f828028 lw v0,-32728(gp)
4102bc: 2445da4c addiu a1,v0,-9652
4102c0: 03003021 move a2,t8
4102c4: 8f988090 lw t8,sprintf
4102c8: 0300c821 move t9,t8
4102cc: 0320f809 jalr t9
4102d0: 00000000 nop
4102d4: 8fdc0010 lw gp,16(s8)
4102d8: 0040c021 move t8,v0
4102dc: 8fc2001c lw v0,28(s8)
4102e0: 0058c021 addu t8,v0,t8
4102e4: afd8001c sw t8,28(s8)
4102e8: 8fd8001c lw t8,28(s8)
4102ec: afd80018 sw t8,24(s8)
4102f0: 8fd8002c lw t8,44(s8)
4102f4: 8f180000 lw t8,0(t8)
4102f8: 8fc4001c lw a0,28(s8)
4102fc: 8f828028 lw v0,-32728(gp)
410300: 2445c4d0 addiu a1,v0,-15152
410304: 03003021 move a2,t8
410308: 8f988090 lw t8,sprintf
41030c: 0300c821 move t9,t8
410310: 0320f809 jalr t9
[*] Function sprintf used 12 times hcitool