[*] Binary protection state of scsi_id

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


[*] Function sprintf tear down of scsi_id

ldr r3, [sp, 0x20]
adds r7, 3
cmp r7, r3
bne.w 0x273c
b 0x2828
ldr r5, [sp, 0x158]
adds r3, 2
cmp r5, r3
blt 0x28be
cmp r1, 5
bne 0x27a2
ldrh r3, [r2, 6]
movs r1, 1
mov.w r2, -1
mov r0, fp
rev16 r3, r3
uxth r3, r3
str r3, [sp]
ldr r3, sym.imp.memcpy
add r3, pc
blx sym.imp.__sprintf_chk
b 0x284c
ldr r2, [0x000029d8]
--
cmp r0, 0
blt 0x2ada
ldrd ip, lr, [r7, 0x20]
movs r2, 0x40
ldr r3, [0x00002b4c]
movs r1, 1
add r7, sp, 0x7c
bic r5, lr, section..text
lsr.w r0, ip, 0xc
bic r5, r5, 0xf
add r3, pc
orr.w r0, r0, lr, lsl 20
uxtb.w lr, ip
bic r0, r0, 0xff
ubfx ip, ip, 8, 0xc
orr.w r0, r0, lr
orr.w r5, r5, ip
str r0, [sp, 4]
add.w r0, r4, 0x1f
str r5, [sp]
blx sym.imp.__sprintf_chk
movs r2, 0xfe
movs r1, 0

[*] Function sprintf used 2 times scsi_id