[*] 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
cmp r0, 0
blt.w 0xea4
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 0xede
str r0, [sp, 0x3c]
b 0xbf6
ldr r0, [0x00000f44]
movs r1, 1
ldr r3, [0x00000f34]
mov.w r7, -1
ldr r2, [0x00000f48]
ldr.w r4, [sl, r0]
ldr.w r0, [sl, r3]
add r2, pc
ldr r3, [r4]
ldr r0, [r0]
blx sym.imp.__fprintf_chk
b 0xbb6
ldr r3, [0x00000f4c]
--
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, [0x00000f50]
movs r1, 1
ldr r2, [sp, 0x24]
mov r8, r0
ldr.w r7, [sl, r3]
ldr r3, [0x00000f54]
add r3, pc
ldr.w r3, [r3, r2, lsl 2]
ldr r2, [0x00000f58]
str r3, [sp]
ldr r3, [0x00000f5c]
add r2, pc
ldr r0, [r7]
add r3, pc
blx sym.imp.__fprintf_chk
ldr r0, [0x00000f60]
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 0xed0
movs r2, 0
ldr r1, [r5, 0x58]
mov r0, r2
blx r3
ldr r2, [0x00000f64]
movs r1, 1
ldr r0, [r7]
movs r7, 4
ldr r3, [sp, 0x28]
add r2, pc
blx sym.imp.__fprintf_chk
ldr r2, [0x00000f68]
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, [0x00000f50]
mov fp, r0
ldr r2, [sp, 0x24]
movs r1, 1
ldr.w r8, [sl, r3]
ldr r3, [0x00000f74]
add r3, pc
ldr.w r3, [r3, r2, lsl 2]
ldr r2, [0x00000f78]
str r3, [sp]
mov r3, r7
ldr.w r0, [r8]
add r2, pc
blx sym.imp.__fprintf_chk
ldr r0, [0x00000f7c]
movs r2, 9
ldr.w r3, [r8]
movs r1, 1
add r0, pc
blx sym.imp.fwrite
ldr r2, [0x00000f80]
movs r1, 1
ldr r3, [sp, 0x28]
ldr.w r0, [r8]
add r2, pc
blx sym.imp.__fprintf_chk
ldm.w r7, {r0, r1}
movs r3, 7
--
mov r0, r8
blx loc.imp.addattr_nest_end
ldr r2, [sp, 0x1c]
movs r0, 1
ldr r1, [sp, 0x10]
ldr r3, [r2]
add.w r6, r6, r3, lsl 2
ldr r3, [r1]
subs r3, r3, r4
str r3, [r1]
ldr r3, [sp, 0x14]
str r6, [r3]
str r5, [r2]
blx sym.imp.xtables_free_opts
b 0xbb6
ldr r1, [0x00000f84]
movs r0, 1
ldr r2, [r5, 8]
mov.w r7, -1
add r1, pc
blx sym.imp.__printf_chk
b 0xbb6
ldr r2, [0x00000f88]
ldr r0, [0x00000f34]
ldr r3, [r7]
add r2, pc
ldr.w r0, [sl, r0]
movs r1, 1
mov.w r7, -1
ldr r0, [r0]
blx sym.imp.__fprintf_chk
b 0xbb6
ldr r1, [0x00000f8c]
movs r0, 1
ldr r2, [r5, 8]
add r1, pc
blx sym.imp.__printf_chk
b 0xcf2
ldr r2, [0x00000f90]
ldr r0, [0x00000f34]
ldr r3, [r7]
add r2, pc
b 0xebe
ldr r2, [0x00000f34]
mov r1, r8
ldr r3, [r6]
ldr.w r0, [sl, r2]
ldr r2, [0x00000f94]
ldr r0, [r0]
add r2, pc
blx sym.imp.__fprintf_chk
b 0xbb6
blx sym.imp.__stack_chk_fail
--
movs r1, 2
add r0, sp, 8
blx sym.imp.xtables_init_all
bl 0xab4
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 0x10e8
ldr r2, [0x00001170]
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 0x1150
ldr r2, [sp, 0x3c]
cmp r2, 0
beq.w 0x1138
ldr r1, [r3, 4]
mov r0, r5
ldr r3, [0x00001174]
ldr r2, [0x00001178]
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, [0x0000117c]
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 0x10fc
ldr r2, [0x00001180]
movs r1, 1
ldr r3, [r3, 4]
mov r0, r5
add r2, pc
blx sym.imp.__fprintf_chk
ldr r2, [sp, 0x34]
cbz r2, 0x10ae
ldrd r3, r2, [r2, 4]
movs r1, 1
mov r0, r5
str r2, [sp]
ldr r2, [0x00001184]
add r2, pc
blx sym.imp.__fprintf_chk
ldr r3, [0x00001188]
ldr r3, [r6, r3]
--
movs r1, 1
ldr r3, [r6, r3]
add r0, pc
ldr r3, [r3]
blx sym.imp.fwrite
b 0x1012
ldr r0, [0x00001198]
mov r3, r5
movs r2, 0x1a
movs r1, 1
add r0, pc
blx sym.imp.fwrite
b 0x1098
ldr r2, [0x0000119c]
ldr r0, [0x00001190]
ldr r3, [r4, 8]
add r2, pc
ldr r0, [r6, r0]
movs r1, 1
ldr r0, [r0]
blx sym.imp.__fprintf_chk
mov.w r0, -1
b 0x10ce
[*] Function printf used 14 times m_xt.so