[*] Binary protection state of mtd_probe

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


[*] Function printf tear down of mtd_probe

movs r1, r0
lsls r4, r4, 3
movs r0, r0
subs r0, 0x9c
movs r1, r0
subs r0, 0x1a
movs r1, r0
adds r6, 0xc0
movs r1, r0
push {r3, r4, r5, lr}
movs r0, 2
ldr r5, [0x000018b8]
bl 0x13f0
cmp r0, 0
add r5, pc
str r0, [r5]
blt 0x189c
ldr r1, [0x000018bc]
movs r2, 0x1e
add r1, pc
blx sym.imp.__snprintf_chk
cmp r0, 0
it ge
--
str r0, [r7]
add r3, pc
ldr r0, [r3]
cmp r0, 2
ble 0x1b44
bl 0x12ec
ldr r3, [0x00001bdc]
add r3, pc
str r0, [r3]
b 0x193c
movs r0, 2
bl 0x13f0
cmp r0, 0
mov r3, r0
str r0, [r7]
blt 0x1af8
ldr r5, [0x00001be0]
movs r2, 0xb
add r5, pc
mov r1, r5
blx sym.imp.__snprintf_chk
cmp r0, 0
blt 0x1b12
--
bl 0x12ec
ldr r2, [0x00001be8]
ldr r3, [0x00001bec]
add r2, pc
add r3, pc
str r0, [r2]
ldr r3, [r3]
b 0x1906
mov.w r0, -1
b 0x1a50
ldr r0, [r7]
bl 0x12ec
movs r0, 1
bl 0x13f0
cmp r0, 0
mov r3, r0
str r0, [r7]
blt 0x1af8
mov r1, r5
movs r2, 0xb
blx sym.imp.__snprintf_chk
cmp r0, 0
blt 0x1b4a
--
movs r0, r0
asrs r4, r2, 0x15
movs r0, r0
asrs r4, r6, 0x10
movs r0, r0
asrs r6, r0, 0x14
movs r0, r0
asrs r0, r0, 0x15
movs r0, r0
asrs r4, r6, 0x14
movs r0, r0
push {r4, r5, r6, lr}
cbz r0, 0x3346
mov r5, r0
ldr r0, [r0]
mov r6, r1
mov r4, r2
cbz r0, 0x3328
cbnz r2, 0x330e
pop {r4, r5, r6, pc}
blx sym.imp.__sprintf_chk
mov r1, r4
bl 0x3a80

[*] Function printf used 4 times mtd_probe