[*] Binary protection state of stm32flash

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


[*] Function sprintf tear down of stm32flash

add r0, pc
ldr r3, [r3]
blx sym.imp.ioctl
b 0x223e
ldr r3, [0x000022d8]
movs r2, 0x2a
ldr r0, [0x000022e4]
movs r1, 1
ldr r3, [r7, r3]
add r0, pc
ldr r3, [r3]
blx sym.imp.ioctl
mov r0, sb
blx sym.imp.__snprintf_chk
mov r0, r6
blx 0x1028
b 0x223e
ldr r3, [0x000022d8]
ldr r3, [r7, r3]
ldr r4, [r3]
blx sym.imp.__sprintf_chk
ldr r2, [0x000022e8]
add r2, pc
ldr r3, [r0]
movs r1, 1
mov r0, r4
blx sym.imp.sigemptyset
mov r0, sb
blx sym.imp.__snprintf_chk
mov r0, r6
blx 0x1028
b 0x223e
ldr r3, [0x000022d8]
ldr r3, [r7, r3]
ldr r4, [r3]
blx sym.imp.__sprintf_chk
ldr r2, [0x000022ec]
add r2, pc
--
add r8, pc
blt 0x23dc
movs r2, 1
mov r1, r6
mov r0, r5
blx 0x1000
subs r4, r0, 0
ite ne
movne r2, 1
moveq r2, 0
and r2, r2, 1
it ne
movne r2, 0
blt 0x23ac
cmp r2, 0
bne 0x2380
mov r0, r5
blx sym.imp.__snprintf_chk
mov r0, r4
pop.w {r4, r5, r6, r7, r8, pc}
blx sym.imp.__sprintf_chk
ldr r3, [r0]
cmp r3, 0xb

[*] Function sprintf used 3 times stm32flash