SymbolicLinkDetector

public class SymbolicLinkDetector : JailbreakDetector

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

  • Initializes SymbolicLinkDetector instance

    Declaration

    Swift

    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

    public func analyze() -> Double

    Return Value

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