[*] Binary protection state of libxml2.so.2.9.14
Full RELRO Canary found NX enabled DSO No RPATH No RUNPATH No Symbols
[*] Function printf tear down of libxml2.so.2.9.14
blx 0x1b724
ldr r3, [0x000455a8]
add r3, pc
ldrh r3, [r3]
strh r3, [r0]
ldr r1, [r6, 8]
cmp r1, 0
beq 0x453da
mov r0, r5
blx 0x1bc28
b 0x453da
ldr r2, [r6, 0xc]
mov r1, r4
mov r0, r5
ldr r3, [r2]
subs r3, 3
cmp r3, 1
ite ls
movls r3, 1
movhi r3, 0
bl sym.xmlSnprintfElementContent
mov r0, r5
blx sym.imp.fopen64
--
adds r2, r5, r0
ldrb r1, [r2, -0x1]
cmp r1, 0x2e
beq 0x453fe
ldr r1, [0x000455ac]
add r1, pc
ldr r0, [r1]
ldrb r1, [r1, 4]
str r0, [r5, r3]
strb r1, [r2, 4]
b 0x453fe
ldr r2, [r6, 0xc]
mov r1, r4
mov r0, r5
ldr r3, [r2]
subs r3, 3
cmp r3, 1
ite ls
movls r3, 1
movhi r3, 0
bl sym.xmlSnprintfElementContent
mov r0, r5
blx sym.imp.fopen64
--
strh r3, [r5, r0]
b 0x453fe
ldr r2, [0x000455c4]
add r2, pc
ldr r0, [r2]
str r0, [r5, r3]
ldr r2, [r6, 0x10]
ldr r1, [r2]
cmp r1, 3
beq 0x4556c
ldr r3, [r2, 4]
cmp r3, 1
it ne
cmpne r1, 2
ite ne
movne r3, 1
moveq r3, 0
bne 0x4556c
mov r1, r4
mov r0, r5
bl sym.xmlSnprintfElementContent
b 0x453da
ldr r2, [0x000455c8]
add r2, pc
ldr r0, [r2]
str r0, [r5, r3]
ldr r2, [r6, 0x10]
ldr r1, [r2]
cmp r1, 4
bne 0x45542
movs r3, 1
mov r1, r4
mov r0, r5
bl sym.xmlSnprintfElementContent
b 0x453da
add.w r0, sb, 9
--
bl sym.xmlAutomataGetInitState
ldr r2, [r4, 8]
mov r1, r5
str r0, [r5, 0x3c]
ldr r0, [r4, 0x28]
bl 0x4408c
ldrd r0, r1, [r5, 0x38]
bl sym.xmlAutomataSetFinalState
ldr r0, [r5, 0x38]
bl sym.xmlAutomataCompile
str r0, [r4, 0x34]
bl sym.xmlRegexpIsDeterminist
cmp r0, 1
beq 0x456b0
add r7, sp, 0x14
ldr r2, [r4, 0x28]
movs r3, 1
movw r1, 0x1388
mov r0, r7
strb.w r6, [sp, 0x14]
bl sym.xmlSnprintfElementContent
ldr r3, [r4, 8]
mov r1, r4
--
mov r1, r2
bl sym.xmlRegExecPushString
mov r5, r0
mov r0, sb
adds r7, r5, 3
bic r7, r7, 4
bl sym.xmlRegFreeExecCtxt
adds r3, r5, 3
it eq
moveq r5, 1
cmp r7, 0
beq.w 0x45a0a
add.w sb, sp, 0x2c
movs r5, 0
movs r3, 1
ldr r2, [sp, 0x14]
movw r1, 0x1388
mov r0, sb
strb.w r5, [sb]
add.w r8, sp, 0x13a0
bl sym.xmlSnprintfElementContent
add.w r3, sp, 0x13a0
add.w r8, r8, 0x14
adds r3, 0x14
strb r5, [r3]
cmp r6, 0
beq 0x458b2
add.w r3, sp, 0x13c0
add.w r8, sp, 0x13a0
add.w r8, r8, 0x14
str r3, [sp, 0x24]
b 0x45846
mov r0, sb
add.w sb, sp, 0x2c
bl sym.xmlRegFreeExecCtxt
movs r5, 0
movs r3, 1
ldr r2, [sp, 0x14]
movw r1, 0x1388
mov r0, sb
add.w r8, sp, 0x13a0
strb.w r5, [sb]
add.w r8, r8, 0x14
bl sym.xmlSnprintfElementContent
add.w r3, sp, 0x13a0
adds r3, 0x14
--
ldr r3, [sp, 0x18]
mov.w r2, 0x1f8
ldr r1, [sp, 0x1c]
mov r0, r4
str.w sb, [sp]
strd r8, r3, [sp, 4]
ldr r3, [0x00045b00]
add r3, pc
bl 0x43724
b 0x458d0
str.w sl, [sp, 0x24]
mov sl, r0
mov r0, sb
add.w sb, sp, 0x2c
bl sym.xmlRegFreeExecCtxt
ldr r2, [sp, 0x14]
movs r3, 1
movw r1, 0x1388
mov r0, sb
strb.w sl, [sb]
bl sym.xmlSnprintfElementContent
strb.w sl, [r8]
b 0x45846
[*] Function printf used 8 times libxml2.so.2.9.14