12 lines
430 B
Bash
Executable File
12 lines
430 B
Bash
Executable File
#!/bin/sh
|
|
# The firmware library's C ABI is private. Refuse to load an unverified build.
|
|
set -eu
|
|
cd "$(dirname "$0")"
|
|
library=/system/vendor/quasar/libs/libyandex_evil.so
|
|
if ! printf '%s %s\n' fa7ad1544fe9ddfccedcf15acc031768345b0b8c7333bc1c0b47bc476dd4152f "$library" | sha256sum -c - >/dev/null; then
|
|
echo 'VQE: unsupported firmware library' >&2
|
|
exit 1
|
|
fi
|
|
export LD_LIBRARY_PATH=/system/vendor/quasar/libs
|
|
exec ./alice-vqe
|