[*] Binary protection state of api-discovery

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


[*] Function system tear down of api-discovery

movs r6, 0
ldr r0, [r5, 8]
movs r2, 0xf
mov r1, r6
str r6, [sp]
add r7, pc
mov r3, r7
blx 0x13d4
subs r4, r0, 0
blt.w 0x1838
ldr r0, [r5, 8]
mov r3, r7
movs r2, 2
mov r1, r6
str r6, [sp]
blx 0x13d4
subs r4, r0, 0
bge 0x16e6
rsbs r5, r4, 0
mov r0, r5
blx sym.imp.sd_bus_open_system
mov r2, r0
ldr r3, [0x0000186c]
str r2, [sp]
mov r0, r6
ldr r2, sym.imp.g_strdup
mov.w r1, 0x100
add r3, pc
add r2, pc
blx 0x1314
b 0x1806
blx sym.imp.sd_notify
mov r4, r0
ldr r0, [r0]
blx sym.imp.sd_bus_open_system
ldr r3, [0x00001874]
ldr r2, [0x00001878]
--
bne 0x16f4
ldr r3, [0x00001884]
movs r1, 0x40
ldr r2, [0x00001888]
add r3, pc
add r2, pc
blx 0x1314
bl 0x1574
ldr r3, [r5, 4]
cmp r3, 0
bne 0x16f8
ldr r0, [r5, 8]
mov r2, r7
mov r3, r6
blx sym.imp.sd_event_run
subs r4, r0, 0
bge 0x170e
rsbs r6, r4, 0
ldr r5, [0x0000188c]
mov r0, r6
blx sym.imp.sd_bus_open_system
ldr r2, [0x00001890]
add r5, pc
mov r3, r5
mov.w r1, 0x100
str r0, [sp]
movs r0, 0
add r2, pc
blx 0x1314
mov r0, r6
blx sym.imp.sd_bus_open_system
ldr r2, [0x00001894]
mov r3, r5
str r0, [sp]
mov.w r1, 0x100
movs r0, 0
add r2, pc
blx 0x1314
b 0x1790
rsbs r0, r4, 0
blx sym.imp.sd_bus_open_system
ldr r3, [0x00001898]
mov.w r1, 0x100
--
mov.w r3, 0
bne 0x1858
mov r0, r4
add sp, 0x94
pop {r4, r5, r6, r7, pc}
bl 0x26f8
subs r4, r0, 0
it ge
movge r4, 0
bge 0x1790
ldr r3, [0x000018a4]
mov.w r1, 0x100
ldr r2, sym.imp.g_list_free
movs r0, 0
str r4, [sp]
add r3, pc
add r2, pc
blx 0x1314
b 0x1790
rsbs r0, r4, 0
blx sym.imp.sd_bus_open_system
ldr r3, [0x000018ac]
mov.w r1, 0x100
ldr r2, [0x000018b0]
str r0, [sp]
movs r0, 0
add r3, pc
add r2, pc
blx 0x1314
b 0x1790
rsbs r0, r4, 0
blx sym.imp.sd_bus_open_system
ldr r3, [0x000018b4]
mov.w r1, 0x100
ldr r2, [0x000018b8]
str r0, [sp]
movs r0, 0
add r3, pc
add r2, pc
blx 0x1314
b 0x1790
rsbs r5, r4, 0
mov r0, r5
blx sym.imp.sd_bus_open_system
ldr r3, [0x000018bc]
mov.w r1, 0x100
ldr r2, [0x000018c0]
str r0, [sp]
movs r0, 0
add r3, pc
add r2, pc
blx 0x1314
b 0x1790
blx sym.imp.sd_notify
mov r4, r0
ldr r0, [r0]
blx sym.imp.sd_bus_open_system
ldr r3, [0x000018c4]
ldr r2, [0x000018c8]
add r3, pc
add r2, pc
b 0x16d0
rsbs r5, r4, 0
mov r0, r5
blx sym.imp.sd_bus_open_system
mov r2, r0
ldr r3, [0x000018cc]
--
mov r2, r6
ldr r1, [sp, 0x18]
blx sym.imp.__errno_location
subs r5, r0, 0
it ge
movge r5, r6
blt 0x1ed2
ldr r2, [0x00001f28]
ldr r3, [0x00001ef8]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 0x8c]
eors r2, r3
mov.w r3, 0
bne 0x1ef0
mov r0, r5
add sp, 0x94
pop.w {r4, r5, r6, r7, r8, sb, sl, fp, pc}
rsbs r0, r5, 0
blx sym.imp.sd_bus_open_system
ldr r3, [0x00001f2c]
mov.w r1, 0x100
ldr r2, [0x00001f30]
str r0, [sp]
movs r0, 0
add r3, pc
add r2, pc
blx 0x1314
ldr r3, [0x00001f34]
add r3, pc
ldr r0, [r3]
blx 0x1398
b 0x1e30
mov r3, r4
movs r7, 0x20
b 0x1dc0
rsbs r0, r5, 0
blx sym.imp.sd_bus_open_system
ldr r3, [0x00001f38]
mov r1, r0
ldr r2, [0x00001f3c]
mov r0, r6
str r1, [sp]
mov.w r1, 0x100
add r3, pc
add r2, pc
blx 0x1314
b 0x1e66
rsbs r0, r5, 0
blx sym.imp.sd_bus_open_system
ldr r3, [0x00001f40]
mov r1, r0
ldr r2, [0x00001f44]
mov r0, r6
str r1, [sp]
mov.w r1, 0x100
add r3, pc
add r2, pc
blx 0x1314
b 0x1e66
rsbs r0, r5, 0
blx sym.imp.sd_bus_open_system
ldr r3, [0x00001f48]
mov r1, r0
ldr r2, [0x00001f4c]
mov r0, r6
str r1, [sp]
mov.w r1, 0x100
add r3, pc
add r2, pc
blx 0x1314
b 0x1e66
rsbs r0, r5, 0
blx sym.imp.sd_bus_open_system
ldr r3, [0x00001f50]
mov r1, r0

[*] Function system used 15 times api-discovery