kb/data/en.wikipedia.org/wiki/Polyvariance-0.md

980 B
Raw Blame History

title chunk source category tags date_saved instance
Polyvariance 1/1 https://en.wikipedia.org/wiki/Polyvariance reference science, encyclopedia 2026-05-05T11:37:24.381372+00:00 kb-cron

In program analysis, a polyvariant or context-sensitive analysis (as opposed to a monovariant or context-insensitive analysis) analyzes each function multiple times—typically once at each call site—to improve the precision of the analysis. Polyvariance is common in data-flow and pointer analyses. Forms of polyvariance include:

Call-site sensitivity The Cartesian product algorithm Object sensitivity Type sensitivity The first two are more often used for dataflow analyses, the latter two are more frequently used for pointer analyses.

== References ==

=== Sources === Smaragdakis, Yannis; Balatsouras, George (2015). "Pointer Analysis" (PDF). Foundations and Trends in Programming Languages. 2 (1): 169. doi:10.1561/2500000014. Retrieved May 30, 2019.