[*] Binary protection state of discovery
Full RELRO Canary found NX disabled No PIE No RPATH No RUNPATH No Symbols
[*] Function printf tear down of discovery
404a10: 2418000d li t8,13
404a14: 1058000b beq v0,t8,404a44 <_Z14create_pidfilePKc@@Base+0x144>
404a18: 00000000 nop
404a1c: 8f988400 lw t8,-31744(gp)
404a20: 0300c821 move t9,t8
404a24: 0320f809 jalr t9
404a28: 00000000 nop
404a2c: 8fdc0010 lw gp,16(s8)
404a30: 0040c021 move t8,v0
404a34: 8f020000 lw v0,0(t8)
404a38: 2418000b li t8,11
404a3c: 1458000a bne v0,t8,404a68 <_Z14create_pidfilePKc@@Base+0x168>
404a40: 00000000 nop
404a44: 8f988024 lw t8,-32732(gp)
404a48: 27046080 addiu a0,t8,24704
404a4c: 8f98826c lw t8,-32148(gp)
404a50: 0300c821 move t9,t8
404a54: 0320f809 jalr t9
404a58: 00000000 nop
404a5c: 8fdc0010 lw gp,16(s8)
404a60: 10000036 b 404b3c <_Z14create_pidfilePKc@@Base+0x23c>
404a64: 00000000 nop
404a68: 8f988024 lw t8,-32732(gp)
404a6c: 27046098 addiu a0,t8,24728
404a70: 8fc5001c lw a1,28(s8)
404a74: 8f988274 lw t8,printf
404a78: 0300c821 move t9,t8
404a7c: 0320f809 jalr t9
--
40bb08: 331800ff andi t8,t8,0xff
40bb0c: 13000014 beqz t8,40bb60 <_ZN8Listener7setupV4EiPKc@@Base+0x248>
40bb10: 00000000 nop
40bb14: 8f988024 lw t8,-32732(gp)
40bb18: 27046c44 addiu a0,t8,27716
40bb1c: 8f98826c lw t8,-32148(gp)
40bb20: 0300c821 move t9,t8
40bb24: 0320f809 jalr t9
40bb28: 00000000 nop
40bb2c: 8fdc0018 lw gp,24(s8)
40bb30: 8fd80040 lw t8,64(s8)
40bb34: 07000007 bltz t8,40bb54 <_ZN8Listener7setupV4EiPKc@@Base+0x23c>
40bb38: 00000000 nop
40bb3c: 8fc40040 lw a0,64(s8)
40bb40: 8f988314 lw t8,-31980(gp)
40bb44: 0300c821 move t9,t8
40bb48: 0320f809 jalr t9
40bb4c: 00000000 nop
40bb50: 8fdc0018 lw gp,24(s8)
40bb54: 2418ffff li t8,-1
40bb58: 100000b1 b 40be20 <_ZN8Listener7setupV4EiPKc@@Base+0x508>
40bb5c: 00000000 nop
40bb60: 8f988024 lw t8,-32732(gp)
40bb64: 27046c54 addiu a0,t8,27732
40bb68: 8fc50040 lw a1,64(s8)
40bb6c: 8f988274 lw t8,printf
40bb70: 0300c821 move t9,t8
40bb74: 0320f809 jalr t9
--
40bbac: 03002021 move a0,t8
40bbb0: 8f988398 lw t8,-31848(gp)
40bbb4: 0300c821 move t9,t8
40bbb8: 0320f809 jalr t9
40bbbc: 00000000 nop
40bbc0: 8fdc0018 lw gp,24(s8)
40bbc4: 0040c021 move t8,v0
40bbc8: afb80010 sw t8,16(sp)
40bbcc: 8fc40040 lw a0,64(s8)
40bbd0: 3405ffff li a1,0xffff
40bbd4: 24060019 li a2,25
40bbd8: 02003821 move a3,s0
40bbdc: 8f988348 lw t8,-31928(gp)
40bbe0: 0300c821 move t9,t8
40bbe4: 0320f809 jalr t9
40bbe8: 00000000 nop
40bbec: 8fdc0018 lw gp,24(s8)
40bbf0: 0040c021 move t8,v0
40bbf4: 27180001 addiu t8,t8,1
40bbf8: 2f180001 sltiu t8,t8,1
40bbfc: 331800ff andi t8,t8,0xff
40bc00: 13000014 beqz t8,40bc54 <_ZN8Listener7setupV4EiPKc@@Base+0x33c>
40bc04: 00000000 nop
40bc08: 8f988024 lw t8,-32732(gp)
40bc0c: 27046c60 addiu a0,t8,27744
40bc10: 8f988274 lw t8,printf
40bc14: 0300c821 move t9,t8
40bc18: 0320f809 jalr t9
--
4212b4: afbe0020 sw s8,32(sp)
4212b8: 03a0f021 move s8,sp
4212bc: afbc0010 sw gp,16(sp)
4212c0: 8f9883fc lw t8,-31748(gp)
4212c4: 8f180000 lw t8,0(t8)
4212c8: afd8001c sw t8,28(s8)
4212cc: 2404000a li a0,10
4212d0: 8f9883d0 lw t8,-31792(gp)
4212d4: 0300c821 move t9,t8
4212d8: 0320f809 jalr t9
4212dc: 00000000 nop
4212e0: 8fdc0010 lw gp,16(s8)
4212e4: 8f988214 lw t8,-32236(gp)
4212e8: 27049590 addiu a0,t8,-27248
4212ec: 8f98826c lw t8,-32148(gp)
4212f0: 0300c821 move t9,t8
4212f4: 0320f809 jalr t9
4212f8: 00000000 nop
4212fc: 8fdc0010 lw gp,16(s8)
421300: 8f988214 lw t8,-32236(gp)
421304: 270495c4 addiu a0,t8,-27196
421308: 8f988214 lw t8,-32236(gp)
42130c: 2705960c addiu a1,t8,-27124
421310: 8f988214 lw t8,-32236(gp)
421314: 2706960c addiu a2,t8,-27124
421318: 8f988274 lw t8,printf
42131c: 0300c821 move t9,t8
421320: 0320f809 jalr t9
[*] Function printf used 4 times discovery