[*] Binary protection state of netd

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


[*] Function system tear down of netd

ldr r3, [r3]
str r3, [sp, 0x2c]
mov.w r3, 0
blx 0xc5cc
subs r5, r0, 0
blt 0x19316
add r7, sp, 0xc
movs r2, 0x20
movs r1, 0
mov r0, r7
blx 0xc170
mov r0, r6
bl sym.netd_device_get_name
movs r2, 0xf
mov r1, r0
mov r0, r7
blx 0xcb30
mov r2, r7
movw r1, 0x8913
mov r0, r5
blx sym.imp.system
cmp r0, 0
bne 0x19354
--
ldrsh.w r3, [sp, 0x1c]
lsls r2, r3, 0x1f
bpl 0x192f2
ldr r4, [0x000193c8]
bic r3, r3, 1
add r4, pc
add.w r4, r4, 0x2d4
ldr.w r8, [0x000193cc]
mov r0, r6
strh.w r3, [sp, 0x1c]
bl sym.netd_device_get_name
add r8, pc
mov r2, r0
mov r3, r4
movs r0, 0
add.w r1, r8, 0x36c
bl sym.netd_log_esc
mov r2, r7
movw r1, 0x8914
mov r0, r5
blx sym.imp.system
cmp r0, 0
blt 0x19396
--
mov r0, r1
blx 0xc5cc
adds r3, r0, 1
beq 0x194ac
add r5, sp, 4
movs r2, 0x20
movs r1, 0
mov r4, r0
mov r0, r5
blx 0xc170
mov r0, r8
bl sym.netd_device_get_name
movs r2, 0xf
mov r1, r0
mov r0, r5
blx 0xcb30
mov r2, r5
movw r1, 0x8922
mov r0, r4
str r6, [sp, 0x14]
blx sym.imp.system
adds r0, 1
it ne
--
ldr r0, [r0]
blx sym.imp.valid_ipv6_allow_cidr
mov r2, r4
mov r3, r0
add.w r1, r7, 0x3c4
movs r0, 3
bl sym.netd_log_esc
b 0x1945e
mov r0, r8
bl sym.netd_device_get_state
cmp r0, 1
mov sb, r0
bne 0x19486
movs r1, 0
mov r0, r8
bl sym.netd_device_set_state
cbz r0, 0x1951c
mov r2, r5
movw r1, 0x8922
mov r0, r4
blx sym.imp.system
adds r0, 1
beq 0x19530
--
str r3, [sp, 8]
add.w r3, sp, 0x51
str r3, [sp, 4]
add r3, sp, 0x50
str r3, [sp]
add.w r1, r7, 0xcc0
add.w r3, sp, 0x4f
mov r0, r5
blx sym.imp.nl_cache_mngr_free
cmp r0, 6
bne 0x1a47c
movs r1, 2
mov r2, r8
mov r0, r1
blx 0xc5cc
cmp.w r0, -1
mov r8, r0
beq.w 0x1a71e
mov r2, sb
movw r1, 0x8924
blx sym.imp.system
adds r0, 1
beq.w 0x1a782
--
mov r5, sp
movs r2, 0x20
movs r1, 0
mov r0, r5
blx 0xc170
add r6, sp, 0x20
ldr r1, [r7]
movs r2, 0xf
mov r0, r5
blx 0xcb30
movw r2, 0x624
movs r1, 0
mov r0, r6
blx 0xc170
movs r3, 0x4c
mov r2, r5
movw r1, 0x8946
mov r0, r4
str r6, [r5, 0x10]
str r3, [r6]
blx sym.imp.system
cmp r0, 0
blt.w 0x24386
--
pop.w {r4, r5, r6, r7, r8, pc}
mov r0, r7
bl sym.netd_device_get_name
mov r4, r0
blx 0xcb18
ldr r0, [r0]
blx sym.imp.valid_ipv6_allow_cidr
ldr r1, [0x000244fc]
mov r3, r0
mov r2, r4
movs r0, 3
add r1, pc
add.w r1, r1, 0x13c
bl sym.netd_log_esc
b 0x2425a
rsbs r3, r3, 0
mov r2, r5
movw r1, 0x8946
mov r0, r4
strb r3, [r6, 0xf]
blx sym.imp.system
cmp r0, 0
blt.w 0x24490
--
movs r1, 2
movs r2, 0
mov r0, r1
blx 0xc5cc
subs r4, r0, 0
blt 0x2443c
movs r2, 0x20
movs r1, 0
mov r0, r5
blx 0xc170
ldr r1, [r7]
movs r2, 0xf
mov r0, r5
blx 0xcb30
movs r3, 0x4d
mov r2, r5
movw r1, 0x8946
mov r0, r4
str r6, [r5, 0x10]
str r3, [r6]
blx sym.imp.system
cmp r0, 0
blt.w 0x244bc
--
movs r4, 2
b 0x30b8e
blx 0xc59c
vhadd.s8 d0, d10, d2
lsls r0, r1, 0x17
movs r0, r0
bkpt 0xa4
movs r2, r0
cdp p0, 0xb, c0, c14, c2, 0
bkpt 0xc
movs r2, r0
push {r4, r5, r6, lr}
sub sp, 8
cmp r0, 0
beq 0x30cac
mov r4, r0
ldr r6, [r0]
cmp r6, 0
bne 0x30c92
ldr r0, [r0, 8]
blx sym.imp.policykit_system_reload_service
str r0, [r4, 0x18]
cmp r0, 0
beq 0x30cf6
ldr r0, [r4, 8]
blx sym.imp.policykit_system_reload_service
str r0, [r4, 0x14]
cmp r0, 0

[*] Function system used 10 times netd