作者: Zhaogui Xu , Xiangyu Zhang , Lin Chen , Kexin Pei , Baowen Xu
关键词:
摘要: We propose a novel type inference technique for Python programs. Type is difficult programs due to their heavy dependence on external APIs and the dynamic language features. observe that source code often contains lot of hints such as attribute accesses variable names. However, are not reliable. hence use probabilistic allow beliefs individual be propagated, aggregated, eventually converge probabilities types. Our results show our substantially outperforms state-of-the-art engine based abstract interpretation.