[*] Binary protection state of zabbix_agentd
Full RELRO Canary found NX enabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function strcpy tear down of zabbix_agentd
sub.w r5, r3, 0x24
sub.w r6, r3, 0x2c
add r1, pc
mov r3, r6
mov r2, r5
bl sym.zbx_json_value_by_name_dyn
cbnz r0, 0x11286
subw r3, fp, 0xe24
ldr r3, [r3]
ldrb r3, [r3]
cbnz r3, 0x112a0
subw r2, fp, 0xde8
mov r0, r5
movs r5, 0
subw r3, fp, 0xe28
str r5, [r2]
mov r1, r6
ldr r2, [sp, 0x30]
ldr r3, [r3]
subs r2, 0x28
bl sym.zbx_strcpy_alloc
ldr r6, [sp, 0x38]
movs r3, 0
--
movs r3, 0x10
ldr.w sl, [0x000129d0]
ldr r7, [sp, 0x20]
str r3, [sp]
ldr r1, [0x000129d4]
add sl, pc
ldr r3, [0x000129d8]
add.w r0, sl, 4
mov r2, r7
add r1, pc
add r3, pc
strd r0, r1, [sp, 0x28]
bl sym.zbx_strncpy_alloc
ldr r2, [r7]
ldr r3, [sp, 0x24]
ldrd r0, r1, [sp, 0x28]
adds r2, 1
ldr r3, [r3]
str r2, [r7]
mov r2, r7
bl sym.zbx_strcpy_alloc
ldr r3, [sp, 0x18]
mov r0, r5
--
mov r4, r0
cmp r0, 0
beq.w 0x1c8a4
sub.w r3, r4, r8
mov r2, sb
str r3, [sp]
mov r1, fp
mov r3, r8
mov r0, r7
bl sym.zbx_strncpy_alloc
ldrb r3, [r4, 1]
cmp r3, 0
beq 0x1c6fa
cmp r3, 0x30
add.w r4, r4, 1
bne 0x1c700
ldr r3, [sp, 0x18]
mov r2, sb
mov r1, fp
mov r0, r7
bl sym.zbx_strcpy_alloc
b 0x1c716
mov r0, r6
--
ldr.w lr, [0x0001cab0]
stm r5!, {r0, r1, r2, r3}
ldm.w ip, {r0, r1}
ldr r3, [sp, 0x14]
stm.w r5, {r0, r1}
ldr.w r3, [r3, lr]
ldr r3, [r3]
cbnz r3, 0x1c890
ldr r5, [sp, 0xc]
movs r1, 0x5c
mov r0, sl
blx 0xdcd4
cbnz r0, 0x1c8c2
ldrb r1, [r5, 1]!
cmp r1, 0
bne 0x1c880
mov r3, sl
mov r2, sb
mov r1, fp
mov r0, r7
bl sym.zbx_strcpy_alloc
b 0x1c716
bl sym.zbx_alias_get
b 0x1c680
mov r1, fp
mov r3, r8
mov r2, sb
mov r0, r7
ldr r5, [sp, 0x24]
bl sym.zbx_strcpy_alloc
mov r0, r6
bl 0x1b5d0
--
str.w r0, [r8]
blx 0xe110
ldr r3, [r0]
ldrh.w r3, [r3, r4, lsl 1]
lsls r2, r3, 0x11
bpl 0x1c91e
mov r3, r4
ldr r1, [sp, 8]
mov r2, fp
mov r0, r8
bl sym.zbx_chrcpy_alloc
ldrb r4, [r5, 1]!
cbz r4, 0x1c934
ldr r3, [sp, 0xc]
cmp r5, r3
beq 0x1c8ea
ldr r1, [sp, 8]
mov r3, sl
mov r2, fp
mov r0, r8
bl sym.zbx_strcpy_alloc
b 0x1c8ea
str r4, [sp]
--
b 0x1cc8a
ldr r3, [r6]
adds r4, 0x10
ldr r5, [r3, r4]
cmp r5, 0
beq 0x1cd04
mov r1, r7
mov r0, r5
blx 0xe3b0
cmp r0, 0
beq 0x1cc80
movs r0, 0
add.w fp, sp, 8
add.w sl, sp, 4
mov r8, sp
mov r3, r5
mov r2, fp
str r0, [sp, 8]
mov r1, sl
mov r0, r8
bl sym.zbx_strcpy_alloc
ldr.w r3, [sb]
add r3, r4
ldr r2, [r3, 4]
lsls r2, r2, 0x1d
bmi 0x1ccea
ldr r3, [r3, 0xc]
cbz r3, 0x1ccea
movs r3, 0x5b
mov r2, fp
mov r1, sl
mov r0, r8
bl sym.zbx_chrcpy_alloc
ldr.w r3, [sb]
mov r2, fp
mov r1, sl
mov r0, r8
add r3, r4
ldr r3, [r3, 0xc]
bl sym.zbx_strcpy_alloc
mov r2, fp
mov r1, sl
--
ble.w 0x2ce54
vldr s15, [fp]
vcvt.f64.s32 d9, s15
bl sym.zbx_time
vsub.f64 d0, d0, d8
vcmpe.f64 d9, d0
vmrs apsr_nzcv, fpscr
bmi.w 0x2ce9a
add r8, r7
cmp.w r8, 0x10000
bgt.w 0x2cecc
mov r1, r7
mov r2, sl
mov r0, sb
bl sym.convert_to_utf8
mov r7, r0
mov r3, r0
ldr r2, [sp, 4]
sub.w r0, r4, 0x9c
ldr r1, [sp, 8]
bl sym.zbx_strcpy_alloc
cmp r7, 0
beq 0x2cd00
--
subs r4, r0, 3
mov r1, r8
adds r0, r6, r4
blx 0xe3b0
cbnz r0, 0x30486
str r4, [sp]
mov r3, r6
ldr r4, [0x000304a4]
add r6, sp, 0xc
mov r2, r6
add r4, pc
add.w r8, r4, 4
add.w r7, r4, 8
mov r1, r8
mov r0, r7
bl sym.zbx_strncpy_alloc
add.w r3, r5, sb
mov r2, r6
mov r1, r8
mov r0, r7
bl sym.zbx_strcpy_alloc
b 0x303ec
ldr r6, [r6]
--
ite lt
movlt r3, 0
movge r3, 1
cmp r4, 0
it eq
moveq r3, 0
cmp r3, 0
bne 0x312a8
cbz r6, 0x31262
blx 0xdb54
ldrb r4, [r5]
mov r2, sb
ldr r3, [r0]
mov r1, r8
mov r0, r6
ldr.w r3, [r3, r4, lsl 2]
strb r3, [r5]
movs r3, 0xa
strh r3, [r5, r7]
mov r3, r5
bl sym.zbx_strcpy_alloc
mov r0, r5
blx 0xde30
--
mov r0, r8
add r3, sp, 0x20
bl 0x3161c
cmp r0, 0
bne 0x31e04
ldr r1, [sp, 0x20]
adds r0, r1, 1
bne.w 0x31ca0
mov fp, r1
mov r4, fp
b 0x31ca2
ldr r4, [sp, 0x20]
adds r2, r4, 1
bne 0x31e04
b 0x31ca2
ldr r0, [sp, 0xc]
mov r3, r8
add r2, sp, 0x1c
add r1, sp, 0x20
strd r4, r4, [sp, 0x1c]
bl sym.zbx_strcpy_alloc
b 0x31e38
mov r4, r0
--
add sb, pc
ldrb.w r3, [sl]
subs r3, 1
cmp r3, 0x13
bhi.w 0x3c20c
tbb [0x0003c058]
lsrs r2, r1, 8
lsrs r2, r1, 8
strb r4, [r7, 0x11]
str r4, [r5, 0x44]
strb r4, [r3, r1]
add r4, sb
str r4, [sp, 0x270]
strh r4, [r1, 0x24]
adr r4, 0x2b0
subs r4, r6, 6
ldr.w r3, [sl, 4]
mov r2, r8
mov r1, r7
mov r0, fp
bl sym.zbx_strcpy_alloc
ldr r3, [r5, 4]
adds r4, 1
cmp r4, r3
bge 0x3c0aa
ldr r6, [r5]
mov r3, sb
mov r2, r8
mov r1, r7
mov r0, fp
ldr.w sl, [r6, r4, lsl 2]
bl sym.zbx_strcpy_alloc
b 0x3c046
ldr r3, [0x0003c228]
mov r2, r8
mov r1, r7
mov r0, fp
adds r4, 1
add r3, pc
bl sym.zbx_strcpy_alloc
ldr r3, [r5, 4]
cmp r4, r3
--
add r0, pc
bl sym.zbx_set_json_strerror
ldr r2, [0x0003c230]
ldr r3, [0x0003c220]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 0x14]
eors r2, r3
mov.w r3, 0
bne.w 0x3c208
mov r0, r4
add sp, 0x1c
pop.w {r4, r5, r6, r7, r8, sb, sl, fp, lr}
b.w sym.imp.setpgid
ldr r3, [0x0003c234]
mov r2, r8
mov r1, r7
mov r0, fp
add r3, pc
bl sym.zbx_strcpy_alloc
b 0x3c078
ldr r3, [0x0003c238]
mov r2, r8
mov r1, r7
mov r0, fp
add r3, pc
bl sym.zbx_strcpy_alloc
b 0x3c078
ldr r3, [0x0003c23c]
mov r2, r8
mov r1, r7
mov r0, fp
add r3, pc
bl sym.zbx_strcpy_alloc
b 0x3c078
ldr r3, [0x0003c240]
mov r2, r8
mov r1, r7
mov r0, fp
add r3, pc
bl sym.zbx_strcpy_alloc
b 0x3c078
ldr r3, [0x0003c244]
mov r2, r8
mov r1, r7
mov r0, fp
add r3, pc
bl sym.zbx_strcpy_alloc
b 0x3c078
ldr r3, [0x0003c248]
mov r2, r8
mov r1, r7
mov r0, fp
add r3, pc
bl sym.zbx_strcpy_alloc
b 0x3c078
ldr r3, [0x0003c24c]
mov r2, r8
mov r1, r7
mov r0, fp
add r3, pc
bl sym.zbx_strcpy_alloc
b 0x3c078
ldr r3, [0x0003c250]
mov r2, r8
mov r1, r7
mov r0, fp
add r3, pc
bl sym.zbx_strcpy_alloc
b 0x3c078
ldr r3, [0x0003c254]
mov r2, r8
mov r1, r7
mov r0, fp
add r3, pc
bl sym.zbx_strcpy_alloc
b 0x3c078
ldr r3, [0x0003c258]
mov r2, r8
mov r1, r7
mov r0, fp
add r3, pc
bl sym.zbx_strcpy_alloc
b 0x3c078
ldr r3, [0x0003c25c]
mov r2, r8
mov r1, r7
mov r0, fp
add r3, pc
bl sym.zbx_strcpy_alloc
b 0x3c078
ldr r3, [0x0003c260]
mov r2, r8
mov r1, r7
mov r0, fp
add r3, pc
bl sym.zbx_strcpy_alloc
b 0x3c078
ldr r3, [0x0003c264]
mov r2, r8
mov r1, r7
mov r0, fp
add r3, pc
bl sym.zbx_strcpy_alloc
b 0x3c078
ldr r3, [0x0003c268]
mov r2, r8
mov r1, r7
mov r0, fp
add r3, pc
bl sym.zbx_strcpy_alloc
b 0x3c078
ldr r3, [0x0003c26c]
mov r2, r8
mov r1, r7
mov r0, fp
add r3, pc
bl sym.zbx_strcpy_alloc
b 0x3c078
ldr r2, [0x0003c270]
--
add r0, pc
bl sym.zbx_error
ldr r2, [0x0003c280]
ldr r3, [0x0003c220]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 0x14]
eors r2, r3
mov.w r3, 0
bne 0x3c208
add sp, 0x1c
pop.w {r4, r5, r6, r7, r8, sb, sl, fp, lr}
b.w sym.zbx_backtrace
blx 0xe158
ldr r3, [0x0003c284]
mov r2, r8
mov r1, r7
mov r0, fp
add r3, pc
bl sym.zbx_strcpy_alloc
b 0x3c078
smlal r0, r0, r6, r1
--
sub.w r3, r4, 0x10c
ldr r1, [r3]
adds r6, r1, 1
beq.w 0x4ae48
str r7, [sp, 0x20]
add r6, sp, 0x144
sub.w sl, r4, 0x118
mov.w fp, 0
mov r7, r1
b 0x4abaa
ldr.w r3, [sl]
add r3, r0
cmp.w r3, 0x80000
bhs.w 0x4aca0
add r0, r4
mov r3, r6
strb fp, [r0, -0x4]
sub.w r2, r5, 0x18
sub.w r1, r5, 0x1c
sub.w r0, r5, 0x14
bl sym.zbx_strcpy_alloc
movw r2, 0xfff
mov r1, r6
--
cmp.w r1, 0x800
mov r6, r1
bhs.w 0x4bb4c
add.w fp, sp, 0x4c
add.w r4, r0, r1, lsl 2
mov sb, r0
mov r1, fp
mov r3, r0
b 0x4b98c
cmp r3, r4
strb r2, [r1], 1
beq.w 0x4bb1a
ldr r2, [r3], 4
cmp r2, 0x7f
bls 0x4b982
ldr r3, [0x0004bc48]
mov r2, r5
ldr r0, [sp, 0xc]
mov r1, r8
add r3, pc
bl sym.zbx_strcpy_alloc
mov.w ip, 0
mov r3, sb
--
bls 0x4babc
sub.w r3, r1, 0x1a
cmp r3, 9
bls 0x4bab8
movs r3, 0x43
ldr r1, [sp, 0x20]
ldr r2, [sp, 0x14]
ldr r0, [sp, 0x18]
str r3, [sp]
ldr r3, [sp, 0x1c]
bl sym.zbx_error
bl sym.zbx_backtrace
movs r1, 0
b 0x4babc
movs r3, 0
strb.w r3, [fp, r6]
ldr r0, [sp, 0xc]
mov r3, fp
mov r2, r5
mov r1, r8
bl sym.zbx_strcpy_alloc
movs r0, 0
ldr r2, [0x0004bc5c]
[*] Function strcpy used 34 times zabbix_agentd