[*] Binary protection state of libxtables.so.12.6.0

  
  	Full RELRO     Canary found      NX enabled   DSO          No RPATH     No RUNPATH   No Symbols


[*] Function fprintf tear down of libxtables.so.12.6.0

it eq
strbeq r2, [r5, r3]
mov r6, r5
blx 0x2900
b 0x302e
mov r0, r5
blx sym.imp.gai_strerror
mov r0, r6
blx 0x2900
mov.w r0, -1
b 0x307c
mov r0, r6
blx sym.imp.gai_strerror
b 0x30fc
blx 0x2560
ldr r3, [0x00003150]
ldr r3, [r7, r3]
ldr r4, [r3]
blx 0x26f8
ldr r0, [r0]
blx sym.imp.__vfprintf_chk
ldr r2, [0x00003154]
mov r3, r0
--
ldr r3, [r3]
str r3, [sp, 0x24]
mov.w r3, 0
blx 0x2750
movs r3, 0
mov r6, r3
mov fp, r3
strb.w r3, [sp, 0x23]
movs r1, 0x2e
mov r0, r5
blx 0x26d0
mov r4, r0
cbz r0, 0x340a
movs r3, 0
movs r7, 0xff
strb.w fp, [r0]
mov r2, sb
mov r0, r5
mov r1, r3
str r7, [sp]
blx sym.imp.__fprintf_chk
cbz r0, 0x3422
ldr r3, [sp, 0xc]
adds r6, 1
cmp r6, 3
add.w r5, r4, 1
strb r3, [r8], 1
bne 0x339c
movs r3, 0
mov r2, sb
mov r1, r3
mov r0, r5
str r7, [sp]
blx sym.imp.__fprintf_chk
cbz r0, 0x3422
ldr r3, [0x00003454]
--
addw r0, r0, 0x80c
ldr r2, [0x0000345c]
ldr r3, [0x0000344c]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 0x24]
eors r2, r3
mov.w r3, 0
bne 0x3442
add sp, 0x2c
pop.w {r4, r5, r6, r7, r8, sb, sl, fp, pc}
cmp.w sl, 0
bne 0x3422
movs r2, 0xff
mov r3, sl
str r2, [sp]
mov r0, r5
add r2, sp, 0xc
mov r1, sl
blx sym.imp.__fprintf_chk
cbnz r0, 0x3426
movs r0, 0
--
mov.w r0, -1
pop {r3, pc}
nop
push {r4, r5, r6, lr}
mov r4, r1
ldr r5, [0x000034ec]
sub sp, 0x10
movw r2, 0xffff
movs r3, 0
ldr r1, [0x000034f0]
mov r6, r0
add r5, pc
str r2, [sp]
add r2, sp, 8
ldr r1, [r5, r1]
ldr r5, [0x000034f4]
ldr r1, [r1]
str r1, [sp, 0xc]
mov.w r1, 0
mov r1, r3
blx sym.imp.__fprintf_chk
add r5, pc
cbz r0, 0x34c6
--
b 0x36d4
ldr r7, [0x000037d4]
add r7, pc
b 0x35d4
ldr r7, [0x000037d8]
add r7, pc
b 0x35d4
mov r0, r7
bl 0x2a68
cmp.w r8, 3
it ne
cmpne r0, 0
beq.w 0x35d4
b 0x371c
ldr r3, [0x000037bc]
ldr.w r3, [sb, r3]
ldr r3, [r3]
ldr r4, [r3, 0x14]
blx 0x26f8
ldr r0, [r0]
blx sym.imp.__vfprintf_chk
ldr r1, [0x000037dc]
mov r3, r0
--
ldr r3, [r5, 4]!
cmp r3, 0
bne 0x3842
mov fp, sb
ldrb r3, [fp], 1
cbz r3, 0x38ba
movs r1, 0x3a
mov r0, fp
blx 0x26d0
mov sb, r0
cmp r0, 0
bne 0x382e
mov r0, fp
blx 0x26c4
add.w sb, fp, r0
b 0x382e
ldr r2, [sp, 0x20]
ldr r3, [0x0000396c]
ldr r3, [r2, r3]
ldr r6, [r3]
blx sym.imp.__vfprintf_chk
ldr r2, [0x00003970]
mov r5, r0
--
mov r2, r7
ldr.w sb, [r8, r3]
ldr r3, [0x00003bdc]
add r3, pc
ldr.w r0, [r3, 0x800]
ldr.w r3, [sb]
ldr r1, [r3, 8]
movs r3, 0
bl 0x37e0
cmp r0, 0
it eq
cmpeq r5, 3
mov r4, r0
bne 0x3a82
ldr r3, [0x00003bd4]
ldr.w r3, [r8, r3]
ldr r3, [r3]
ldr r4, [r3, 0x14]
blx 0x26f8
ldr r0, [r0]
blx sym.imp.__vfprintf_chk
ldr r1, [0x00003be0]
mov r3, r0
--
b 0x3cf0
mov r0, r5
blx 0x2900
cmp r4, 0
bne 0x3d6a
ldr r1, [0x00003e14]
mov r3, r7
ldr r2, [0x00003e1c]
ldr r1, [r6, r1]
add r2, pc
ldr r0, [r1]
movs r1, 1
blx 0x27c4
b 0x3d6a
blx 0x2560
ldr r3, [0x00003e14]
ldr r3, [r6, r3]
ldr r4, [r3]
blx 0x26f8
ldr r0, [r0]
blx sym.imp.__vfprintf_chk
ldr r2, [0x00003e20]
mov r3, r0
add r2, pc
movs r1, 1
mov r0, r4
blx 0x27c4
movs r0, 1
blx sym.imp.strtoul
ldr r3, [0x00003e14]
mov r0, r1
ldr r3, [r6, r3]
ldr r4, [r3]
blx sym.imp.__vfprintf_chk
ldr r2, [0x00003e24]
mov r3, r0
add r2, pc
b 0x3dc6
ldr r3, [0x00003e14]
ldr r3, [r6, r3]
ldr r4, [r3]
blx sym.imp.__vfprintf_chk
ldr r2, [0x00003e28]
mov r3, r0
--
mov.w r3, 0
blx sym.imp.strlen
cbz r0, 0x4684
ldr r2, [0x000046dc]
ldr r3, [0x000046d4]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 0xc]
eors r2, r3
mov.w r3, 0
bne 0x46b8
add sp, 0x14
pop {r4, r5, pc}
movs r2, 0x20
mov r3, r0
mov r1, r0
str r2, [sp]
mov r0, r4
add r2, sp, 8
blx sym.imp.__fprintf_chk
cbz r0, 0x46bc
ldr r3, [sp, 8]
--
mov r4, r0
cbz r0, 0x4bdc
ldr r2, [0x00004c80]
ldr r3, [0x00004c78]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 0xc]
eors r2, r3
mov.w r3, 0
bne 0x4c5c
mov r0, r4
add sp, 0x10
pop.w {r4, r5, r6, r7, r8, pc}
movs r2, 0x80
mov r3, r0
mov r1, r0
str r2, [sp]
mov r0, r5
add r2, sp, 8
blx sym.imp.__fprintf_chk
cbz r0, 0x4c60
ldr r5, [sp, 8]
--
movs r0, r0
lsls r4, r6, 7
movs r0, r0
push {r4, r5, r6, r7, lr}
movs r2, 0xff
ldr r6, [0x00005310]
sub sp, 0x14
movs r3, 0
mov r5, r0
ldr r4, [0x00005314]
mov r1, r3
add r6, pc
str r2, [sp]
ldr r7, [0x00005318]
add r2, sp, 8
ldr r4, [r6, r4]
add r7, pc
ldr r4, [r4]
str r4, [sp, 0xc]
mov.w r4, 0
blx sym.imp.__fprintf_chk
cbnz r0, 0x52e6
ldr r3, [0x0000531c]
--
mov sb, r2
sub sp, 0x10
mov.w sl, -1
ldr r2, [0x000057e8]
add r7, sp, 8
add r1, pc
ldr.w r8, [0x000057ec]
mov r4, r0
mov r6, r3
ldr r2, [r1, r2]
movs r3, 0
mov r1, r7
add r8, pc
ldr r2, [r2]
str r2, [sp, 0xc]
mov.w r2, 0
str.w sl, [sb]
mov r2, r5
str.w sl, [sp]
ldr r0, [r0]
blx sym.imp.__fprintf_chk
cbnz r0, 0x5774
cmp r6, 0
--
add sp, 0x10
pop.w {r4, r5, r6, r7, r8, sb, sl, pc}
ldr r0, [sp, 8]
ldrb r3, [r0]
cmp r3, 0
beq 0x575a
cmp r3, 0x2f
beq 0x5790
cmp r6, 0
bne 0x574c
ldr r1, [0x000057f4]
ldr r3, [0x000057f8]
ldrd r2, r5, [r4, 4]
add r1, pc
b 0x57b6
mov r2, sb
mov r1, r7
adds r0, 1
movs r3, 0
str.w sl, [sp]
blx sym.imp.__fprintf_chk
cbz r0, 0x57ac
ldr r3, [sp, 8]
--
ldr r1, [r4, r1]
mov r4, r0
add r6, pc
ldr.w r8, [r0, 8]
ldr r1, [r1]
str r1, [sp, 0x34]
mov.w r1, 0
str r3, [sp, 0xc]
ldr r7, [r6, r2]
ldr r2, [r7]
ldrb r2, [r2, 0xc]
cmp r2, 2
add r2, sp, 0xc
it eq
moveq r3, 0x20
strb.w r3, [r0, 0x38]
str r3, [sp]
movs r3, 0
ldr r0, [r0]
mov r1, r3
blx sym.imp.__fprintf_chk
mov r5, r0
cbz r0, 0x5c20
--
nop
push.w {r4, r5, r6, r7, r8, sb, sl, fp, lr}
movs r1, 7
sub sp, 0x14
mov r7, r0
movs r3, 0
add r2, sp, 8
ldr r0, [0x000061cc]
str r1, [sp]
ldr r1, [0x000061d0]
add r0, pc
ldr.w sb, [0x000061d4]
ldr r1, [r0, r1]
ldr r0, [r7]
add sb, pc
ldr r1, [r1]
str r1, [sp, 0xc]
mov.w r1, 0
mov r1, r3
str r3, [sp, 8]
blx sym.imp.__fprintf_chk
cbz r0, 0x616e
ldrb.w r2, [sp, 8]
--
movs r2, 0x10
movs r0, r0
push.w {r4, r5, r6, r7, r8, sb, lr}
movs r4, 0xff
ldr r5, [0x00006540]
sub sp, 0x1c
mov r6, r0
movs r3, 0
ldr r1, [0x00006544]
mov r2, r3
add r5, pc
ldr r0, [r0]
str r4, [sp]
ldr r1, [r5, r1]
ldr r7, [0x00006548]
ldr r1, [r1]
str r1, [sp, 0x14]
mov.w r1, 0
add r1, sp, 8
add r7, pc
blx sym.imp.__fprintf_chk
cbnz r0, 0x64d0
ldr r3, [r6, 8]
--
strb r3, [r6, 0x18]
ldr r2, [0x00006554]
ldr r3, [0x00006544]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 0x14]
eors r2, r3
mov.w r3, 0
bne 0x6532
add sp, 0x1c
pop.w {r4, r5, r6, r7, r8, sb, pc}
ldr r5, [r6]
add.w sb, sp, 0xc
add.w r8, sp, 0x10
movs r3, 0
mov r2, sb
mov r1, r8
mov r0, r5
str r4, [sp]
blx sym.imp.__fprintf_chk
ldr r3, [sp, 0xc]
ldr r0, [sp, 0x10]
strb r4, [r6, 0x19]
strb r3, [r6, 0x18]
ldrb r3, [r0]
cmp r3, 0x2f
beq 0x6502
cmp r3, 0
beq 0x64b6
ldr r1, [0x00006558]
ldr r3, [0x0000655c]
add r1, pc
b 0x6526
mov r2, sb
mov r1, r8
adds r0, 1
movs r3, 0
str r4, [sp]
blx sym.imp.__fprintf_chk
cbz r0, 0x6536
ldrd r2, r3, [sp, 0xc]

[*] Function fprintf used 21 times libxtables.so.12.6.0