[*] Binary protection state of libpaho-mqtt3c.so.1.3.9

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


[*] Function strcpy tear down of libpaho-mqtt3c.so.1.3.9

strb r2, [r3, r6]
movs r2, r0
lsls r4, r3, 7
movs r0, r0
ldrsb r2, [r7, r6]
movs r2, r0
ldr r6, [r4, r7]
movs r2, r0
b 0x27f8
nop
push {r4, r5, r6, lr}
movs r2, 3
ldr r4, [0x000028a0]
movs r1, 0x1d
mov r5, r0
add r4, pc
mov r0, r4
bl 0xec40
mov.w r0, 0x3e8
mul r0, r5, r0
blx sym.imp.strcpy
mov r0, r4
movs r3, 3
--
add r0, pc
bl 0xf14c
mov r4, r0
cmp r0, 0
beq 0x8c2e
cmp r5, 0
beq 0x8c38
mov r0, r5
blx sym.imp.srand
adds r2, r0, 1
ldr r6, [0x00008c74]
movs r1, 0x45
add r6, pc
mov r0, r6
bl 0xf14c
str r0, [r4]
cmp r0, 0
beq 0x8c40
mov r1, r5
mov r5, r4
blx sym.imp.__strcpy_chk
ldr r2, [0x00008c78]
ldr r3, [0x00008c7c]
--
add r0, sb
adds r0, 0x10
str r1, [r3, 0x10]
ldr r2, [r0, -0xc]
str r2, [r3, 0x14]
ldr r2, [r0, -0x8]
str r2, [r3, 0x18]
ldr r2, [r0, -0x4]
str r2, [r3, 0x1c]
str r0, [sp, 0x40]
blx sym.imp.srand
add.w r8, r0, 1
movw r1, 0x32b
mov r2, r8
mov r0, sl
bl 0xf14c
str r0, [r5, 4]
cmp r0, 0
beq.w 0xa052
ldr r1, [sp, 0x40]
blx sym.imp.__strcpy_chk
ldr r3, [sp, 0x40]
cmp.w fp, 5
--
str r2, [sp]
movs r1, 0xf0
movs r2, 3
bl 0xec40
movw r3, 0x4e1f
cmp r4, r3
itt hi
lsrhi r5, r5, 0xd
movhi r4, 1
bhi 0xa2ca
b 0xa2d6
adds r0, 1
bne 0xa2bc
blx 0x2568
ldr r3, [r0]
cmp r3, 0xb
str r3, [sp]
bne 0xa302
movw r0, 0x2710
adds r4, 1
blx sym.imp.strcpy
cmp r5, r4
beq 0xa2d6
--
movs r2, 3
add r0, pc
adds r0, 0xc
ldr r3, [r3]
str r3, [sp, 0x24]
mov.w r3, 0
strd r4, r4, [sp, 0x1c]
bl 0xec40
mov r0, r6
blx sym.imp.srand
adds r2, r0, 1
ldr r0, [0x0000b024]
movs r1, 0x4f
add r0, pc
bl 0xf14c
cmp r0, 0
beq.w 0xaf62
mov r1, r6
mov r4, r0
movs r6, 0x2d
blx sym.imp.__strcpy_chk
b 0xae08
strb r6, [r0]
--
bhs.w 0xaf94
mov r0, r6
blx sym.imp.srand
movs r1, 0x6e
adds r2, r0, 1
mov r0, sb
bl 0xf14c
mov r5, r0
cmp r0, 0
beq.w 0xafd2
mov r0, r6
blx sym.imp.srand
movs r1, 0x75
adds r2, r0, 1
mov r0, sb
bl 0xf14c
mov fp, r0
cmp r0, 0
beq.w 0xafee
mov r1, r6
blx sym.imp.__strcpy_chk
ldrb.w r3, [fp]
cmp r3, 0x5c
it ne
cmpne r3, 0x2f
beq.w 0xafb0
ldr r1, [0x0000b030]
add.w r8, sp, 0x20
mov r2, r8
mov r0, fp
add r1, pc
blx sym.imp.opendir
mov r1, r0
mov r0, r5
blx sym.imp.__strcpy_chk
ldr.w sb, [0x0000b034]
mov r0, r5
--
str r0, [sp, 0x1c]
add sb, pc
movs r0, 0
mov r1, sb
blx sym.imp.opendir
ldr r3, [sp, 0x1c]
cmp r0, 0
mov r7, r0
clz r3, r3
lsr.w r3, r3, 5
it eq
moveq r3, 0
cbz r3, 0xaf30
mov.w sl, 0x2f
mov r0, r5
blx sym.imp.srand
strb.w sl, [r5, r0]
adds r0, 1
mov r1, r7
add r0, r5
blx sym.imp.__strcpy_chk
mov r0, r5
bl 0xad24
--
mov r0, sb
mov r2, r6
bl 0xf284
mov r2, r4
movs r1, 0x64
mov r0, sb
bl 0xf284
mvn r3, 1
str r3, [sp, 0x1c]
b 0xaf68
ldr r1, [0x0000b044]
mov sb, r5
add.w r8, sp, 0x20
strb r3, [sb], 1
mov r2, r8
add.w r0, fp, 1
add r1, pc
blx sym.imp.opendir
mov r1, r0
mov r0, sb
blx sym.imp.__strcpy_chk
b 0xaec4
movs r1, 0x70
--
mvn r3, 0x62
str r3, [sp, 0x14]
b 0xb566
mov r2, fp
movw r1, 0x1fb
mov r0, r6
bl 0xf284
mvn r3, 1
str r3, [sp, 0x14]
b 0xb566
mov r0, sl
blx sym.imp.srand
movw r1, 0x203
adds r2, r0, 1
mov r0, r6
bl 0xf14c
mov r4, r0
cmp r0, 0
beq 0xb59a
mov r1, sl
blx sym.imp.__strcpy_chk
ldr r1, [0x0000b620]
mov r0, r4
--
add r1, sp, 0x30
mov r0, r6
blx sym.imp.getenv
mov r4, r0
cmp r0, 0
bne 0xb986
ldr r3, [sp, 0x40]
and r3, r3, 0xf000
cmp.w r3, 0x8000
bne 0xb986
mov r0, r5
blx sym.imp.srand
movw r1, 0x353
adds r2, r0, 1
mov r0, sb
bl 0xf14c
ldr r2, [sp, 0x20]
str.w r0, [fp, r2, lsl 2]
cbz r0, 0xba6e
mov r1, r5
blx sym.imp.__strcpy_chk
ldrd r3, r1, [sp, 0x20]
ldr.w r0, [fp, r3, lsl 2]
--
it hi
movhi r5, r3
cmp r7, 0
beq 0xde00
mov r0, r7
blx sym.imp.srand
adds r2, r0, 2
ldr r0, [0x0000de28]
mov.w r1, 0x220
str r2, [sp, 0x14]
add r0, pc
bl 0xf14c
str r0, [sp, 0x10]
cmp r0, 0
beq 0xddd4
rev16 r5, r5
mov r1, r7
strh r5, [r0]
ldr r0, [sp, 0x10]
adds r0, 2
blx sym.imp.__strcpy_chk
add r1, sp, 0x14
add r3, sp, 0x10
--
mov r1, r6
ldr r0, [r4]
bl 0x7328
ldr r0, [0x0000eba4]
mov r2, r6
movw r1, 0x5e9
add r0, pc
bl 0xf284
add r0, sp, 0x38
blx 0x2344
ldr r3, [sp, 0x38]
adds r3, 0xa
str r3, [sp, 0x38]
b 0xeab4
mov r0, sl
blx 0x2344
ldrd r2, r3, [sp, 0x34]
cmp r2, r3
bgt 0xeae2
mov r0, sb
blx sym.imp.strcpy
mov r3, r8
ldr r0, [r4]
--
ands r3, r5, 0xf
mov.w r0, 0x10
itt ne
addne r5, 0x10
subne r5, r5, r3
blx sym.imp.strftime
mov r6, r0
cmp r0, 0
beq 0xf21c
mov.w sl, 0
mov r0, r4
strd sl, sl, [r6, 4]
str r5, [r6, 0xc]
blx sym.imp.strftime
mov r4, r0
str r0, [r6]
cmp r0, 0
beq 0xf246
mov r1, r8
str.w sl, [r0]
blx sym.imp.__strcpy_chk
movs r1, 1
add.w r0, r5, 0x10
--
vldr d16, [0x0000f42c]
ldr.w fp, [r4]
rsb.w r2, r2, 0x20
ldr.w sb, [0x0000f438]
add.w sl, r2, r8
adds r2, r0, r5
vstr d16, [r3]
mov r0, fp
vstr d16, [r2, 8]
add sb, pc
str r5, [r4, 0xc]
add r5, sl
blx sym.imp.srand
mov r1, r8
mov r2, r0
mov r0, fp
mov r8, r2
blx sym.imp.sem_getvalue
mov r1, r6
str r0, [r4]
blx sym.imp.__strcpy_chk
ldr r6, [r4, 8]
sub.w r2, r5, r8

[*] Function strcpy used 15 times libpaho-mqtt3c.so.1.3.9