analyze

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

Determines if the device has been tampered with using native file detection.

This method creates a comprehensive list of file paths by combining all system paths with all target filenames, then uses the native exists method to check for their presence. If the native library is not loaded, the method returns 0.0.

The detection process:

  1. Checks if the native library is loaded

  2. Generates all possible file paths to check

  3. Calls the native exists() method

  4. Returns confidence score based on findings

Return

A confidence score where: - 1.0 indicates tampering detected via native checks - 0.0 indicates no tampering detected or native library unavailable

Parameters

context

The Android context (inherited from interface but not used)