[*] Binary protection state of userdbctl

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


[*] Function printf tear down of userdbctl

blt 0x1fc2
ldr r3, [0x00001ff8]
ldr r3, [r4, r3]
ldr r6, [r3]
blx sym.imp.get_color_mode
cbnz r0, 0x1fb0
ldr r7, [0x00001ffc]
add r7, pc
blx sym.imp.get_color_mode
cbnz r0, 0x1fbc
ldr r5, [0x00002000]
add r5, pc
ldr r0, [sp, 8]
mov r3, r7
ldr r1, [0x00002004]
mov r2, r6
movs r4, 0
strd r5, r0, [sp]
movs r0, 1
add r1, pc
blx sym.imp.__printf_chk
ldr r0, [sp, 8]
blx sym.imp.free
--
mvnge r5, 0x55
b 0x2050
ldr r0, [r0, 0x28]
blx sym.imp.uid_is_valid
cbz r0, 0x210e
ldr r1, [0x000021c4]
movs r3, 0
ldr r0, [r4, 0x2c]
mov r2, r3
add r1, pc
blx sym.imp.strv_join_full
mov r6, r0
cmp r0, 0
beq 0x218e
ldr r1, [0x000021c8]
ldr r3, [r4, 0x28]
ldr r2, [r4, 0xc]
add r1, pc
str r0, [sp]
movs r0, 1
blx sym.imp.__printf_chk
mov r0, r6
blx sym.imp.free
--
mov r7, r0
mov r0, r4
blx sym.imp.user_record_real_name
mov r6, r0
cmp r0, 0
beq 0x23ce
mov r0, r4
blx sym.imp.user_record_home_directory
mov r3, r0
mov r0, r4
mov r4, r3
blx sym.imp.user_record_shell
ldr r1, [0x000023f0]
mov r3, sb
strd r4, r0, [sp, 8]
mov r2, r8
str r6, [sp, 4]
movs r0, 1
add r1, pc
str r7, [sp]
blx sym.imp.__printf_chk
b 0x224a
ldr r3, [0x000023f4]
--
add r3, pc
str r5, [sp, 0x20]
blx sym.imp.json_build
subs r4, r0, 0
blt 0x2514
ldr r0, [sp, 0x20]
mov r3, r5
mov r2, r5
movs r1, 0x12
blx sym.imp.json_variant_dump
ldr r0, [sp, 0x20]
cbz r0, 0x2500
blx sym.imp.json_variant_unref
b 0x2500
ldr r1, [0x00002608]
mov r3, r0
mov r2, r6
movs r0, 1
movs r4, 0
add r1, pc
blx sym.imp.__printf_chk
ldr r2, [0x0000260c]
ldr r3, [0x000025f8]
--
pop {r4, r5, r6, pc}
cmp r5, 0
beq 0x2564
movs r3, 1
movs r1, 0x21
mov r2, r0
str r1, [sp, 4]
mov r0, r5
mov r1, r3
str r6, [sp]
blx sym.imp.table_add_many_internal
subs r4, r0, 0
blt 0x257a
movs r4, 0
b 0x24cc
ldr r1, [0x00002610]
mov r2, r0
mov r3, r6
movs r0, 1
add r1, pc
blx sym.imp.__printf_chk
b 0x24cc
blx sym.imp.log_get_max_level

[*] Function printf used 5 times userdbctl