speed47 / spectre-meltdown-checker

Reptar, Downfall, Zenbleed, ZombieLoad, RIDL, Fallout, Foreshadow, Spectre, Meltdown vulnerability/mitigation checker for Linux & BSD
3.85k stars 476 forks source link

Android support #415

Closed mmiszczyk closed 2 years ago

mmiszczyk commented 2 years ago

This adds support for Android:

speed47 commented 2 years ago

Hello, and thanks for your PR!

I would like to avoid having a second copy of the script with only the shebang being different, however your point around the temporary directory for Android is completely valid and we should be able to autodetect that smoothly.

speed47 commented 2 years ago

I no longer have a rooted Android around to test that, would you be able to test the "android" branch, which should autodetect the proper TMP directory under Android?

The shebang is still #!/bin/sh, but you should be able to run it with /system/bin/sh spectre-meltdown-checker.sh

speed47 commented 2 years ago

Merged #415, as I'd like to release a new version. Please open an issue if it doesn't wok as expected!