[*] Binary protection state of liba7x_utils.so

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


[*] Function printf tear down of liba7x_utils.so

str r3, [sp, 0x44]
mov.w r3, 0
str r4, [sp, 4]
blx sym.imp.memset
movs r2, 0x40
add.w r3, sp, 2
strh.w r2, [sp, 2]
mov r1, r7
mov r2, r5
mov r0, r4
blx 0x8ac
ldrh.w r3, [sp, 2]
mov r6, r0
cbz r3, 0xbfa
ldr.w r8, [0x00000cd8]
add r8, pc
movs r0, 1
ldrb r2, [r5], 1
mov r1, r8
add r4, r0
blx sym.imp.__printf_chk
ldrh.w r3, [sp, 2]
cmp r4, r3
--
beq 0xc9e
movw r3, 0x7013
cmp r6, r3
beq 0xcae
cmp.w r6, 0x8000
beq 0xcbe
cmp.w r6, 0x9000
beq 0xc36
cbz r6, 0xc36
ldr r0, [0x00000cdc]
add r0, pc
blx sym.imp.puts
ldr r0, [0x00000ce0]
add r0, pc
blx sym.imp.puts
b 0xc72
ldr r1, [0x00000ce4]
movs r0, 1
movs r6, 0
add r1, pc
blx sym.imp.__printf_chk
ldr r0, [0x00000ce8]
add r0, pc
blx sym.imp.puts
ldr r1, [0x00000cec]
movs r0, 1
ldr r2, [r7, 8]
add r1, pc
blx sym.imp.__printf_chk
ldr r1, [0x00000cf0]
movs r0, 1
ldrh r2, [r7, 0xc]
add r1, pc
blx sym.imp.__printf_chk
ldr r0, [0x00000cf4]
add r0, pc
--
ldr r0, [0x00000cf8]
add r0, pc
blx sym.imp.puts
ldr r2, [0x00000cfc]
ldr r3, [0x00000cd4]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 0x44]
eors r2, r3
mov.w r3, 0
bne 0xcca
mov r0, r6
add sp, 0x48
pop.w {r4, r5, r6, r7, r8, pc}
ldr r1, [0x00000d00]
mov r2, r6
movs r0, 1
movs r6, 2
add r1, pc
blx sym.imp.__printf_chk
b 0xc24
ldr r1, [0x00000d04]
mov r2, r6
movs r0, 1
movs r6, 4
add r1, pc
blx sym.imp.__printf_chk
b 0xc24
ldr r1, [0x00000d08]
mov r2, r6
movs r0, 1
movs r6, 5
add r1, pc
blx sym.imp.__printf_chk
b 0xc24
ldr r0, [0x00000d0c]
--
lsls r2, r6, 0xf
movs r0, r0
lsls r6, r5, 0x10
movs r0, r0
lsls r6, r6, 0x11
movs r0, r0
cmp r0, 1
push {lr}
sub sp, 0xc
beq 0xd3a
ldr r2, [0x00000d40]
add r2, pc
ldr.w ip, [0x00000d44]
movs r0, 1
ldr r3, [0x00000d48]
ldr r1, [0x00000d4c]
add ip, pc
add r3, pc
str.w ip, [sp]
add r1, pc
blx sym.imp.__printf_chk
add sp, 0xc
ldr pc, [sp], 4

[*] Function printf used 8 times liba7x_utils.so