[*] Binary protection state of libncurses.so.6
No RELRO No Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function strcpy tear down of libncurses.so.6
1894c: 17000059 bnez t8,18ab4 <putwin+0x474>
18950: 26520004 addiu s2,s2,4
18954: 8e450000 lw a1,0(s2)
18958: 2406ff00 li a2,-256
1895c: a3a00018 sb zero,24(sp)
18960: 00b41026 xor v0,a1,s4
18964: 00461024 and v0,v0,a2
18968: 1040ffd5 beqz v0,188c0 <putwin+0x280>
1896c: 30b700ff andi s7,a1,0xff
18970: 8f988028 lw t8,-32728(gp)
18974: 00a62824 and a1,a1,a2
18978: 02c02021 move a0,s6
1897c: 27197e40 addiu t9,t8,32320
18980: 0320f809 jalr t9
18984: 02863024 and a2,s4,a2
18988: 1000ffcd b 188c0 <putwin+0x280>
1898c: 8fbc0010 lw gp,16(sp)
18990: 8e450000 lw a1,0(s2)
18994: 2402ff00 li v0,-256
18998: 02e02021 move a0,s7
1899c: 00003021 move a2,zero
189a0: 1000ff94 b 187f4 <putwin+0x1b4>
189a4: 00a22824 and a1,a1,v0
189a8: 92420000 lbu v0,0(s2)
189ac: 1040ff99 beqz v0,18814 <putwin+0x1d4>
189b0: 8f99862c lw t9,strcpy
189b4: 02e02021 move a0,s7
189b8: 8f82802c lw v0,-32724(gp)
--
247b0: 8f9582a4 lw s5,-32092(gp)
247b4: 8eb80000 lw t8,0(s5)
247b8: 8f180010 lw t8,16(t8)
247bc: 8f040240 lw a0,576(t8)
247c0: 10800053 beqz a0,24910 <cprint_sp+0x1d0>
247c4: 8f998624 lw t9,-31196(gp)
247c8: 0320f809 jalr t9
247cc: 02402821 move a1,s2
247d0: 8fbc0010 lw gp,16(sp)
247d4: 00402021 move a0,v0
247d8: 8f9980e0 lw t9,strlen
247dc: 0320f809 jalr t9
247e0: 0040f021 move s8,v0
247e4: 8fbc0010 lw gp,16(sp)
247e8: 0040a021 move s4,v0
247ec: 13c0005c beqz s8,24960 <cprint_sp+0x220>
247f0: 00529821 addu s3,v0,s2
247f4: afb30018 sw s3,24(sp)
247f8: 0000b021 move s6,zero
247fc: 8f998514 lw t9,-31468(gp)
24800: 0320f809 jalr t9
24804: 26640001 addiu a0,s3,1
24808: 8fbc0010 lw gp,16(sp)
2480c: 10400054 beqz v0,24960 <cprint_sp+0x220>
24810: 00408021 move s0,v0
24814: 8f99862c lw t9,strcpy
24818: 00402021 move a0,v0
2481c: 0320f809 jalr t9
--
2486c: 00002021 move a0,zero
24870: 8fbc0010 lw gp,16(sp)
24874: 8f9984fc lw t9,-31492(gp)
24878: 0320f809 jalr t9
2487c: 00408821 move s1,v0
24880: 8fbc0010 lw gp,16(sp)
24884: 8f998054 lw t9,-32684(gp)
24888: 0320f809 jalr t9
2488c: 02002021 move a0,s0
24890: 02201021 move v0,s1
24894: 8fbf0044 lw ra,68(sp)
24898: 8fbe0040 lw s8,64(sp)
2489c: 8fb7003c lw s7,60(sp)
248a0: 8fb60038 lw s6,56(sp)
248a4: 8fb50034 lw s5,52(sp)
248a8: 8fb40030 lw s4,48(sp)
248ac: 8fb3002c lw s3,44(sp)
248b0: 8fb20028 lw s2,40(sp)
248b4: 8fb10024 lw s1,36(sp)
248b8: 8fb00020 lw s0,32(sp)
248bc: 03e00008 jr ra
248c0: 27bd0048 addiu sp,sp,72
248c4: 8eb80000 lw t8,0(s5)
248c8: 8fa20018 lw v0,24(sp)
248cc: 8f180010 lw t8,16(t8)
248d0: 8f99862c lw t9,strcpy
248d4: 02022021 addu a0,s0,v0
248d8: 0320f809 jalr t9
--
27a90: 8f998514 lw t9,-31468(gp)
27a94: 24040201 li a0,513
27a98: 0320f809 jalr t9
27a9c: afa50018 sw a1,24(sp)
27aa0: 8fbc0010 lw gp,16(sp)
27aa4: 8fa50018 lw a1,24(sp)
27aa8: 14400005 bnez v0,27ac0 <_nc_set_type+0x80>
27aac: ae020014 sw v0,20(s0)
27ab0: 8fbf0024 lw ra,36(sp)
27ab4: 8fb00020 lw s0,32(sp)
27ab8: 03e00008 jr ra
27abc: 27bd0028 addiu sp,sp,40
27ac0: 1000ffea b 27a6c <_nc_set_type+0x2c>
27ac4: 0040c021 move t8,v0
00027ac8 <_nc_get_type>:
27ac8: 3c1c0003 lui gp,0x3
27acc: 279c1098 addiu gp,gp,4248
27ad0: 0399e021 addu gp,gp,t9
27ad4: 1080000d beqz a0,27b0c <_nc_get_type+0x44>
27ad8: 00000000 nop
27adc: 8f9885c0 lw t8,-31296(gp)
27ae0: 8f050014 lw a1,20(t8)
27ae4: 10a00004 beqz a1,27af8 <_nc_get_type+0x30>
27ae8: 00000000 nop
27aec: 8f99862c lw t9,strcpy
27af0: 03200008 jr t9
27af4: 00000000 nop
27af8: 8f858030 lw a1,-32720(gp)
27afc: 8f99862c lw t9,strcpy
27b00: 24a5bb88 addiu a1,a1,-17528
27b04: 03200008 jr t9
--
28650: 24420002 addiu v0,v0,2
28654: 26100004 addiu s0,s0,4
28658: 1616fff6 bne s0,s6,28634 <_nc_first_db+0x11c>
2865c: 0282a021 addu s4,s4,v0
28660: 8f998514 lw t9,-31468(gp)
28664: 0320f809 jalr t9
28668: 02802021 move a0,s4
2866c: 8fbc0010 lw gp,16(sp)
28670: 104000c6 beqz v0,2898c <_nc_first_db+0x474>
28674: ae620098 sw v0,152(s3)
28678: a0400000 sb zero,0(v0)
2867c: 00408021 move s0,v0
28680: 2414003a li s4,58
28684: 8e320000 lw s2,0(s1)
28688: 02002021 move a0,s0
2868c: 82580000 lb t8,0(s2)
28690: 1300000d beqz t8,286c8 <_nc_first_db+0x1b0>
28694: 8f9980e0 lw t9,strlen
28698: 0320f809 jalr t9
2869c: 00000000 nop
286a0: 02021021 addu v0,s0,v0
286a4: 105000e1 beq v0,s0,28a2c <_nc_first_db+0x514>
286a8: 8fbc0010 lw gp,16(sp)
286ac: 24440001 addiu a0,v0,1
286b0: a0540000 sb s4,0(v0)
286b4: 8f99862c lw t9,strcpy
286b8: 0320f809 jalr t9
286bc: 02402821 move a1,s2
--
2c850: 24050002 li a1,2
2c854: 0320f809 jalr t9
2c858: 24060001 li a2,1
2c85c: 1040003b beqz v0,2c94c <tgetstr_sp+0x168>
2c860: 8fbc0010 lw gp,16(sp)
2c864: 84580008 lh t8,8(v0)
2c868: 07000029 bltz t8,2c910 <tgetstr_sp+0x12c>
2c86c: 00008021 move s0,zero
2c870: 8e420010 lw v0,16(s2)
2c874: 0018c080 sll t8,t8,0x2
2c878: 0058c021 addu t8,v0,t8
2c87c: 8f100000 lw s0,0(t8)
2c880: 2618ffff addiu t8,s0,-1
2c884: 2f18fffe sltiu t8,t8,-2
2c888: 13000015 beqz t8,2c8e0 <tgetstr_sp+0xfc>
2c88c: 8f9882a4 lw t8,-32092(gp)
2c890: 8f180000 lw t8,0(t8)
2c894: 8f180010 lw t8,16(t8)
2c898: 8f18009c lw t8,156(t8)
2c89c: 13100050 beq t8,s0,2c9e0 <tgetstr_sp+0x1fc>
2c8a0: 8f8285c0 lw v0,-31296(gp)
2c8a4: 1220000f beqz s1,2c8e4 <tgetstr_sp+0x100>
2c8a8: 02001021 move v0,s0
2c8ac: 8e240000 lw a0,0(s1)
2c8b0: 1080000c beqz a0,2c8e4 <tgetstr_sp+0x100>
2c8b4: 8f99862c lw t9,strcpy
2c8b8: 0320f809 jalr t9
2c8bc: 02002821 move a1,s0
--
3317c: 8fbc0010 lw gp,16(sp)
33180: 8f9980e0 lw t9,strlen
33184: 0320f809 jalr t9
33188: 00409021 move s2,v0
3318c: 0052182b sltu v1,v0,s2
33190: 8fbc0010 lw gp,16(sp)
33194: 10600015 beqz v1,331ec <_nc_remove_string+0x444>
33198: 00408021 move s0,v0
3319c: 8f998360 lw t9,-31904(gp)
331a0: 02202021 move a0,s1
331a4: 02602821 move a1,s3
331a8: 0320f809 jalr t9
331ac: 00403021 move a2,v0
331b0: 1440000e bnez v0,331ec <_nc_remove_string+0x444>
331b4: 8fbc0010 lw gp,16(sp)
331b8: 02509023 subu s2,s2,s0
331bc: 12400008 beqz s2,331e0 <_nc_remove_string+0x438>
331c0: 02602021 move a0,s3
331c4: 0260c021 move t8,s3
331c8: 02722021 addu a0,s3,s2
331cc: 03101821 addu v1,t8,s0
331d0: 27180001 addiu t8,t8,1
331d4: 80630000 lb v1,0(v1)
331d8: 1704fffc bne t8,a0,331cc <_nc_remove_string+0x424>
331dc: a303ffff sb v1,-1(t8)
331e0: 8f99862c lw t9,strcpy
331e4: 0320f809 jalr t9
331e8: 02202821 move a1,s1
[*] Function strcpy used 8 times libncurses.so.6