mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
2.8 KiB
2.8 KiB
0.2.1
New Features
- A number of new classes and methods related to the upcoming Kotlin
support have been added. These are not yet stable, as Kotlin support
is still under development.
File::isSourceFileFile::isJavaSourceFileFile::isKotlinSourceFileMember::getKotlinTypeElement::isCompilerGeneratedExpr::getKotlinTypeLambdaExpr::isKotlinFunctionNCallable::getReturnKotlinTypeCallable::getParameterKotlinTypeMethod::isLocalMethod::getKotlinNameField::getKotlinTypeModifiable::isSealedKotlinModifiable::isInternalVariable::getKotlinTypeLocalVariableDecl::getKotlinTypeParameter::getKotlinTypeParameter::isExtensionParameterCompilationclassDiagnosticclassKtInitializerAssignExprclassValueEQExprclassValueNEExprclassValueOrReferenceEqualsExprclassValueOrReferenceNotEqualsExprclassReferenceEqualityTestclassCastingExprclassSafeCastExprclassImplicitCastExprclassImplicitNotNullExprclassImplicitCoercionToUnitExprclassUnsafeCoerceExprclassPropertyRefExprclassNotInstanceOfExprclassExtensionReceiverAccessclassWhenExprclassWhenBranchclassClassExprclassStmtExprclassStringTemplateExprclassNotNullExprclassTypeNullPointerExceptionclassKtCommentclassKtCommentSectionclassKotlinTypeclassKotlinNullableTypeclassKotlinNotnullTypeclassKotlinTypeAliasclassPropertyclassDelegatedPropertyclassExtensionMethodclassKtInitializerNodeclassKtLoopStmtclassKtBreakContinueStmtclassKtBreakStmtclassKtContinueStmtclassClassObjectclassCompanionObjectclassLiveLiteralclassLiveLiteralMethodclassCastConversionContextrenamed toCastingConversionContext
- The QL class
ValueDiscardingExprhas been added, representing expressions for which the value of the expression as a whole is discarded.
Minor Analysis Improvements
- Added models for the libraries OkHttp and Retrofit.
- Add taint models for the following
Filemethods:File::getAbsoluteFileFile::getCanonicalFileFile::getAbsolutePathFile::getCanonicalPathAdded a flow step fortoStringcalls on taintedandroid.text.Editableobjects. Added a data flow step for tainted Android intents that are sent to other activities and accessed there viagetIntent().
- Added modeling of MyBatis (
org.apache.ibatis) Providers, resulting in additional sinks for the queriesjava/ognl-injection,java/sql-injection,java/sql-injection-localandjava/concatenated-sql-query.