mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Java: Added CompiledAccExpression sink for MVEL injections
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
package org.mvel2;
|
||||
|
||||
public class ParserContext {}
|
||||
@@ -0,0 +1,10 @@
|
||||
package org.mvel2.compiler;
|
||||
|
||||
import org.mvel2.ParserContext;
|
||||
import org.mvel2.integration.VariableResolverFactory;
|
||||
|
||||
public class CompiledAccExpression implements ExecutableStatement {
|
||||
public CompiledAccExpression(char[] expression, Class ingressType, ParserContext context) {}
|
||||
public Object getValue(Object staticContext, VariableResolverFactory factory) { return null; }
|
||||
public Object getValue(Object ctx, Object elCtx, VariableResolverFactory variableFactory) { return null; }
|
||||
}
|
||||
Reference in New Issue
Block a user