[*] Binary protection state of hciattach
No RELRO No Canary found NX disabled No PIE No RPATH No RUNPATH No Symbols
[*] Function sprintf tear down of hciattach
40c758: 8fd80038 lw t8,56(s8)
40c75c: 93180000 lbu t8,0(t8)
40c760: 03001021 move v0,t8
40c764: 8fd80038 lw t8,56(s8)
40c768: 93180001 lbu t8,1(t8)
40c76c: 8fc30038 lw v1,56(s8)
40c770: 90630002 lbu v1,2(v1)
40c774: 00603021 move a2,v1
40c778: 8fc30038 lw v1,56(s8)
40c77c: 90630003 lbu v1,3(v1)
40c780: 00602821 move a1,v1
40c784: 8fc30038 lw v1,56(s8)
40c788: 90630004 lbu v1,4(v1)
40c78c: 00602021 move a0,v1
40c790: 8fc30038 lw v1,56(s8)
40c794: 90630005 lbu v1,5(v1)
40c798: afa60010 sw a2,16(sp)
40c79c: afa50014 sw a1,20(sp)
40c7a0: afa40018 sw a0,24(sp)
40c7a4: afa3001c sw v1,28(sp)
40c7a8: 8fc40028 lw a0,40(s8)
40c7ac: 8f838028 lw v1,-32728(gp)
40c7b0: 2465b430 addiu a1,v1,-19408
40c7b4: 00403021 move a2,v0
40c7b8: 03003821 move a3,t8
40c7bc: 8f988094 lw t8,sprintf
40c7c0: 0300c821 move t9,t8
40c7c4: 0320f809 jalr t9
--
40c8c4: 8fd80030 lw t8,48(s8)
40c8c8: 93180005 lbu t8,5(t8)
40c8cc: 03001021 move v0,t8
40c8d0: 8fd80030 lw t8,48(s8)
40c8d4: 93180004 lbu t8,4(t8)
40c8d8: 8fc30030 lw v1,48(s8)
40c8dc: 90630003 lbu v1,3(v1)
40c8e0: 00603021 move a2,v1
40c8e4: 8fc30030 lw v1,48(s8)
40c8e8: 90630002 lbu v1,2(v1)
40c8ec: 00602821 move a1,v1
40c8f0: 8fc30030 lw v1,48(s8)
40c8f4: 90630001 lbu v1,1(v1)
40c8f8: 00602021 move a0,v1
40c8fc: 8fc30030 lw v1,48(s8)
40c900: 90630000 lbu v1,0(v1)
40c904: afa60010 sw a2,16(sp)
40c908: afa50014 sw a1,20(sp)
40c90c: afa40018 sw a0,24(sp)
40c910: afa3001c sw v1,28(sp)
40c914: 8fc40034 lw a0,52(s8)
40c918: 8f838028 lw v1,-32728(gp)
40c91c: 2465b430 addiu a1,v1,-19408
40c920: 00403021 move a2,v0
40c924: 03003821 move a3,t8
40c928: 8f988094 lw t8,sprintf
40c92c: 0300c821 move t9,t8
40c930: 0320f809 jalr t9
--
40ca58: 03e00008 jr ra
40ca5c: 00000000 nop
40ca60: 3c1c0002 lui gp,0x2
40ca64: 279cc7f0 addiu gp,gp,-14352
40ca68: 0399e021 addu gp,gp,t9
40ca6c: 27bdffd8 addiu sp,sp,-40
40ca70: afbf0024 sw ra,36(sp)
40ca74: afbe0020 sw s8,32(sp)
40ca78: 03a0f021 move s8,sp
40ca7c: afbc0018 sw gp,24(sp)
40ca80: afc40028 sw a0,40(s8)
40ca84: afc5002c sw a1,44(s8)
40ca88: 8fd80028 lw t8,40(s8)
40ca8c: 93180005 lbu t8,5(t8)
40ca90: 03001021 move v0,t8
40ca94: 8fd80028 lw t8,40(s8)
40ca98: 93180004 lbu t8,4(t8)
40ca9c: 8fc30028 lw v1,40(s8)
40caa0: 90630003 lbu v1,3(v1)
40caa4: afa30010 sw v1,16(sp)
40caa8: 8fc4002c lw a0,44(s8)
40caac: 8f838028 lw v1,-32728(gp)
40cab0: 2465b454 addiu a1,v1,-19372
40cab4: 00403021 move a2,v0
40cab8: 03003821 move a3,t8
40cabc: 8f988094 lw t8,sprintf
40cac0: 0300c821 move t9,t8
40cac4: 0320f809 jalr t9
--
410cac: afd8001c sw t8,28(s8)
410cb0: 8fd8001c lw t8,28(s8)
410cb4: afd80018 sw t8,24(s8)
410cb8: 8fd8001c lw t8,28(s8)
410cbc: 17000004 bnez t8,410cd0 <bt_free+0x3e20>
410cc0: 00000000 nop
410cc4: 0000c021 move t8,zero
410cc8: 10000022 b 410d54 <bt_free+0x3ea4>
410ccc: 00000000 nop
410cd0: 8fd80018 lw t8,24(s8)
410cd4: a3000000 sb zero,0(t8)
410cd8: 10000019 b 410d40 <bt_free+0x3e90>
410cdc: 00000000 nop
410ce0: 8fd80028 lw t8,40(s8)
410ce4: 8f020004 lw v0,4(t8)
410ce8: 8fd8002c lw t8,44(s8)
410cec: 0058c024 and t8,v0,t8
410cf0: 13000010 beqz t8,410d34 <bt_free+0x3e84>
410cf4: 00000000 nop
410cf8: 8fd80028 lw t8,40(s8)
410cfc: 8f180000 lw t8,0(t8)
410d00: 8fc40018 lw a0,24(s8)
410d04: 8f828028 lw v0,-32728(gp)
410d08: 2445db00 addiu a1,v0,-9472
410d0c: 03003021 move a2,t8
410d10: 8f988094 lw t8,sprintf
410d14: 0300c821 move t9,t8
410d18: 0320f809 jalr t9
--
410f28: 0040c021 move t8,v0
410f2c: afd80018 sw t8,24(s8)
410f30: 8fd80018 lw t8,24(s8)
410f34: afd8001c sw t8,28(s8)
410f38: 8fd80018 lw t8,24(s8)
410f3c: 17000004 bnez t8,410f50 <bt_free+0x40a0>
410f40: 00000000 nop
410f44: 0000c021 move t8,zero
410f48: 10000023 b 410fd8 <bt_free+0x4128>
410f4c: 00000000 nop
410f50: 8fd8001c lw t8,28(s8)
410f54: a3000000 sb zero,0(t8)
410f58: 1000001a b 410fc4 <bt_free+0x4114>
410f5c: 00000000 nop
410f60: 8fd80028 lw t8,40(s8)
410f64: 8f020004 lw v0,4(t8)
410f68: 8fd8002c lw t8,44(s8)
410f6c: 14580012 bne v0,t8,410fb8 <bt_free+0x4108>
410f70: 00000000 nop
410f74: 8fd80028 lw t8,40(s8)
410f78: 8f180000 lw t8,0(t8)
410f7c: 8fc4001c lw a0,28(s8)
410f80: 8f828028 lw v0,-32728(gp)
410f84: 2445db08 addiu a1,v0,-9464
410f88: 03003021 move a2,t8
410f8c: 8f988094 lw t8,sprintf
410f90: 0300c821 move t9,t8
410f94: 0320f809 jalr t9
--
4113e0: 27180005 addiu t8,t8,5
4113e4: afd80018 sw t8,24(s8)
4113e8: 10000022 b 411474 <hci_bustostr+0x320>
4113ec: 00000000 nop
4113f0: 10000020 b 411474 <hci_bustostr+0x320>
4113f4: 00000000 nop
4113f8: 8fd8001c lw t8,28(s8)
4113fc: 8f180004 lw t8,4(t8)
411400: 03002021 move a0,t8
411404: 27c50030 addiu a1,s8,48
411408: 8f988038 lw t8,-32712(gp)
41140c: 27180a84 addiu t8,t8,2692
411410: 0300c821 move t9,t8
411414: 0320f809 jalr t9
411418: 00000000 nop
41141c: 8fdc0010 lw gp,16(s8)
411420: 0040c021 move t8,v0
411424: 13000010 beqz t8,411468 <hci_bustostr+0x314>
411428: 00000000 nop
41142c: 8fd8001c lw t8,28(s8)
411430: 8f180000 lw t8,0(t8)
411434: 8fc40018 lw a0,24(s8)
411438: 8f828028 lw v0,-32728(gp)
41143c: 2445db00 addiu a1,v0,-9472
411440: 03003021 move a2,t8
411444: 8f988094 lw t8,sprintf
411448: 0300c821 move t9,t8
41144c: 0320f809 jalr t9
--
411a68: 8fd80024 lw t8,36(s8)
411a6c: 03002021 move a0,t8
411a70: 8f988024 lw t8,-32732(gp)
411a74: 0300c821 move t9,t8
411a78: 0320f809 jalr t9
411a7c: 00000000 nop
411a80: 8fdc0010 lw gp,16(s8)
411a84: afc2002c sw v0,44(s8)
411a88: 8fd8002c lw t8,44(s8)
411a8c: 17000004 bnez t8,411aa0 <hci_bustostr+0x94c>
411a90: 00000000 nop
411a94: 0000c021 move t8,zero
411a98: 1000006d b 411c50 <hci_bustostr+0xafc>
411a9c: 00000000 nop
411aa0: 8fd8002c lw t8,44(s8)
411aa4: afd80020 sw t8,32(s8)
411aa8: 8fd80020 lw t8,32(s8)
411aac: a3000000 sb zero,0(t8)
411ab0: 8fd80044 lw t8,68(s8)
411ab4: 1300000e beqz t8,411af0 <hci_bustostr+0x99c>
411ab8: 00000000 nop
411abc: 8fc40020 lw a0,32(s8)
411ac0: 8f988028 lw t8,-32728(gp)
411ac4: 2705db08 addiu a1,t8,-9464
411ac8: 8fc60044 lw a2,68(s8)
411acc: 8f988094 lw t8,sprintf
411ad0: 0300c821 move t9,t8
411ad4: 0320f809 jalr t9
--
411b64: 8f180000 lw t8,0(t8)
411b68: 03002021 move a0,t8
411b6c: 8f988088 lw t8,strlen
411b70: 0300c821 move t9,t8
411b74: 0320f809 jalr t9
411b78: 00000000 nop
411b7c: 8fdc0010 lw gp,16(s8)
411b80: 0040c021 move t8,v0
411b84: 02181021 addu v0,s0,t8
411b88: 8fd80028 lw t8,40(s8)
411b8c: 0302c02b sltu t8,t8,v0
411b90: 13000018 beqz t8,411bf4 <hci_bustostr+0xaa0>
411b94: 00000000 nop
411b98: 8fd80044 lw t8,68(s8)
411b9c: 13000004 beqz t8,411bb0 <hci_bustostr+0xa5c>
411ba0: 00000000 nop
411ba4: 8fd80044 lw t8,68(s8)
411ba8: 10000003 b 411bb8 <hci_bustostr+0xa64>
411bac: 00000000 nop
411bb0: 8f988028 lw t8,-32728(gp)
411bb4: 2718f078 addiu t8,t8,-3976
411bb8: 8fc40020 lw a0,32(s8)
411bbc: 8f828028 lw v0,-32728(gp)
411bc0: 2445f07c addiu a1,v0,-3972
411bc4: 03003021 move a2,t8
411bc8: 8f988094 lw t8,sprintf
411bcc: 0300c821 move t9,t8
411bd0: 0320f809 jalr t9
411bd4: 00000000 nop
411bd8: 8fdc0010 lw gp,16(s8)
411bdc: 0040c021 move t8,v0
411be0: 8fc20020 lw v0,32(s8)
411be4: 0058c021 addu t8,v0,t8
411be8: afd80020 sw t8,32(s8)
411bec: 8fd80020 lw t8,32(s8)
411bf0: afd8001c sw t8,28(s8)
411bf4: 8fd80018 lw t8,24(s8)
411bf8: 8f180000 lw t8,0(t8)
411bfc: 8fc40020 lw a0,32(s8)
411c00: 8f828028 lw v0,-32728(gp)
411c04: 2445f080 addiu a1,v0,-3968
411c08: 03003021 move a2,t8
411c0c: 8f988094 lw t8,sprintf
411c10: 0300c821 move t9,t8
411c14: 0320f809 jalr t9
--
412038: 8fd80024 lw t8,36(s8)
41203c: 03002021 move a0,t8
412040: 8f988024 lw t8,-32732(gp)
412044: 0300c821 move t9,t8
412048: 0320f809 jalr t9
41204c: 00000000 nop
412050: 8fdc0010 lw gp,16(s8)
412054: afc20034 sw v0,52(s8)
412058: 8fd80034 lw t8,52(s8)
41205c: 17000004 bnez t8,412070 <hci_bustostr+0xf1c>
412060: 00000000 nop
412064: 0000c021 move t8,zero
412068: 10000077 b 412248 <hci_bustostr+0x10f4>
41206c: 00000000 nop
412070: 8fd80034 lw t8,52(s8)
412074: afd8001c sw t8,28(s8)
412078: 8fd8001c lw t8,28(s8)
41207c: a3000000 sb zero,0(t8)
412080: 8fd8004c lw t8,76(s8)
412084: 1300000e beqz t8,4120c0 <hci_bustostr+0xf6c>
412088: 00000000 nop
41208c: 8fc4001c lw a0,28(s8)
412090: 8f988028 lw t8,-32728(gp)
412094: 2705db08 addiu a1,t8,-9464
412098: 8fc6004c lw a2,76(s8)
41209c: 8f988094 lw t8,sprintf
4120a0: 0300c821 move t9,t8
4120a4: 0320f809 jalr t9
--
412140: 8f180000 lw t8,0(t8)
412144: 03002021 move a0,t8
412148: 8f988088 lw t8,strlen
41214c: 0300c821 move t9,t8
412150: 0320f809 jalr t9
412154: 00000000 nop
412158: 8fdc0010 lw gp,16(s8)
41215c: 0040c021 move t8,v0
412160: 02181021 addu v0,s0,t8
412164: 8fd80030 lw t8,48(s8)
412168: 0302c02b sltu t8,t8,v0
41216c: 13000018 beqz t8,4121d0 <hci_bustostr+0x107c>
412170: 00000000 nop
412174: 8fd8004c lw t8,76(s8)
412178: 13000004 beqz t8,41218c <hci_bustostr+0x1038>
41217c: 00000000 nop
412180: 8fd8004c lw t8,76(s8)
412184: 10000003 b 412194 <hci_bustostr+0x1040>
412188: 00000000 nop
41218c: 8f988028 lw t8,-32728(gp)
412190: 2718f078 addiu t8,t8,-3976
412194: 8fc4001c lw a0,28(s8)
412198: 8f828028 lw v0,-32728(gp)
41219c: 2445f07c addiu a1,v0,-3972
4121a0: 03003021 move a2,t8
4121a4: 8f988094 lw t8,sprintf
4121a8: 0300c821 move t9,t8
4121ac: 0320f809 jalr t9
4121b0: 00000000 nop
4121b4: 8fdc0010 lw gp,16(s8)
4121b8: 0040c021 move t8,v0
4121bc: 8fc2001c lw v0,28(s8)
4121c0: 0058c021 addu t8,v0,t8
4121c4: afd8001c sw t8,28(s8)
4121c8: 8fd8001c lw t8,28(s8)
4121cc: afd80018 sw t8,24(s8)
4121d0: 8fd8002c lw t8,44(s8)
4121d4: 8f180000 lw t8,0(t8)
4121d8: 8fc4001c lw a0,28(s8)
4121dc: 8f828028 lw v0,-32728(gp)
4121e0: 2445db00 addiu a1,v0,-9472
4121e4: 03003021 move a2,t8
4121e8: 8f988094 lw t8,sprintf
4121ec: 0300c821 move t9,t8
4121f0: 0320f809 jalr t9
[*] Function sprintf used 12 times hciattach