arrow
Return

Generic Sensitivity: Generics-Guided Context Sensitivity for Pointer Analysis

delete2024-05-01
delete0
PRE
AI
H
Haofeng Li
T
Tian Tan
Y
Yue Li
J
Jie Lu
H
Haining Meng
L
Liqing Cao
Y
Yongheng Huang
L
Lian Li *
L
Lin Gao
P
Peng Di
Lin Liang cover
Lin Liang (Liang Lin)
C
ChenXi Cui
DOI:10.1109/TSE.2024.3377645delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Generic programming has found widespread application in object-oriented languages like Java. However, existing context-sensitive pointer analyses fail to leverage the benefits of generic programming. This paper introduces generic sensitivity, a new context customization scheme targeting generics. We design our context customization scheme in such a way that generic instantiation sites, i.e., locations instantiating generic classes/methods with concrete types, are always preserved as key context elements. This is realized by augmenting contexts with a type variable lookup map, which is efficiently generated in a context-sensitive manner throughout the analysis process. We have implemented various variants of generic-sensitive analysis in WALA and conducted extensive experiments to compare it with state-of-the-art approaches, including both traditional and selective context-sensitivity methods. The evaluation results demonstrate that generic sensitivity effectively enhances existing context-sensitivity approaches, striking a new balance between efficiency and precision. For instance, it enables a 1-object-sensitive analysis to achieve overall better precision compared to a 2-object-sensitive analysis, with an average speedup of 12.6 times (up to 62 times).
Keywords:
Sensitivity
Receivers
Java
Resource management
Codes
Software
Benchmark testing
Pointer analysis
generic programming
context sensitivity

Journal

IEEE Transactions on Software Engineering cover
IEEE Transactions on Software Engineering
IF:
5.6
Papers:
2.9K
Citations:
1.1W

Organization

A
alibaba group
Scholars:
1.1K
Papers: 789
Citations: 0
U
university of chinese academy of sciences, cas
Scholars:
4.1W
Papers: 3.8W
Citations: 75
Z
Zhongguancun Laboratory
Scholars:
274
Papers: 200
Citations: 0
I
institute of computing technology, cas
Scholars:
1.0K
Papers: 878
Citations: 1
C
chinese academy of sciences
Scholars:
56.7W
Papers: 45.0W
Citations: 704
researcher View more organizations
Cited Papers

Cited Papers

Study of the Tempcore Process for the Production of High Resistance Reinforcing Rods
err2007-02-01
err0
PREAI
errO. Niño; D. Martínez; C. Lizcano; Martha Patrizia Guerrero-Mata; Rafael Colás
errShare
errSave
An Elective Research Year in Orthopaedic Residency
err2006-08-01
err0
PREAI
errLee S Segal; Kevin P Black; Edwards P Schwentker; Vincent D Pellegrini
errShare
errSave
Bilateral Wilms Tumor in a Boy with Severe Hypospadias and Cryptorchidism Due to a Heterozygous Mutation in the WT1 Gene
err1999-02-01
err0
errOAAI
errBirgit Köhler; Valerie Schumacher; Ursula Schulte-Overberg; Wolfgang Biewald; Thomas Lennert; Dagmar l'Allemand; Brigitte Royer-Pokora; Annette Grüters
errShare
errSave
Altered Functional Connectivity within and between Brain Modules in Absence Epilepsy: A Resting-State Functional Magnetic Resonance Imaging Study
err2013-01-01
err0
errOAAI
errCui-Ping Xu; Shou-Wen Zhang; Tie Fang; Ma Manxiu; Qian Chencan; Chen Huafu; Hong-Wei Zhu; Yong-Jie Li; Liu Zuxiang
errShare
errSave
researcher View more