SymbolicLinkDetector

@MainActor
public class SymbolicLinkDetector : TamperDetectorProtocol

SymbolicLinkDetector is a TamperDetector class, and is used as one of default TamperDetector’s detectors to determine whether the device is Jailbroken or not

  • Declaration

    Swift

    @MainActor
    public init()
  • Analyzes whether certain directories are symbolic links or not

    Note

    As part of Jailbreak process, it is commonly known that Jailbreak process will overwrite the partition, and changes some directories as symbolic link as original file/directory should remain as it was

    Declaration

    Swift

    @MainActor
    public func analyze() -> Double

    Return Value

    returns 1.0 when certain directories are found as symbolic links; otherwise returns 0.0