< Retour au sommaire
Répétition de la soutenance de thèse de Maykel Mattar
Titre: Learning Heuristics for Abstract Interpretation-Based Static Program Analysis
le
Lieu: Salle 1073
Suivre en visio
Abstract
Abstract interpretation-based static analyzers prove, without executing the
program, that certain classes of runtime errors cannot occur. They compute sound
over-approximations of program behaviors, so if no alarm is raised for a given
error at a program point, that error cannot occur there. When this approximation
is too coarse, the analysis reports false alarms, which a person must examine
one by one. Abstract domains and precision-improving strategies remove false
alarms at a computational cost, and experts choose which to enable, and where,
by trial and error. This thesis investigates whether these decisions can be
learned from programs, with supervision and feedback from the analyzer itself.
The thesis makes four contributions. Loupe learns a loop-unrolling heuristic
with graph neural networks from differential-analysis labels. Heurix extends it
to several strategies and to program-level domain selection. A study then shows
that learned heuristics complement built-in heuristics and per-program
configuration optimizers. Finally, ADAPT selects domains and strategies jointly
as a sequence of decisions, learned by reinforcement learning with a reward
whose balance between precision and analysis time is set by the user. On
real-world C programs and two analyzers, the learned heuristics recover most of
the precision of exhaustive configurations at a fraction of their cost, without
compromising soundness.