Opaque predicate

Uses your system voice; voice and rate in settings.

Snapshot

≈ 2 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

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.

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"

Text derived from https://en.wikipedia.org/w/index.php?oldid=1113305740 under CC BY-SA 4.0; modifications have been made.

Provenance

snapshot enwiki-001113305740 · captured 1664564028.0 · version history

Cite this page as: encyclopegia.org, “Opaque predicate”, snapshot enwiki-001113305740. https://encyclopegia.org/a/opaque-predicate

Sources cited in this revision

Extracted from the cited revision's reference blocks; absent citations are not invented.