File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
src/main/java/pascal/taie/analysis/pta/toolkit/zipper Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 66- Pointer analysis
77 - Add special handling for zero-length arrays to enhance PTA precision.
88
9+ ### Fixes
10+ - Fix NPE in Zipper-e pre-analysis.
11+
912## [ 0.5.1] - 2024-12-31
1013
1114### New Features
Original file line number Diff line number Diff line change @@ -186,7 +186,10 @@ private Set<JMethod> getPrecisionCriticalMethods(PrecisionFlowGraph pfg) {
186186 if (isExpress ) {
187187 int accPts = 0 ;
188188 for (JMethod m : pcms ) {
189- accPts += methodPts .get (m ).intValue ();
189+ MutableInt mPtsSize = methodPts .get (m );
190+ if (mPtsSize != null ) {
191+ accPts += mPtsSize .intValue ();
192+ }
190193 }
191194 if (accPts > pcmThreshold ) {
192195 // clear precision-critical method group whose accumulative
You can’t perform that action at this time.
0 commit comments