INNER CODE UNIT · Kotlin

StringMatch

ReVanced/revanced-patcher · patcher/src/commonMain/kotlin/app/revanced/patcher/Fingerprint.kt:462

    class StringMatch internal constructor(val string: String, val index: Int)
}

/**
 * A builder for [Fingerprint].
 *
 * @property accessFlags The exact access flags using values of [AccessFlags].
 * @property returnType The return type compared using [String.startsWith].
 * @property parameters The parameters of the method. Partial matches allowed and follow the same rules as [returnType].
 * @property opcodes An opcode pattern of the instructions. Wildcard or unknown opcodes can be specified by `null`.
 * @property strings A list of the strings compared each using [String.contains].
 * @property customBlock A custom condition for this fingerprint.
 * @property fuzzyPatternScanThreshold The threshold for fuzzy pattern scanning.
 *
 * @constructor Create a new [FingerprintBuilder].
 */
@Deprecated("Use the matching APIs instead.")
class FingerprintBuilder internal constructor(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…