[*] Binary protection state of ubimkvol.mtd-utils

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


[*] Function fprintf tear down of ubimkvol.mtd-utils

adds r7, 0xf6
movs r0, r0
lsls r0, r7, 2
movs r0, r0
adds r7, 0xb8
movs r0, r0
push.w {r4, r5, r6, r7, r8, lr}
mov r4, r0
sub sp, 0x10
mov r5, r1
mov r6, r2
cmp r2, 0
bne 0x17ce
ldr r7, [0x0000188c]
add r7, pc
ldr r1, [0x00001890]
mov r3, r5
mov r2, r4
movs r0, 1
add r1, pc
blx sym.imp.__fprintf_chk
movs r3, 1
movt r3, 0x4000
--
str r5, [sp, 4]
movt r4, 0xfafa
add r1, pc
lsrs r0, r0, 5
add.w r0, r0, r0, lsl 1
add.w r0, r0, r0, lsl 4
subs r0, r3, r0
subs r3, r3, r0
mov.w r0, -0x5050506
mul r0, r3, r0
sbc.w r5, r5, r5
mla r0, r4, r5, r0
umull r3, r4, r3, r4
lsrs r3, r3, 1
add r0, r4
orr.w r3, r3, r0, lsl 31
lsrs r0, r0, 1
str r3, [sp, 8]
str r0, [sp, 0xc]
movs r0, 1
blx sym.imp.__fprintf_chk
cbnz r6, 0x180c
add sp, 0x10
--
ldr r7, [0x00001898]
add r7, pc
b 0x1730
ubfx r0, r4, 0, 0x14
ldr.w r8, [0x0000189c]
lsrs r4, r4, 0x14
movw r2, 0x9999
movt r2, 1
orr.w r4, r4, r5, lsl 12
asrs r5, r5, 0x14
add r8, pc
movs r1, 0
movs r3, 0
bl 0x4100
mov r2, r7
strd r0, r1, [sp, 8]
str r4, [sp]
mov r1, r8
movs r0, 1
str r5, [sp, 4]
blx sym.imp.__fprintf_chk
cmp r6, 0
beq 0x17c8
--
mvn r4, 0x5000000
movw ip, 0xfffb
movt ip, 0xafff
movs r0, 1
add r1, pc
sub.w r8, lr, r5
add.w r5, r5, r8, lsr 1
lsrs r5, r5, 0x19
mls lr, r7, r5, lr
subs.w r3, r3, lr
mul r4, r3, r4
sbc.w r7, r7, r7
umull r3, r5, r3, ip
mla r4, ip, r7, r4
lsrs r3, r0
add r4, r5
orr.w r3, r3, r4, lsl 31
lsrs r4, r0
str r3, [sp, 8]
str r4, [sp, 0xc]
blx sym.imp.__fprintf_chk
b 0x17c6
adds r7, 0xda

[*] Function fprintf used 4 times ubimkvol.mtd-utils