[*] Binary protection state of liblttng-ust-common.so.1.0.0

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


[*] Function printf tear down of liblttng-ust-common.so.1.0.0

ldrh r2, [r5, 0x28]
movs r0, r0
ldr r2, [0x000029d0]
ldr r3, [0x000029d4]
push.w {r4, r5, r6, r7, r8, sb, lr}
sub.w sp, sp, 0x31c
add r2, pc
ldr r3, [r2, r3]
ldr r3, [r3]
str r3, [sp, 0x314]
mov.w r3, 0
blx sym.imp.opendir
cbnz r0, 0x287c
add r4, sp, 0x14
add r5, sp, 0x94
mov r0, r4
blx sym.imp.__errno_location
mov r1, r4
mov r2, r5
movs r0, 2
blx sym.imp.__fprintf_chk
mov r4, r0
cmp r0, 0
bne.w 0x2946
ldr r0, [0x000029c8]
add r0, pc
blx 0x1db8
ldr r2, [0x000029cc]
ldr r3, [r2, r0]
adds r1, r3, 1
str r1, [r2, r0]
cmp r3, 0
beq 0x293a
movs r2, 0
mov r1, r5
movs r0, 2
blx sym.imp.__fprintf_chk
mov r4, r0
cmp r0, 0
--
ldrb r2, [r4, r2]
movs r0, r0
ldr r6, [r3, r4]
movs r0, r0
ldr r2, [0x00002bd4]
ldr r3, [0x00002bd8]
push.w {r4, r5, r6, r7, r8, sb, lr}
sub.w sp, sp, 0x31c
add r2, pc
add r4, sp, 0x14
add r5, sp, 0x94
mov r0, r4
ldr r3, [r2, r3]
ldr r3, [r3]
str r3, [sp, 0x314]
mov.w r3, 0
blx sym.imp.__errno_location
mov r2, r5
mov r1, r4
movs r0, 2
blx sym.imp.__fprintf_chk
cbnz r0, 0x2a7e
ldr r0, [0x00002bcc]
add r0, pc
blx 0x1db8
ldr r2, [0x00002bd0]
ldr r3, [r2, r0]
subs r3, 1
str r3, [r2, r0]
cmp r3, 0
beq.w 0x2ba2
movs r2, 0
mov r1, r5
movs r0, 2
blx sym.imp.__fprintf_chk
mov r4, r0
cmp r0, 0
--
add r4, sp, 8
mov r5, sp
add r7, sp, 0x14
ldr r3, [r2, r3]
mov r0, r7
ldr r6, [0x00003460]
vdup.32 d17, r5
vdup.32 d16, r4
ldr r3, [r3]
str r3, [sp, 0x114]
mov.w r3, 0
add r6, pc
vstr d17, [sp]
vstr d16, [sp, 8]
blx sym.imp.__errno_location
cmp r0, 0
bne.w 0x343c
mov r1, r7
add r7, sp, 0x94
mov r2, r7
blx sym.imp.__fprintf_chk
cmp r0, 0
bne.w 0x3428
--
cbz r3, 0x340e
movs r2, 0
movs r1, 8
movw r0, 0x185
blx sym.imp.strtoul
cmp r0, 0
bne 0x3454
ldr r4, [0x00003478]
add r4, pc
mov r0, r4
blx 0x1aa4
cmp r0, 0
bne 0x3454
add.w r0, r4, 0x18
blx 0x1aa4
mov r2, r0
cmp r0, 0
bne 0x3454
mov r1, r7
movs r0, 2
blx sym.imp.__fprintf_chk
cbnz r0, 0x3414
ldr r2, [0x0000347c]
--
movs r0, r0
lsls r0, r3, 5
movs r0, r0
ldr r2, [0x00003708]
ldr r3, [0x0000370c]
push.w {r4, r5, r6, r7, r8, sb, sl, lr}
sub sp, 0x118
add r2, pc
add r4, sp, 0x14
mov r0, r4
ldr r3, [r2, r3]
ldr r3, [r3]
str r3, [sp, 0x114]
mov.w r3, 0
blx sym.imp.__errno_location
cmp r0, 0
bne 0x35e0
add r5, sp, 0x94
mov r1, r4
mov r2, r5
blx sym.imp.__fprintf_chk
cmp r0, 0
bne 0x35e0
ldr r0, [0x00003700]
add r0, pc
blx 0x1db8
ldr r3, [r0]
cbz r3, 0x354a
movs r2, 0
mov r1, r5
movs r0, 2
blx sym.imp.__fprintf_chk
cmp r0, 0
bne 0x35e0
--
ldrb r4, [r4]
movs r0, r0
ldr r2, [0x000038c8]
ldr r3, [0x000038cc]
push {r4, r5, r6, lr}
sub sp, 0x108
add r2, pc
add r6, sp, 4
mov r4, r0
mov r0, r6
ldr r3, [r2, r3]
ldr r3, [r3]
str r3, [sp, 0x104]
mov.w r3, 0
blx sym.imp.__errno_location
cmp r0, 0
bne 0x38be
add r5, sp, 0x84
mov r1, r6
mov r2, r5
blx sym.imp.__fprintf_chk
cmp r0, 0
bne 0x38be
--
movs r6, 0
str r6, [r4]
ldr r0, [0x000038c4]
str r2, [r1, 4]
str r1, [r2]
strd r6, r6, [r4, 0x48]
add r0, pc
ldr r2, [r3, 4]
subs r2, 0x80
str r2, [r3, 4]
blx 0x1db8
mov r3, r0
ldr r0, [0x000038dc]
str r6, [r3]
add r0, pc
blx 0x1aa4
mov r2, r0
cbnz r0, 0x38be
mov r1, r5
movs r0, 2
blx sym.imp.__fprintf_chk
cbnz r0, 0x38be
bl entry0
--
ldrb r0, [r4, 0x13]
movs r0, r0
strb r4, [r0, 0x18]
movs r0, r0
ldr r2, [0x0000397c]
ldr r3, [0x00003980]
push {r4, r5, lr}
sub sp, 0x10c
add r2, pc
add r4, sp, 4
mov r0, r4
ldr r3, [r2, r3]
ldr r3, [r3]
str r3, [sp, 0x104]
mov.w r3, 0
blx sym.imp.__errno_location
cbnz r0, 0x3948
add r5, sp, 0x84
mov r1, r4
mov r2, r5
blx sym.imp.__fprintf_chk
cbnz r0, 0x3962
ldr r4, [0x00003984]
--
ldr r4, [0x00003a28]
add r1, pc
add r5, sp, 4
ldr r3, [r1, r3]
mov r0, r5
add r4, pc
add.w r1, r4, 0x50
ldr r3, [r3]
str r3, [sp, 0x84]
mov.w r3, 0
blx 0x1b5c
mov r0, r4
blx 0x1aa4
cbnz r0, 0x3a1a
add.w r0, r4, 0x18
blx 0x1aa4
mov r2, r0
cbnz r0, 0x3a1a
mov r1, r5
movs r0, 2
blx sym.imp.__fprintf_chk
cbnz r0, 0x3a00
ldr r2, [0x00003a2c]
--
ldr r3, [r5, 8]
cmp r3, r8
sub.w r5, r3, 8
bne 0x3a66
ldr r4, [0x00003b28]
add r5, sp, 4
movs r2, 0x80
mov r0, r5
add r4, pc
add.w r1, r4, 0x50
blx 0x1b5c
mov r0, r4
blx 0x1aa4
cbnz r0, 0x3b16
add.w r0, r4, 0x18
blx 0x1aa4
mov r2, r0
cbnz r0, 0x3b16
mov r1, r5
movs r0, 2
blx sym.imp.__fprintf_chk
cbnz r0, 0x3afc
ldr r2, [0x00003b2c]

[*] Function printf used 13 times liblttng-ust-common.so.1.0.0