Package-level declarations
Types
Functions
Link copied to clipboard
fun CokoBackend.cpgCallFqn(fqn: String, predicate: CallExpression.() -> Boolean = { true }): List<CallExpression>
Link copied to clipboard
fun CokoBackend.cpgConstructor(classFqn: String, predicate: CallExpression.() -> Boolean = { true }): List<ConstructExpression>
Link copied to clipboard
Link copied to clipboard
Get all Nodes that are associated with this Op and fulfill the Signatures of the Definitions.
Link copied to clipboard
Returns a list of MemberExpressions with the matching something.
Link copied to clipboard
Checks if the CallExpression matches the signature specified with parameters. Returns false if there are nulls in parameters,
Link copied to clipboard
Returns a list of ValueDeclarations with the matching name.
Link copied to clipboard
Returns a list of ValueDeclarations with the matching fqn.
Link copied to clipboard
To generate more interesting Findings we want to find key points where the forbidden operation influences other code. For this we traverse the DFG for a fixed amount of steps and search for all usages of declared values.