[*] Binary protection state of libxt_udp.so
RELRO CANARY NX PIE RPATH RUNPATH SYMBOLS
No RELRO No Canary found NX disabled DSO No RPATH No RUNPATH Symbols
[*] Function printf tear down of libxt_udp.so
940: 24841400 addiu a0,a0,5120
00000944 <udp_save>:
944: 3c1c0002 lui gp,0x2
948: 279c8afc addiu gp,gp,-29956
94c: 0399e021 addu gp,gp,t9
950: 27bdffd8 addiu sp,sp,-40
954: afbf0024 sw ra,36(sp)
958: afb10020 sw s1,32(sp)
95c: afb0001c sw s0,28(sp)
960: afbc0010 sw gp,16(sp)
964: 94a20020 lhu v0,32(a1)
968: 00a08821 move s1,a1
96c: 14400005 bnez v0,984 <udp_save+0x40>
970: 24b00020 addiu s0,a1,32
974: 96030002 lhu v1,2(s0)
978: 3402ffff li v0,0xffff
97c: 1062001a beq v1,v0,9e8 <udp_save+0xa4>
980: 00000000 nop
984: 92020008 lbu v0,8(s0)
988: 00000000 nop
98c: 30420001 andi v0,v0,0x1
990: 10400007 beqz v0,9b0 <udp_save+0x6c>
994: 00000000 nop
998: 8f848024 lw a0,-32732(gp)
99c: 8f998044 lw t9,printf
9a0: 00000000 nop
9a4: 0320f809 jalr t9
9a8: 248411b8 addiu a0,a0,4536
9ac: 8fbc0010 lw gp,16(sp)
9b0: 96250020 lhu a1,32(s1)
9b4: 96060002 lhu a2,2(s0)
9b8: 8f998044 lw t9,printf
9bc: 10a60006 beq a1,a2,9d8 <udp_save+0x94>
9c0: 00000000 nop
9c4: 8f848024 lw a0,-32732(gp)
9c8: 0320f809 jalr t9
9cc: 248411bc addiu a0,a0,4540
9d0: 10000004 b 9e4 <udp_save+0xa0>
9d4: 00000000 nop
9d8: 8f848024 lw a0,-32732(gp)
9dc: 0320f809 jalr t9
9e0: 248411cc addiu a0,a0,4556
9e4: 8fbc0010 lw gp,16(sp)
9e8: 96020004 lhu v0,4(s0)
9ec: 00000000 nop
9f0: 14400005 bnez v0,a08 <udp_save+0xc4>
9f4: 3402ffff li v0,0xffff
9f8: 96030006 lhu v1,6(s0)
9fc: 00000000 nop
a00: 1062001f beq v1,v0,a80 <udp_save+0x13c>
a04: 00000000 nop
a08: 92020008 lbu v0,8(s0)
a0c: 00000000 nop
a10: 30420002 andi v0,v0,0x2
a14: 10400007 beqz v0,a34 <udp_save+0xf0>
a18: 00000000 nop
a1c: 8f848024 lw a0,-32732(gp)
a20: 8f998044 lw t9,printf
a24: 00000000 nop
a28: 0320f809 jalr t9
a2c: 248411b8 addiu a0,a0,4536
a30: 8fbc0010 lw gp,16(sp)
a34: 96060006 lhu a2,6(s0)
a38: 96050004 lhu a1,4(s0)
a3c: 8f998044 lw t9,printf
a40: 10a60008 beq a1,a2,a64 <udp_save+0x120>
a44: 00000000 nop
--
a94: 3c1c0002 lui gp,0x2
a98: 279c89ac addiu gp,gp,-30292
a9c: 0399e021 addu gp,gp,t9
aa0: 27bdffe0 addiu sp,sp,-32
aa4: afbf001c sw ra,28(sp)
aa8: afb00018 sw s0,24(sp)
aac: afbc0010 sw gp,16(sp)
ab0: 14a00010 bnez a1,af4 <print_port+0x60>
ab4: 3090ffff andi s0,a0,0xffff
ab8: 8f858024 lw a1,-32732(gp)
abc: 00102200 sll a0,s0,0x8
ac0: 8f998054 lw t9,-32684(gp)
ac4: 00101202 srl v0,s0,0x8
ac8: 3084ffff andi a0,a0,0xffff
acc: 00822025 or a0,a0,v0
ad0: 0320f809 jalr t9
ad4: 24a511f4 addiu a1,a1,4596
ad8: 8fbc0010 lw gp,16(sp)
adc: 10400005 beqz v0,af4 <print_port+0x60>
ae0: 00000000 nop
ae4: 8c450000 lw a1,0(v0)
ae8: 00000000 nop
aec: 14a00006 bnez a1,b08 <print_port+0x74>
af0: 00000000 nop
af4: 8f848024 lw a0,-32732(gp)
af8: 8f998044 lw t9,printf
afc: 248411f8 addiu a0,a0,4600
b00: 10000004 b b14 <print_port+0x80>
b04: 02002821 move a1,s0
b08: 8f848024 lw a0,-32732(gp)
b0c: 8f998044 lw t9,printf
b10: 248411fc addiu a0,a0,4604
b14: 8fbf001c lw ra,28(sp)
--
b34: afbf002c sw ra,44(sp)
b38: afb40028 sw s4,40(sp)
b3c: afb30024 sw s3,36(sp)
b40: afb20020 sw s2,32(sp)
b44: afb1001c sw s1,28(sp)
b48: afb00018 sw s0,24(sp)
b4c: afbc0010 sw gp,16(sp)
b50: 00801821 move v1,a0
b54: 30b1ffff andi s1,a1,0xffff
b58: 8fb30040 lw s3,64(sp)
b5c: 14e00004 bnez a3,b70 <print_ports+0x4c>
b60: 30d2ffff andi s2,a2,0xffff
b64: 8f828024 lw v0,-32732(gp)
b68: 10000004 b b7c <print_ports+0x58>
b6c: 24501214 addiu s0,v0,4628
b70: 8f828024 lw v0,-32732(gp)
b74: 00000000 nop
b78: 24501200 addiu s0,v0,4608
b7c: 16200005 bnez s1,b94 <print_ports+0x70>
b80: 3402ffff li v0,0xffff
b84: 16420003 bne s2,v0,b94 <print_ports+0x70>
b88: 00000000 nop
b8c: 10e0002f beqz a3,c4c <print_ports+0x128>
b90: 00000000 nop
b94: 8f848024 lw a0,-32732(gp)
b98: 8f998044 lw t9,printf
b9c: 248411fc addiu a0,a0,4604
ba0: 0320f809 jalr t9
ba4: 00602821 move a1,v1
ba8: 8fbc0010 lw gp,16(sp)
bac: 00000000 nop
bb0: 8f828024 lw v0,-32732(gp)
bb4: 8f998044 lw t9,printf
bb8: 16320007 bne s1,s2,bd8 <print_ports+0xb4>
bbc: 24540a94 addiu s4,v0,2708
--
c38: 8fb1001c lw s1,28(sp)
c3c: 8fb00018 lw s0,24(sp)
c40: 24040020 li a0,32
c44: 03200008 jr t9
c48: 27bd0030 addiu sp,sp,48
c4c: 8fbf002c lw ra,44(sp)
c50: 8fb40028 lw s4,40(sp)
c54: 8fb30024 lw s3,36(sp)
c58: 8fb20020 lw s2,32(sp)
c5c: 8fb1001c lw s1,28(sp)
c60: 8fb00018 lw s0,24(sp)
c64: 03e00008 jr ra
c68: 27bd0030 addiu sp,sp,48
00000c6c <udp_print>:
c6c: 3c1c0002 lui gp,0x2
c70: 279c87d4 addiu gp,gp,-30764
c74: 0399e021 addu gp,gp,t9
c78: 27bdffd0 addiu sp,sp,-48
c7c: afbf002c sw ra,44(sp)
c80: afb20028 sw s2,40(sp)
c84: afb10024 sw s1,36(sp)
c88: afb00020 sw s0,32(sp)
c8c: afbc0018 sw gp,24(sp)
c90: 8f848024 lw a0,-32732(gp)
c94: 8f998044 lw t9,printf
c98: 24841210 addiu a0,a0,4624
c9c: 24b00020 addiu s0,a1,32
--
cb8: 8f848024 lw a0,-32732(gp)
cbc: 96250020 lhu a1,32(s1)
cc0: 96060002 lhu a2,2(s0)
cc4: 24510b24 addiu s1,v0,2852
cc8: 24841218 addiu a0,a0,4632
ccc: 30e70001 andi a3,a3,0x1
cd0: 0220c821 move t9,s1
cd4: 0320f809 jalr t9
cd8: afb20010 sw s2,16(sp)
cdc: 8fbc0018 lw gp,24(sp)
ce0: 92070008 lbu a3,8(s0)
ce4: 8f848024 lw a0,-32732(gp)
ce8: 96050004 lhu a1,4(s0)
cec: 96060006 lhu a2,6(s0)
cf0: 2484121c addiu a0,a0,4636
cf4: 30e70002 andi a3,a3,0x2
cf8: 0220c821 move t9,s1
cfc: 0320f809 jalr t9
d00: afb20010 sw s2,16(sp)
d04: 92020008 lbu v0,8(s0)
d08: 8fbc0018 lw gp,24(sp)
d0c: 304500fc andi a1,v0,0xfc
d10: 10a0000a beqz a1,d3c <udp_print+0xd0>
d14: 00000000 nop
d18: 8f848024 lw a0,-32732(gp)
d1c: 8f998044 lw t9,printf
d20: 8fbf002c lw ra,44(sp)
d24: 8fb20028 lw s2,40(sp)
[*] Function printf used 10 times libxt_udp.so