Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ && getAliasing().mayAlias(rightBase, source.getAccessPath().getPlainValue())) {
// We must remove one layer of array typing, e.g., A[][] -> A[]
Type targetType = source.getAccessPath().getBaseType();
assert targetType instanceof ArrayType;
targetType = ((ArrayType) targetType).getElementType();
if (targetType instanceof ArrayType)
targetType = ((ArrayType) targetType).getElementType();
else
targetType = null;

// Create the new taint abstraction
ArrayTaintType arrayTaintType = source.getAccessPath().getArrayTaintType();
Expand Down