{
  "id": "enwiki-001113305740",
  "slug": "opaque-predicate",
  "title": "Opaque predicate",
  "qid": "",
  "lead": "In computer programming, an opaque predicate is a predicate, an expression that evaluates to either \"true\" or \"false\", for which the outcome is known by the programmer a priori, but which, for a variety of reasons, still needs to be evaluated at run time. Opaque predicates have been used as watermarks, as they will be identifiable in a program's executable. They can also be used to prevent an overzealous optimizer from optimizing away a portion of a program. Another use is in obfuscating the control or dataflow of a program to make reverse engineering harder.",
  "body": "In computer programming, an opaque predicate is a predicate, an expression that evaluates to either \"true\" or \"false\", for which the outcome is known by the programmer a priori, but which, for a variety of reasons, still needs to be evaluated at run time. Opaque predicates have been used as watermarks, as they will be identifiable in a program's executable. They can also be used to prevent an overzealous optimizer from optimizing away a portion of a program. Another use is in obfuscating the control or dataflow of a program to make reverse engineering harder. ==External links== \"A Method for Watermarking Java Programs via Opaque Predicates\"",
  "categories": [
    "20589555",
    "23468805",
    "27179392"
  ],
  "license": "CC BY-SA 4.0",
  "source_uri": "https://en.wikipedia.org/w/index.php?oldid=1113305740",
  "content_hash": "",
  "created_at": null,
  "updated_at": 1664564028.0,
  "claims": [],
  "contradictions": [],
  "confidence": 0.6,
  "csl": {
    "id": "enwiki-001113305740",
    "type": "webpage",
    "title": "Opaque predicate",
    "author": [
      {
        "family": "Anticloud FZ LLE",
        "literal": "Anticloud FZ LLE"
      }
    ],
    "container-title": "encyclopegia.org",
    "publisher": "Anticloud FZ LLE",
    "publisher-place": "Dubai, United Arab Emirates",
    "URL": "https://encyclopegia.org/a/opaque-predicate",
    "issued": {
      "date-parts": [
        [
          2026,
          11,
          18
        ]
      ]
    },
    "accessed": {
      "date-parts": [
        [
          2026,
          11,
          18
        ]
      ]
    },
    "license": "CC BY-SA 4.0",
    "DOI": "eo1:enwiki-001113305740",
    "isBasedOn": "https://en.wikipedia.org/w/index.php?oldid=1113305740",
    "note": "Immutable snapshot enwiki-001113305740"
  }
}