[*] Binary protection state of conf-migrate

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


[*] Function printf tear down of conf-migrate

b 0x12a2
blx sym.imp.__errno_location
ldr r3, [r0]
ldr r2, [r5]
cmp r3, 2
ittee eq
moveq r1, fp
moveq r0, 7
movne r1, sl
movne r0, 3
bl 0x2b28
ldr r3, [r5, 4]!
cmp r3, 0
beq.w 0x1604
str r3, [sp, 8]
mov.w r3, 0x400
mov r1, r3
movs r2, 1
mov r0, r6
strd r4, r7, [sp]
blx sym.imp.__snprintf_chk
mov r1, r8
mov r0, r6
--
bne 0x13fa
ldrb r3, [r6, 1]
cmp r3, 0
beq 0x13de
ldrb r3, [r0, 0xb]
cmp r3, 0x2e
bne 0x140c
ldrb r3, [r6, 1]
cmp r3, 0x2e
bne 0x140c
ldrb r3, [r6, 2]
cmp r3, 0
beq 0x13de
ldr r3, [sp, 0x18]
movs r2, 1
str r6, [sp, 8]
mov r0, sl
strd sb, r3, [sp]
mov.w r3, 0x400
mov r1, r3
blx sym.imp.__snprintf_chk
str r6, [sp, 8]
sub.w r6, r8, 4
str.w sb, [sp]
movs r2, 1
ldr r3, [r5]
mov r0, r6
str r3, [sp, 4]
mov.w r3, 0x400
mov r1, r3
blx sym.imp.__snprintf_chk
add.w r3, sp, 0x10800
ldr r1, [sp, 0x20]
--
movs r1, 1
ldr r0, [r7, -0x94]
blx sym.imp.dup2
movs r1, 2
ldr r0, [r7, -0x94]
blx sym.imp.dup2
movs r0, 0x12
blx sym.imp.umask
mov r3, r6
mov r2, r5
mov r1, r4
mov r0, r4
str.w fp, [sp]
blx sym.imp.execl
ldr r2, [0x00001ffc]
movs r3, 3
ldr r0, [r7, -0x94]
movs r1, 1
str r4, [sp]
add r2, pc
blx sym.imp.__dprintf_chk
movs r0, 1
blx sym.imp._exit
--
blx sym.imp.opendir
cmp r0, 0
beq 0x213a
ldr.w sb, [0x00002168]
mov r4, r0
add r5, sp, 0x14
add sb, pc
mov r0, r4
blx sym.imp.readdir
cbz r0, 0x2116
ldrb r3, [r0, 0xb]
cmp r3, 0x2e
beq 0x20b2
add.w sl, r0, 0xb
mov.w r3, 0x400
movs r2, 1
mov r1, r3
mov r0, r5
strd r6, sl, [sp, 4]
str.w sb, [sp]
blx sym.imp.__snprintf_chk
cmp.w r0, 0x400
bge 0x2120
--
mov.w r2, 0x1a4
movw r1, 0x241
mov r0, r8
blx sym.imp.open
subs r5, r0, 0
blt 0x2226
cbz r4, 0x2218
ldr r7, [0x00002234]
add r7, pc
b 0x21e8
ldr r4, [r4]
cbz r4, 0x2218
add.w r2, r4, 0x2a
add.w r3, r4, 9
str r2, [sp, 4]
movs r1, 1
ldr r6, [r4, 4]
mov r2, r7
mov r0, r5
str r6, [sp]
blx sym.imp.__dprintf_chk
cmp r0, 0
bge 0x21e4
--
cmp sl, r7
beq 0x2656
ldr r1, [0x0000273c]
mov r3, r7
sub.w r5, r8, 4
add.w r2, r4, 9
movs r0, 7
str.w sl, [sp]
add r1, pc
bl 0x2b28
mov r1, sb
mov.w r2, 0x1000
mov r0, r5
blx sym.imp.__strcpy_chk
ldr r3, [0x00002740]
mov r0, r6
mov.w r2, -1
movs r1, 1
strd sl, r5, [sp]
add r3, pc
blx sym.imp.__sprintf_chk
ldr r3, [0x00002744]
add r3, pc
--
bne 0x268a
adds r4, 0x2a
mov r1, sb
mov r0, r4
bl 0x217c
cbnz r0, 0x2704
mov r0, r4
blx sym.imp.strlen
mov r6, r0
mov r0, sb
blx sym.imp.strlen
add r0, r6
cmp.w r0, 0x1000
bhi 0x2714
ldr r3, [0x0000274c]
adds r0, r4, r6
movs r1, 1
mov.w r2, -1
str.w sb, [sp]
add r3, pc
blx sym.imp.__sprintf_chk
ldr r1, [0x00002750]
mov r3, r5
--
ldr.w r8, [0x00002afc]
add.w r0, r5, 0x10
add r8, pc
mov r1, r8
bl 0x2354
mov r4, r0
cmp r0, 0
beq 0x2904
cmp.w sb, 0
beq.w 0x2a7e
ldr r3, [0x00002b00]
add r7, sp, 0x14
movs r2, 1
mov r0, r7
str.w sb, [sp, 4]
add.w sl, sp, 0x94
add r3, pc
str r3, [sp]
movs r3, 0x80
mov r1, r3
blx sym.imp.__snprintf_chk
ldr r3, [0x00002b04]
movs r2, 1
mov r0, sl
str.w sb, [sp, 4]
add r3, pc
str r3, [sp]
movs r3, 0x80
mov r1, r3
blx sym.imp.__snprintf_chk
mov r1, r7
adds r0, r5, 4
bl 0x2354
cmp r0, 0
beq 0x2904
mov r1, sl
add.w r0, r5, 0xc
bl 0x2354
cmp r0, 0
beq 0x2904
ldr r3, [0x00002b08]
add r7, sp, 0x114
movs r2, 1
mov r0, r7
str.w sb, [sp, 4]
add r3, pc
str r3, [sp]
movs r3, 0x80
mov r1, r3
blx sym.imp.__snprintf_chk
ldrd r0, r1, [r5, 0xc]
movs r2, 0
--
beq 0x2c08
blx sym.imp.__errno_location
subs r3, r4, 2
ldr.w sb, [r0]
cmp r3, 1
mov r5, r0
bls 0x2bf8
cmp r4, 4
it ne
movne r6, 1
beq 0x2c20
ldr.w r8, [0x00002c3c]
add.w sl, sp, 0x38
mov r3, sl
mov r2, r7
movs r1, 1
mov r0, r6
add r8, pc
str.w sb, [r5]
str.w sl, [sp, 4]
blx sym.imp.__vdprintf_chk
mov r0, r6
movs r2, 2
--
movw r1, 0x441
add r0, pc
blx sym.imp.open
subs r6, r0, 0
blt 0x2bda
movs r3, 0x3c
movs r2, 3
add r1, sp, 8
strb.w r3, [sp, 8]
adds r4, 0x30
movs r3, 0x3e
strb.w r3, [sp, 0xa]
strb.w r4, [sp, 9]
blx sym.imp.write
mov r3, sl
mov r2, r7
movs r1, 1
mov r0, r6
str.w sb, [r5]
str.w sl, [sp, 4]
blx sym.imp.__vdprintf_chk
movs r2, 2
mov r1, r8

[*] Function printf used 13 times conf-migrate