Skip to content

Fault Localization via Efficient Probabilistic Modeling of Program Semantics

https://doi.org/10.1145/3510003.3510073

1 Motivation & Innovation

1.1 Motivation

SBFL: Spectrum-based Fault Localization

No Semantic

\[Tarantula = \frac{\frac{e_f}{e_f + n_f}}{\frac{e_p}{e_p + n_p} + \frac{e_f}{e_f + n_f}}\]

img-20221124234054

img-20221124234104

Conditions to cause failure

img-20221124234232

MBFL & Angelic debugging

Low Effectiveness

MBFL: Mutation-based fault localization

img-20221124234314

Angelic Debugging

  • Symbolic analysis
  • The result of an expression can be modified to reverse the results of failing test while maintaining the results of the passing test 👉 high suspicious score

1.2 Innovation - SmartFL

img-20221124234641

Challenges:

  • How to model the effect from the control statements?
    • Static analysis + dynamic analysis
  • Scalability
    • Reducing the size of traces
    • Selecting test cases

2 Methodology