[*] Binary protection state of libudev.so.1.7.4

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


[*] Function printf tear down of libudev.so.1.7.4

beq.w 0x71ee
mov r4, r1
cmp r1, 0
beq.w 0x7204
mov r5, r0
mov r0, r1
blx sym.imp.getrandom
add.w r3, r0, 0x10
cmp.w r3, 0x400000
bhi.w 0x721a
ldr r3, [0x00007298]
adds r0, 0x17
bic r0, r0, 7
sub.w sp, sp, r0
add r3, pc
add r6, sp, 0x10
ldm r3, {r0, r1, r2, r3}
stm.w r6, {r0, r1, r2, r3}
mov r1, r4
add.w r0, r6, 0xf
blx sym.imp.__vsnprintf_chk
mov r0, r6
blx 0x353c
--
mov sb, r2
ldr r1, [r4, r1]
ldr r1, [r1]
str r1, [r7, 4]
mov.w r1, 0
blx sym.imp.getrandom
adds r3, r0, 6
cmp.w r3, 0x400000
bhi 0x7a4a
ldr r3, [0x00007a7c]
adds r0, 0xd
bic r0, r0, 7
sub.w sp, sp, r0
add r3, pc
mov r4, sp
ldm.w r3, {r0, r1}
str r0, [r4]
adds r0, r4, 5
strb r1, [r4, 4]
mov r1, r8
blx sym.imp.__vsnprintf_chk
mov r0, r4
blx 0x353c
--
ldr r0, [r4, 4]
movw r1, 0x894c
blx sym.imp.isatty
subs r6, r0, 0
bge 0x826a
bl 0x16d1c
cmp r0, 6
bgt 0x8308
mov r0, r6
bl 0x11c70
b 0x8144
add r5, sp, 8
mov r1, r5
blx sym.imp.strtol
cmp r0, 0
blt 0x832a
ldr r0, [0x00008440]
add.w r8, sp, 0x70
mov r1, r8
add r0, pc
blx sym.imp.__asprintf_chk
cmp r0, 0
bge 0x8364
--
mov r5, r0
mov r0, r4
add r1, pc
blx 0x3b7c
mov r6, r0
cbnz r0, 0x95d4
mov r0, sb
blx sym.imp.getrandom
adds r3, r0, 5
cmp.w r3, 0x400000
bhi.w 0x98a8
adds r0, 0xc
movw r3, 0x732f
bic r0, r0, 7
movt r3, 0x7379
sub.w sp, sp, r0
mov r1, sb
add.w r8, sp, 0x20
mov r0, r8
str r3, [r0], 4
blx sym.imp.__vsnprintf_chk
mov r2, r6
mov r1, r8
--
mov.w r3, 0
cbz r0, 0xb3aa
mov r4, r1
cbz r1, 0xb3c0
mov r6, r0
mov r0, r1
blx sym.imp.getrandom
add.w r3, r0, 0x10
cmp.w r3, 0x400000
bhi 0xb3d6
ldr r2, [0x0000b3f8]
add.w r3, r0, 0x17
bic r3, r3, 7
sub.w sp, sp, r3
add r2, pc
mov r5, sp
ldm r2, {r0, r1, r2, r3}
stm.w r5, {r0, r1, r2, r3}
mov r1, r4
add.w r0, r5, 0xf
blx sym.imp.__vsnprintf_chk
mov r1, r5
mov r0, r6
--
mov r0, r5
bl 0x18f54
mov r5, r0
b 0xd78a
mov r0, r5
blx sym.imp.getrandom
adds r3, r0, 6
cmp.w r3, 0x400000
bhi 0xd8ae
ldr r3, [0x0000d8ec]
adds r0, 0xd
bic r0, r0, 7
sub.w sp, sp, r0
add r3, pc
add r6, sp, 0x20
ldm.w r3, {r0, r1}
str r0, [sp, 0x20]
add.w r0, sp, 0x25
strb.w r1, [sp, 0x24]
mov r1, r5
blx sym.imp.__vsnprintf_chk
mov r1, r6
mov r0, r4
--
smmls r0, r2, r0, r0
stm r5!, {r1, r2, r3, r5, r6, r7}
movs r0, r0
ldr r2, [0x000117cc]
ldr r3, [0x000117d0]
push.w {r4, r5, r6, r7, r8, lr}
sub sp, 0x110
add r2, pc
ldr r3, [r2, r3]
ldr r3, [r3]
str r3, [sp, 0x10c]
mov.w r3, 0
cmp r0, 0
beq 0x117b2
mov r5, r0
movs r7, 0
blx 0x3ba0
mov r6, r0
mov r0, r5
str r7, [r6]
blx sym.imp.__sprintf_chk
mov r4, r0
cmp r0, 0
--
add r4, r5
movs r1, r0
invalid
ldrh.w r0, [ip, r0]
ldrh.w r0, [r6]
asrs r6, r7, 1
movs r1, r0
strb.w r0, [ip, r0]
strb.w r0, [r6]
stm r1!, {r1, r2, r4, r7}
movs r0, r0
invalid
invalid
strh.w r0, [lr, r0]
invalid
invalid
invalid
cmp r0, 0
push {r3, lr}
blt 0x11c4e
blx sym.imp.parse_printf_format
cmp r0, 0
bge 0x11c4a
--
strge r7, [r5]
pop {r3, r4, r5, r6, r7, pc}
movs r2, 0
movs r1, 1
mov r0, r4
blx sym.imp.inotify_init1
cmp r0, 0
blt 0x11e10
ands r1, r0, 1
mov.w r2, 3
it ne
movwne r1, 0x406
mov r0, r4
blx sym.imp.inotify_init1
cmp r0, 0
mov r6, r0
blt 0x11e10
cmp r0, 2
ble 0x11e58
mov r0, r4
blx sym.imp.parse_printf_format
cmp r7, 0
mov r0, r6
--
pop {r4, r5, r6, r7, pc}
cmp r0, 3
ble 0x12d56
ldr r2, [0x00012dfc]
ubfx r4, r4, 0, 0xc
ldr r7, [0x00012e00]
mov r1, r6
ldr r0, [0x00012e04]
mov.w r3, 0x5a8
add r2, pc
strd r5, r4, [sp, 8]
add r7, pc
adds r2, 7
add r0, pc
strd r0, r7, [sp]
movs r0, 4
bl 0x17574
b 0x12d56
add r4, sp, 0x20
mov r1, r4
blx sym.imp.__asprintf_chk
cmp r0, 0
it ge
--
ldr r0, [r3]
ldrb r3, [r3, 4]
str r0, [r4, r6]
mov r0, r4
strb r3, [r2, 4]
b 0x1beb0
ldr r1, [0x0001c008]
movw r2, 0x16f
ldr r3, [0x0001c00c]
ldr r0, [0x0001c010]
add r1, pc
add r3, pc
adds r1, 7
add r0, pc
bl 0x17644
movs r3, 0x20
adds r0, r6, 1
mov r1, r7
add r0, r4
strb r3, [r4, r6]
blx sym.imp.__vsnprintf_chk
mov r0, r4
b 0x1beb0
--
push {r3, lr}
add r0, pc
blx sym.imp.openat64
cmp r0, 0
it ge
movge r0, 0
blt 0x1cc2e
pop {r3, pc}
blx 0x3ba0
ldr r0, [r0]
cmp r0, 2
ite ne
rsbne r0, r0, 0
moveq r0, 1
pop {r3, pc}
nop
ldr r2, [r6, 0x5c]
movs r0, r0
push {r4, lr}
mov.w r0, 0x80000
blx sym.imp.__snprintf_chk
subs r4, r0, 0
blt 0x1cc70

[*] Function printf used 12 times libudev.so.1.7.4