[*] Binary protection state of libsystemd.so.0.34.0

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


[*] Function mmap tear down of libsystemd.so.0.34.0

blx sym.imp.mmap64
ldr r3, [sp, 0x48]
str r0, [r4, 8]
str r4, [r3]
movs r4, 0
mov r5, r4
mov r0, r4
blx sym.imp.write
mov r0, r5
add sp, 0xc
pop.w {r4, r5, r6, r7, r8, sb, sl, fp, pc}
ldr r1, [sp, 4]
ldr.w sl, [sp, 0x40]
b 0x1c4c2
ldr r2, [r5, 8]
ldr r1, [r5, 0xc]
orrs r2, r1
beq 0x1c656
ldr r0, [sp, 0x34]
movs r1, 0
bl 0x18c78
--
blx sym.imp.mmap64
add.w r3, r4, 0x200
str r0, [r4, 8]
str.w r3, [r4, 0x104]
movs r3, 0x6c
strb.w r7, [r4, 0x201]
strb.w r3, [r4, 0x200]
ldrb r2, [r5, 0x14]
strb.w r2, [r4, 0x203]
ldrb r3, [r5, 0x1c]
lsls r1, r3, 0x1f
bpl 0x1c748
ldrb.w r3, [r4, 0x100]
sub.w r2, r2, 2
clz r2, r2
movs r0, 0
lsrs r2, r2, 5
bfi r3, r8, 2, 1
strb.w r3, [r4, 0x100]
ldrb.w r3, [r4, 0x165]
bfi r3, r2, 0, 1
--
blx sym.imp.mmap64
mov r0, r4
pop {r4, pc}
ldr r2, [r0, 4]
cmp r2, 0
bne 0x1c92e
ldr r1, [0x0001c958]
movw r2, 0x397
ldr r3, [0x0001c95c]
ldr r0, [0x0001c960]
add r1, pc
add r3, pc
adds r1, 7
add r0, pc
bl 0x68d78
bhs 0x1c88c
movs r5, r0
b 0x1d15c
movs r5, r0
bmi 0x1ca28
movs r5, r0
--
blx sym.imp.mmap64
mov fp, r0
mov r0, r6
blx 0xe81c
cmp.w r0, 0x10000
bhi.w 0x28434
adds r0, 1
blx 0xece4
mov r4, r0
cmp r0, 0
beq.w 0x28456
add.w sb, sp, 0x1b
str.w fp, [sp, 0x10]
ldrb r1, [r5, 0x1d]
mov r3, r8
mov r2, r6
mov r0, r5
bfc r1, 1, 1
strb r1, [r5, 0x1d]
movs r1, 0
str r1, [sp]
--
blx sym.imp.mmap64
ldr r3, [sp, 0x28]
mov r8, r0
add sb, pc
str r3, [sp, 0x10]
ldr r3, [0x00028a5c]
add r3, pc
str r3, [sp, 0x14]
ldr r3, [0x00028a60]
add r3, pc
str r3, [sp, 0x18]
add r3, sp, 0x24
str r3, [sp, 0x1c]
ldrb r3, [r5, 0x1d]
bfc r3, 1, 1
strb r3, [r5, 0x1d]
ldr r0, [sp, 0x24]
blx 0xefbc
ldr r3, [sp, 0x10]
str r0, [sp, 0x24]
mov r0, r5
--
blx sym.imp.mmap64
ldr r3, [sp, 0x28]
mov r8, r0
add sb, pc
str r3, [sp, 0x10]
ldr r3, [0x00028e74]
add r3, pc
str r3, [sp, 0x14]
ldr r3, [0x00028e78]
add r3, pc
str r3, [sp, 0x18]
add r3, sp, 0x24
str r3, [sp, 0x1c]
ldrb r3, [r5, 0x1d]
bfc r3, 1, 1
strb r3, [r5, 0x1d]
ldr r0, [sp, 0x24]
blx 0xefbc
ldr r3, [sp, 0x10]
str r0, [sp, 0x24]
mov r0, r5
--
blx sym.imp.mmap64
ldr r3, [0x000292c8]
ldr r6, [sp, 0x38]
add sb, pc
mov r7, sb
str r0, [sp, 0xc]
add r3, pc
str r3, [sp, 0x14]
mov r4, r6
ldr r3, [0x000292cc]
add r3, pc
str r3, [sp, 0x1c]
add r3, sp, 0x34
str r3, [sp, 0x18]
mov r3, r5
mov r5, r8
mov r8, r3
ldrb.w r3, [sl, 0x1d]
bfc r3, 1, 1
strb.w r3, [sl, 0x1d]
ldr r0, [sp, 0x34]
--
blx sym.imp.mmap64
b 0x29c3a
ldr r1, [0x00029c6c]
movs r2, 0x14
ldr r3, [0x00029c70]
ldr r0, [0x00029c74]
add r1, pc
add r3, pc
adds r1, 7
add r0, pc
bl 0x68d78
subs r4, r0, 3
movs r5, r0
movs r0, 0xea
movs r5, r0
adds r7, 0xce
movs r5, r0
cbz r0, 0x29cb2
push {r3, lr}
ldr r3, [r0]
cbz r3, 0x29c8a
--
blx sym.imp.mmap64
mov r0, r4
blx 0xe4a8
movs r0, 1
pop {r4, pc}
blx 0xefa0
ldr r0, [r4, 8]
blx 0xe4e8
b 0x2a3be
ldr r1, [0x0002a3f0]
movw r2, 0x10d
ldr r3, [0x0002a3f4]
ldr r0, [0x0002a3f8]
add r1, pc
add r3, pc
adds r1, 7
add r0, pc
bl 0x68f74
mvn r0, 0x15
pop {r4, pc}
mvn r0, 0x73
--
blx sym.imp.mmap64
str r0, [r4, 8]
ldr.w r3, [r5, 0x40c]
str r3, [r4, 0x30]
cbz r3, 0x2ce08
str r4, [r3, 0x34]
movs r7, 0
mov r0, r4
str r7, [r4, 0x34]
str.w r4, [r5, 0x40c]
ldrb.w r3, [r4, 0x28]
orr r3, r3, 1
strb.w r3, [r4, 0x28]
bl 0x2cbc8
mov r0, r7
str r4, [r6]
pop.w {r4, r5, r6, r7, r8, pc}
ldr r1, [0x0002ce7c]
movs r2, 0x7b
ldr r3, [0x0002ce80]
ldr r0, [0x0002ce84]
--
blx sym.imp.mmap64
mov r3, r0
mov r0, r4
str r3, [r6]
b 0x322e8
subs r0, 0
it ne
movne r0, 1
b 0x322e8
ldr r1, [0x00032350]
movw r2, 0xf2f
ldr r3, [0x00032354]
ldr r0, [0x00032358]
add r1, pc
add r3, pc
adds r1, 7
add r0, pc
bl 0x68d78
ldr r1, [0x0003235c]
mov.w r2, 0xf30
ldr r3, [0x00032360]
--
blx sym.imp.mmap64
ldr r3, [r4, 4]
mov r7, r0
cmp r3, 7
bhi.w 0x345a6
tbb [0x00033a50]
ldr r6, [r6, 0x64]
ldr r7, [r1, 0x14]
lsls r4, r0, 0x10
strb r0, [r4, 0xc]
vmov.i32 d16, 0
mov.w sl, 0
str.w sl, [sp, 0x60]
str.w sl, [sp, 0x54]
vstr d16, [sp, 0x58]
ldr r3, [r4, 4]
subs r3, 4
cmp r3, 1
bls 0x33b3e
ldr.w r1, [0x000345c0]
movw r2, 0xa3d
--
blx sym.imp.mmap64
blx sym.imp.signalfd
ldr r0, [0x00034aa4]
add r0, pc
blx 0xecf0
ldr r3, [0x00034aa8]
ldr r0, [r3, r0]
cbz r0, 0x34a7e
blx sym.imp.mmap64
blx sym.imp.signalfd
ldr r0, [0x00034aac]
add r0, pc
blx 0xecf0
ldr r3, [0x00034ab0]
ldr r0, [r3, r0]
cbz r0, 0x34a98
blx sym.imp.mmap64
pop.w {r3, lr}
b.w 0xe09c
pop {r3, pc}
nop
strh r0, [r1, 0x28]
movs r6, r0
movs r0, r4
movs r0, r0
strh r2, [r6, 0x26]
movs r6, r0
movs r4, r4
movs r0, r0
strh r4, [r3, 0x26]
movs r6, r0
movs r0, r5
movs r0, r0
push {r4, lr}
cbz r0, 0x34ad4
ldrb r3, [r1, 0x1f]
mov r4, r1
--
blx sym.imp.mmap64
mov r3, r0
mov r0, r4
str r3, [r5]
b 0x352e0
subs r0, r0, r4
it ne
movne r0, 1
b 0x352e0
blx sym.imp.strnlen
ldrb r6, [r7, 0x12]
movs r6, r0
movs r0, r5
movs r0, r0
strb r6, [r5, 0x17]
movs r6, r0
lsls r4, r6, 0x1c
movs r0, r0
strb r0, [r4, 0x16]
movs r6, r0
push {r4, r5, r6, lr}
--
blx sym.imp.mmap64
mov r3, r0
mov r0, r4
str r3, [r5]
b 0x35434
subs r0, r0, r4
it ne
movne r0, 1
b 0x35434
blx sym.imp.strnlen
ldrb r2, [r5, 0xd]
movs r6, r0
movs r4, r4
movs r0, r0
strb r2, [r3, 0x12]
movs r6, r0
lsls r4, r6, 0x1c
movs r0, r0
strb r4, [r1, 0x11]
movs r6, r0
push {r4, r5, r6, r7, lr}

[*] Function mmap used 17 times libsystemd.so.0.34.0