[*] Binary protection state of m_xt.so

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


[*] Function printf tear down of m_xt.so

strb r2, [r0, 0x1f]
cbz r3, 0xcc6
blx r3
ldr r2, [r5, 0x44]
add.w r3, r5, 0x54
ldrd r0, r1, [sp, 0x38]
blx sym.imp.xtables_options_xfrm
cmp r0, 0
beq.w 0xf5c
str r0, [sp, 0x3c]
b 0xc6c
ldr r0, [0x00000fd0]
movs r1, 1
ldr r3, [0x00000fc0]
ldr r2, [0x00000fd4]
ldr.w r4, [fp, r0]
ldr.w r0, [fp, r3]
add r2, pc
ldr r3, [r4]
ldr r0, [r0]
blx sym.imp.__fprintf_chk
b 0xc26
ldr r3, [0x00000fd8]
--
adds.w r3, r3, 0x10000
it ne
movne r3, 1
lsls r3, r3, 2
str r3, [sp, 0x24]
blx loc.imp.addattr_nest
ldr r3, [0x00000fdc]
movs r1, 1
ldr r2, [sp, 0x24]
mov sb, r0
ldr.w r7, [fp, r3]
ldr r3, [0x00000fe0]
add r3, pc
ldr.w r3, [r3, r2, lsl 2]
ldr r2, [0x00000fe4]
str r3, [sp]
ldr r3, [0x00000fe8]
add r2, pc
ldr r0, [r7]
add r3, pc
blx sym.imp.__fprintf_chk
ldr r0, [0x00000fec]
movs r2, 9
ldr r3, [r7]
movs r1, 1
add r0, pc
blx sym.imp.fwrite
ldr r3, [r5, 0x2c]
cmp r3, 0
beq.w 0xf4e
movs r2, 0
ldr r1, [r5, 0x58]
mov r0, r2
blx r3
ldr r2, [0x00000ff0]
movs r1, 1
ldr r0, [r7]
movs r7, 4
ldr r3, [sp, 0x28]
adds r5, 0x5c
add r2, pc
blx sym.imp.__fprintf_chk
ldr r2, [0x00000ff4]
movs r3, 7
--
add r7, pc
adds.w r3, r3, 0x10000
it ne
movne r3, 1
lsls r3, r3, 2
str r3, [sp, 0x24]
blx loc.imp.addattr_nest
ldr r3, [0x00000fdc]
movs r1, 1
str r0, [sp, 8]
ldr r2, [sp, 0x24]
ldr.w sb, [fp, r3]
ldr r3, [0x00001000]
add r3, pc
ldr.w r3, [r3, r2, lsl 2]
ldr r2, [0x00001004]
str r3, [sp]
mov r3, r7
ldr.w r0, [sb]
add r2, pc
blx sym.imp.__fprintf_chk
ldr r0, [0x00001008]
movs r2, 9
ldr.w r3, [sb]
movs r1, 1
add r0, pc
blx sym.imp.fwrite
ldr r2, [0x0000100c]
movs r1, 1
ldr r3, [sp, 0x28]
ldr.w r0, [sb]
add r2, pc
blx sym.imp.__fprintf_chk
ldm.w r7, {r0, r1}
movs r3, 7
--
ldr.w r3, [r8]
movs r0, 1
ldr r2, [sp, 0x10]
add.w r6, r6, r3, lsl 2
ldr r3, [r2]
subs r3, r3, r4
str r3, [r2]
ldr r3, [sp, 0x14]
str r6, [r3]
str.w r5, [r8]
blx sym.imp.xtables_free_opts
b 0xe26
ldr r0, [0x00000fc0]
movs r1, 1
ldr r3, [sp, 0x1c]
ldr r2, [0x00001010]
ldr.w r0, [fp, r0]
ldr r3, [r3]
add r2, pc
ldr r0, [r0]
blx sym.imp.__fprintf_chk
b 0xc26
ldr r1, [0x00001014]
movs r0, 1
ldr r2, [r5, 8]
add r1, pc
blx sym.imp.__printf_chk
b 0xd7c
ldr r0, [0x00000fc0]
movs r1, 1
ldr r3, [sp, 0x1c]
ldr r2, [0x00001018]
ldr.w r0, [fp, r0]
ldr r3, [r3]
add r2, pc
ldr r0, [r0]
blx sym.imp.__fprintf_chk
b 0xc26
ldr r0, [0x00000fc0]
movs r1, 1
ldr r2, [0x0000101c]
ldr r3, [r6]
ldr.w r0, [fp, r0]
add r2, pc
ldr r0, [r0]
blx sym.imp.__fprintf_chk
b 0xc26
blx sym.imp.__stack_chk_fail
--
movs r1, 2
add r0, sp, 8
blx sym.imp.xtables_init_all
bl 0xb24
mov r2, r4
mov.w r1, 0x8000
ldrh r3, [r2], 4
add r0, sp, 0x24
str r1, [sp]
movs r1, 7
subs r3, 4
blx loc.imp.parse_rtattr_flags
ldr r3, [sp, 0x28]
cmp r3, 0
beq 0x1164
ldr r2, [0x000011e4]
adds r3, 4
movs r1, 1
mov r0, r5
add r2, pc
blx sym.imp.__fprintf_chk
ldr r3, [sp, 0x2c]
cmp r3, 0
beq.w 0x11bc
ldr r2, [sp, 0x3c]
cmp r2, 0
beq 0x11a0
ldr r1, [r3, 4]
mov r0, r5
ldr r3, [0x000011e8]
ldr r2, [0x000011ec]
add r3, pc
ldr.w r3, [r3, r1, lsl 2]
add r2, pc
movs r1, 1
blx sym.imp.__fprintf_chk
ldr r7, [sp, 0x3c]
movs r1, 2
--
str r0, [sp, 0x18]
mov r3, r5
ldr r0, [0x000011f0]
movs r2, 8
movs r1, 1
add r0, pc
blx sym.imp.fwrite
movs r2, 0
ldr r3, [r4, 0x2c]
ldr r1, [r4, 0x58]
mov r0, r2
blx r3
ldr r3, [sp, 0x30]
cmp r3, 0
beq 0x1178
ldr r2, [0x000011f4]
movs r1, 1
ldr r3, [r3, 4]
mov r0, r5
add r2, pc
blx sym.imp.__fprintf_chk
ldr r2, [sp, 0x34]
cbz r2, 0x112a
ldrd r3, r2, [r2, 4]
movs r1, 1
mov r0, r5
str r2, [sp]
ldr r2, [0x000011f8]
add r2, pc
blx sym.imp.__fprintf_chk
ldr r3, [0x000011fc]
ldr r3, [r6, r3]
--
movs r1, 1
ldr r3, [r6, r3]
add r0, pc
ldr r3, [r3]
blx sym.imp.fwrite
b 0x1098
ldr r0, [0x0000120c]
mov r3, r5
movs r2, 0x1a
movs r1, 1
add r0, pc
blx sym.imp.fwrite
b 0x1114
ldr r2, [0x00001210]
ldr r0, [0x00001204]
add r2, pc
ldr r0, [r6, r0]
mov r3, r8
movs r1, 1
ldr r0, [r0]
blx sym.imp.__fprintf_chk
mov.w r0, -1
b 0x114a

[*] Function printf used 14 times m_xt.so