analyze

open suspend override fun analyze(context: Context): Double

Determines if the device has been tampered with by checking filesystem mount permissions.

This method executes the mount command and analyzes each mount point to determine if any critical system directories are mounted with write permissions. The analysis accounts for different output formats between Android SDK versions.

For Android SDK 23 (Marshmallow), the mount format is: device mountpoint fstype options1 options2 (options3)

For Android SDK <= 23, the format is: device mountpoint fstype options

Return

A confidence score where: - 1.0 indicates critical system directories are mounted as writable - 0.0 indicates all critical directories are properly read-only

Parameters

context

The Android context (not used in this implementation but required by interface)