[*] Binary protection state of basic_device.so
Full RELRO Canary found NX enabled DSO No RPATH No RUNPATH No Symbols
[*] Function fprintf tear down of basic_device.so
mov r3, r6
str r0, [sp]
movs r1, 1
movs r0, 2
add r2, pc
blx sym.imp.sd_bus_message_read
ldr r3, [r5]
movs r2, 1
str r2, [r3, 0x20]
b 0xe88
blx sym.imp.UpnpUnRegisterRootDevice
cmp r0, 0
beq 0xeba
ldr r2, [0x00000f34]
mov r3, r0
movs r1, 1
movs r0, 4
add r2, pc
blx sym.imp.sd_bus_message_read
b 0xeba
blx sym.imp.__fprintf_chk
nop
adds r0, 0xda
--
add r6, pc
mov r1, r6
add r3, pc
str r3, [sp]
movs r3, 1
mov r0, r3
blx sym.imp.UpnpRegisterRootDevice2
cmp r0, 0
beq 0xfe8
ldr r2, [0x00001074]
add r2, pc
b 0x1046
ldr r2, [0x00001078]
add r2, pc
str r0, [sp]
mov r3, r6
movs r1, 1
movs r0, 2
blx sym.imp.sd_bus_message_read
b 0xfe2
blx sym.imp.__fprintf_chk
cmp r7, 0x82
movs r0, r0
--
rsbs r0, r4, 0
blx sym.imp.strerror
ldr r2, [0x000011b0]
mov r3, r0
movs r1, 1
movs r0, 3
add r2, pc
blx sym.imp.sd_bus_message_read
b 0x1144
rsbs r0, r4, 0
blx sym.imp.strerror
ldr r2, [0x000011b4]
mov r3, r0
movs r1, 1
movs r0, 3
add r2, pc
blx sym.imp.sd_bus_message_read
ldr r0, [sp, 8]
blx 0xc34
b 0x1144
blx sym.imp.__fprintf_chk
cmp r6, 0x46
movs r0, r0
--
blx sym.imp.strerror
ldr r2, [0x00001930]
mov r3, r0
movs r1, 1
movs r0, 3
add r2, pc
blx sym.imp.sd_bus_message_read
movs r3, 0
ldr r7, [sp, 0x2c]
mov fp, r3
str r3, [sp, 0x14]
b 0x13ce
str.w fp, [r4, 0x20]
mov fp, r3
ldr r7, [sp, 0x2c]
b 0x13ce
ldr r7, [sp, 0x2c]
mov fp, sl
str.w sl, [sp, 0x14]
b 0x13ce
blx sym.imp.__fprintf_chk
cmp r5, 0x26
movs r0, r0
--
ldr r3, [0x000019f4]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 0x204]
eors r2, r3
mov.w r3, 0
bne 0x19ec
add.w sp, sp, 0x20c
pop.w {r4, r5, r6, r7, r8, sb, pc}
ldr r1, [0x00001a08]
movs r2, 5
add r1, pc
b 0x1972
movs r2, 4
mov r1, r8
b 0x1972
mov ip, r3
add r5, sp, 4
b 0x19b0
blx sym.imp.__fprintf_chk
movs r5, 0xf8
movs r0, r0
--
str.w ip, [sp, 0xc]
ldrb ip, [r0, -0xf]
str.w ip, [sp, 8]
ldrb ip, [r0, -0x10]
strd r6, ip, [sp]
blx 0xc8c
b 0x1a96
ldr r2, [0x00001c78]
movs r1, 1
movs r0, 2
add r2, pc
blx sym.imp.sd_bus_message_read
movs r0, 0
b 0x1b00
ldr r2, [0x00001c7c]
movs r1, 1
movs r0, 3
add r2, pc
blx sym.imp.sd_bus_message_read
b 0x1b58
blx sym.imp.__fprintf_chk
blx 0xd6c
ldr r0, [r0]
[*] Function fprintf used 6 times basic_device.so