[*] Binary protection state of libmtd.so
No RELRO No Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function sprintf tear down of libmtd.so
2b90: 8fb401b4 lw s4,436(sp)
2b94: 8fb301b0 lw s3,432(sp)
2b98: 8fb201ac lw s2,428(sp)
2b9c: 8fb101a8 lw s1,424(sp)
2ba0: 8fb001a4 lw s0,420(sp)
2ba4: 27bd01c8 addiu sp,sp,456
2ba8: 03e00008 jr ra
2bac: 00000000 nop
00002bb0 <legacy_get_dev_info1>:
2bb0: 3c1c0002 lui gp,0x2
2bb4: 279c3030 addiu gp,gp,12336
2bb8: 0399e021 addu gp,gp,t9
2bbc: 27bdffc0 addiu sp,sp,-64
2bc0: afbf003c sw ra,60(sp)
2bc4: afbe0038 sw s8,56(sp)
2bc8: 03a0f021 move s8,sp
2bcc: afbc0010 sw gp,16(sp)
2bd0: afc40040 sw a0,64(s8)
2bd4: afc50044 sw a1,68(s8)
2bd8: 27d80018 addiu t8,s8,24
2bdc: 03002021 move a0,t8
2be0: 8f98802c lw t8,-32724(gp)
2be4: 2705cdc4 addiu a1,t8,-12860
2be8: 8fc60040 lw a2,64(s8)
2bec: 8f988084 lw t8,sprintf
2bf0: 0300c821 move t9,t8
2bf4: 0320f809 jalr t9
--
3aa4: 03009021 move s2,t8
3aa8: 00009821 move s3,zero
3aac: 00121742 srl v0,s2,0x1d
3ab0: 0013b8c0 sll s7,s3,0x3
3ab4: 0057b825 or s7,v0,s7
3ab8: 0012b0c0 sll s6,s2,0x3
3abc: 03008021 move s0,t8
3ac0: 00008821 move s1,zero
3ac4: 00101742 srl v0,s0,0x1d
3ac8: 0011a8c0 sll s5,s1,0x3
3acc: 0055a825 or s5,v0,s5
3ad0: 0010a0c0 sll s4,s0,0x3
3ad4: 27180007 addiu t8,t8,7
3ad8: 0018c0c2 srl t8,t8,0x3
3adc: 0018c0c0 sll t8,t8,0x3
3ae0: 03b8e823 subu sp,sp,t8
3ae4: 27b80010 addiu t8,sp,16
3ae8: 27180000 addiu t8,t8,0
3aec: afd8001c sw t8,28(s8)
3af0: 8fc2001c lw v0,28(s8)
3af4: 8fd80050 lw t8,80(s8)
3af8: 8f180008 lw t8,8(t8)
3afc: 00402021 move a0,v0
3b00: 03002821 move a1,t8
3b04: 8fc60054 lw a2,84(s8)
3b08: 8f988084 lw t8,sprintf
3b0c: 0300c821 move t9,t8
3b10: 0320f809 jalr t9
--
3c04: 2442ffff addiu v0,v0,-1
3c08: afc20018 sw v0,24(s8)
3c0c: 03009021 move s2,t8
3c10: 00009821 move s3,zero
3c14: 00121742 srl v0,s2,0x1d
3c18: 0013b8c0 sll s7,s3,0x3
3c1c: 0057b825 or s7,v0,s7
3c20: 0012b0c0 sll s6,s2,0x3
3c24: 03008021 move s0,t8
3c28: 00008821 move s1,zero
3c2c: 00101742 srl v0,s0,0x1d
3c30: 0011a8c0 sll s5,s1,0x3
3c34: 0055a825 or s5,v0,s5
3c38: 0010a0c0 sll s4,s0,0x3
3c3c: 27180007 addiu t8,t8,7
3c40: 0018c0c2 srl t8,t8,0x3
3c44: 0018c0c0 sll t8,t8,0x3
3c48: 03b8e823 subu sp,sp,t8
3c4c: 27b80010 addiu t8,sp,16
3c50: 27180000 addiu t8,t8,0
3c54: afd8001c sw t8,28(s8)
3c58: 8fd8001c lw t8,28(s8)
3c5c: 03002021 move a0,t8
3c60: 8fc50050 lw a1,80(s8)
3c64: 8fc60054 lw a2,84(s8)
3c68: 8f988084 lw t8,sprintf
3c6c: 0300c821 move t9,t8
3c70: 0320f809 jalr t9
--
4850: 2442ffff addiu v0,v0,-1
4854: afc20018 sw v0,24(s8)
4858: 03009021 move s2,t8
485c: 00009821 move s3,zero
4860: 00121742 srl v0,s2,0x1d
4864: 0013b8c0 sll s7,s3,0x3
4868: 0057b825 or s7,v0,s7
486c: 0012b0c0 sll s6,s2,0x3
4870: 03008021 move s0,t8
4874: 00008821 move s1,zero
4878: 00101742 srl v0,s0,0x1d
487c: 0011a8c0 sll s5,s1,0x3
4880: 0055a825 or s5,v0,s5
4884: 0010a0c0 sll s4,s0,0x3
4888: 27180007 addiu t8,t8,7
488c: 0018c0c2 srl t8,t8,0x3
4890: 0018c0c0 sll t8,t8,0x3
4894: 03b8e823 subu sp,sp,t8
4898: 27b80010 addiu t8,sp,16
489c: 27180000 addiu t8,t8,0
48a0: afd8001c sw t8,28(s8)
48a4: 8fd8001c lw t8,28(s8)
48a8: 03002021 move a0,t8
48ac: 8fc50050 lw a1,80(s8)
48b0: 8fc60054 lw a2,84(s8)
48b4: 8f988084 lw t8,sprintf
48b8: 0300c821 move t9,t8
48bc: 0320f809 jalr t9
--
49a8: 2442ffff addiu v0,v0,-1
49ac: afc20018 sw v0,24(s8)
49b0: 03009021 move s2,t8
49b4: 00009821 move s3,zero
49b8: 00121742 srl v0,s2,0x1d
49bc: 0013b8c0 sll s7,s3,0x3
49c0: 0057b825 or s7,v0,s7
49c4: 0012b0c0 sll s6,s2,0x3
49c8: 03008021 move s0,t8
49cc: 00008821 move s1,zero
49d0: 00101742 srl v0,s0,0x1d
49d4: 0011a8c0 sll s5,s1,0x3
49d8: 0055a825 or s5,v0,s5
49dc: 0010a0c0 sll s4,s0,0x3
49e0: 27180007 addiu t8,t8,7
49e4: 0018c0c2 srl t8,t8,0x3
49e8: 0018c0c0 sll t8,t8,0x3
49ec: 03b8e823 subu sp,sp,t8
49f0: 27b80010 addiu t8,sp,16
49f4: 27180000 addiu t8,t8,0
49f8: afd8001c sw t8,28(s8)
49fc: 8fd8001c lw t8,28(s8)
4a00: 03002021 move a0,t8
4a04: 8fc50050 lw a1,80(s8)
4a08: 8fc60054 lw a2,84(s8)
4a0c: 8f988084 lw t8,sprintf
4a10: 0300c821 move t9,t8
4a14: 0320f809 jalr t9
--
4b00: 2442ffff addiu v0,v0,-1
4b04: afc20018 sw v0,24(s8)
4b08: 03009021 move s2,t8
4b0c: 00009821 move s3,zero
4b10: 00121742 srl v0,s2,0x1d
4b14: 0013b8c0 sll s7,s3,0x3
4b18: 0057b825 or s7,v0,s7
4b1c: 0012b0c0 sll s6,s2,0x3
4b20: 03008021 move s0,t8
4b24: 00008821 move s1,zero
4b28: 00101742 srl v0,s0,0x1d
4b2c: 0011a8c0 sll s5,s1,0x3
4b30: 0055a825 or s5,v0,s5
4b34: 0010a0c0 sll s4,s0,0x3
4b38: 27180007 addiu t8,t8,7
4b3c: 0018c0c2 srl t8,t8,0x3
4b40: 0018c0c0 sll t8,t8,0x3
4b44: 03b8e823 subu sp,sp,t8
4b48: 27b80010 addiu t8,sp,16
4b4c: 27180000 addiu t8,t8,0
4b50: afd8001c sw t8,28(s8)
4b54: 8fd8001c lw t8,28(s8)
4b58: 03002021 move a0,t8
4b5c: 8fc50050 lw a1,80(s8)
4b60: 8fc60054 lw a2,84(s8)
4b64: 8f988084 lw t8,sprintf
4b68: 0300c821 move t9,t8
4b6c: 0320f809 jalr t9
--
5598: 2705cdf4 addiu a1,t8,-12812
559c: 24060008 li a2,8
55a0: 8f98802c lw t8,-32724(gp)
55a4: 2707ce08 addiu a3,t8,-12792
55a8: 8f9880d8 lw t8,-32552(gp)
55ac: 0300c821 move t9,t8
55b0: 0320f809 jalr t9
55b4: 00000000 nop
55b8: 8fdc0018 lw gp,24(s8)
55bc: 2418ffff li t8,-1
55c0: 1000005d b 5738 <legacy_get_dev_info1+0x2b88>
55c4: 00000000 nop
55c8: 8fc20020 lw v0,32(s8)
55cc: 2418ffff li t8,-1
55d0: 14580004 bne v0,t8,55e4 <legacy_get_dev_info1+0x2a34>
55d4: 00000000 nop
55d8: 0000c021 move t8,zero
55dc: 10000056 b 5738 <legacy_get_dev_info1+0x2b88>
55e0: 00000000 nop
55e4: 8fc20028 lw v0,40(s8)
55e8: 8fd80180 lw t8,384(s8)
55ec: 8f18000c lw t8,12(t8)
55f0: 00402021 move a0,v0
55f4: 03002821 move a1,t8
55f8: 8fc60020 lw a2,32(s8)
55fc: 8f988084 lw t8,sprintf
5600: 0300c821 move t9,t8
5604: 0320f809 jalr t9
--
5f14: 03009021 move s2,t8
5f18: 00009821 move s3,zero
5f1c: 00121742 srl v0,s2,0x1d
5f20: 0013b8c0 sll s7,s3,0x3
5f24: 0057b825 or s7,v0,s7
5f28: 0012b0c0 sll s6,s2,0x3
5f2c: 03008021 move s0,t8
5f30: 00008821 move s1,zero
5f34: 00101742 srl v0,s0,0x1d
5f38: 0011a8c0 sll s5,s1,0x3
5f3c: 0055a825 or s5,v0,s5
5f40: 0010a0c0 sll s4,s0,0x3
5f44: 27180007 addiu t8,t8,7
5f48: 0018c0c2 srl t8,t8,0x3
5f4c: 0018c0c0 sll t8,t8,0x3
5f50: 03b8e823 subu sp,sp,t8
5f54: 27b80010 addiu t8,sp,16
5f58: 27180000 addiu t8,t8,0
5f5c: afd80020 sw t8,32(s8)
5f60: 8fc20020 lw v0,32(s8)
5f64: 8fd80018 lw t8,24(s8)
5f68: 8f180004 lw t8,4(t8)
5f6c: 00402021 move a0,v0
5f70: 03002821 move a1,t8
5f74: 8fc600f4 lw a2,244(s8)
5f78: 8f988084 lw t8,sprintf
5f7c: 0300c821 move t9,t8
5f80: 0320f809 jalr t9
--
a288: af000000 sw zero,0(t8)
a28c: 2418ffff li t8,-1
a290: 03001021 move v0,t8
a294: 03c0e821 move sp,s8
a298: 8fbf00f4 lw ra,244(sp)
a29c: 8fbe00f0 lw s8,240(sp)
a2a0: 8fb000ec lw s0,236(sp)
a2a4: 27bd00f8 addiu sp,sp,248
a2a8: 03e00008 jr ra
a2ac: 00000000 nop
a2b0: 3c1c0002 lui gp,0x2
a2b4: 279cb930 addiu gp,gp,-18128
a2b8: 0399e021 addu gp,gp,t9
a2bc: 27bdffc0 addiu sp,sp,-64
a2c0: afbf003c sw ra,60(sp)
a2c4: afbe0038 sw s8,56(sp)
a2c8: 03a0f021 move s8,sp
a2cc: afbc0010 sw gp,16(sp)
a2d0: afc40040 sw a0,64(s8)
a2d4: afc50044 sw a1,68(s8)
a2d8: 27d80018 addiu t8,s8,24
a2dc: 03002021 move a0,t8
a2e0: 8f98802c lw t8,-32724(gp)
a2e4: 2705d830 addiu a1,t8,-10192
a2e8: 8fc60044 lw a2,68(s8)
a2ec: 8f988084 lw t8,sprintf
a2f0: 0300c821 move t9,t8
a2f4: 0320f809 jalr t9
--
aaa4: 8fd80024 lw t8,36(s8)
aaa8: 8f180004 lw t8,4(t8)
aaac: afd80020 sw t8,32(s8)
aab0: 10000042 b abbc <td_erase_node+0x14c>
aab4: 00000000 nop
aab8: 27d8002c addiu t8,s8,44
aabc: 03002021 move a0,t8
aac0: 8fc50020 lw a1,32(s8)
aac4: 8f98802c lw t8,-32724(gp)
aac8: 2718a2b0 addiu t8,t8,-23888
aacc: 0300c821 move t9,t8
aad0: 0320f809 jalr t9
aad4: 00000000 nop
aad8: 8fdc0018 lw gp,24(s8)
aadc: 8fd80058 lw t8,88(s8)
aae0: 8f020020 lw v0,32(t8)
aae4: 8fd80020 lw t8,32(s8)
aae8: 0018c200 sll t8,t8,0x8
aaec: 0058c021 addu t8,v0,t8
aaf0: afd80028 sw t8,40(s8)
aaf4: 27d8002c addiu t8,s8,44
aaf8: 03002021 move a0,t8
aafc: 8f98802c lw t8,-32724(gp)
ab00: 2705d830 addiu a1,t8,-10192
ab04: 8fc60020 lw a2,32(s8)
ab08: 8f988084 lw t8,sprintf
ab0c: 0300c821 move t9,t8
ab10: 0320f809 jalr t9
[*] Function sprintf used 10 times libmtd.so