Example usage for org.objectweb.asm Opcodes interface-usage

List of usage examples for org.objectweb.asm Opcodes interface-usage

Introduction

In this page you can find the example usage for org.objectweb.asm Opcodes interface-usage.

Usage

From source file scouter.agent.asm.CapReturnASM.java

public class CapReturnASM implements IASM, Opcodes {
    private List<HookingSet> target = HookingSet.getHookingMethodSet(Configure.getInstance().hook_return_patterns);

    public ClassVisitor transform(ClassVisitor cv, String className, ClassDesc classDesc) {
        if (Configure.getInstance()._hook_cap_enabled == false) {
            return cv;

From source file scouter.agent.asm.CapThisASM.java

public class CapThisASM implements IASM, Opcodes {
    private List<HookingSet> target = HookingSet
            .getHookingMethodSet(Configure.getInstance().hook_constructor_patterns);

    public ClassVisitor transform(ClassVisitor cv, String className, ClassDesc classDesc) {
        if (Configure.getInstance()._hook_cap_enabled == false) {

From source file scouter.agent.asm.HttpServiceASM.java

public class HttpServiceASM implements IASM, Opcodes {
    public HashSet<String> servlets = new HashSet<String>();

    public HttpServiceASM() {
        servlets.add("javax/servlet/http/HttpServlet");
        servlets.add("weblogic/servlet/jsp/JspBase");

From source file scouter.agent.asm.InitialContextASM.java

public class InitialContextASM implements IASM, Opcodes {
    private Set<String> target = HookingSet.getClassSet(Configure.getInstance().hook_context_classes);

    public ClassVisitor transform(ClassVisitor cv, String className, ClassDesc classDesc) {
        if (Configure.getInstance()._hook_dbconn_enabled == false) {
            return cv;

From source file scouter.agent.asm.jdbc.PsClearParametersMV.java

public class PsClearParametersMV extends LocalVariablesSorter implements Opcodes {
    private final static String TRACESQL = TraceSQL.class.getName().replace('.', '/');
    private final static String METHOD = "clear";
    private static final String SIGNATURE = "(Ljava/lang/Object;Lscouter/agent/trace/SqlParameter;)V";

    // /////////////////////////////////////////////////////////////////

From source file scouter.agent.asm.jdbc.PsCloseMV.java

public class PsCloseMV extends MethodVisitor implements Opcodes {
    private static final String TRACESQL = TraceSQL.class.getName().replace('.', '/');
    private static final String METHOD = "stmtClose";
    private static final String SIGNATURE = "(Ljava/lang/Object;)V";

    public PsCloseMV(MethodVisitor mv) {

From source file scouter.agent.asm.jdbc.PsExecuteMV.java

public class PsExecuteMV extends LocalVariablesSorter implements Opcodes {
    private static Set<String> target = new HashSet<String>();
    static {
        target.add("execute");
        target.add("executeQuery");
        target.add("executeUpdate");

From source file scouter.agent.asm.jdbc.PsInitMV.java

/**
 * BCI for a constructor of PreparedStatement
 * @author @author Paul S.J. Kim(sjkim@whatap.io)
 * @author Gun Lee (gunlee01@gmail.com)
 */
public class PsInitMV extends LocalVariablesSorter implements Opcodes {

From source file scouter.agent.asm.jdbc.PsSetMV.java

public class PsSetMV extends LocalVariablesSorter implements Opcodes {

    private String owner;
    private String name;
    private Type[] args;
    private static Map<String, String> target = new HashMap<String, String>();

From source file scouter.agent.asm.jdbc.PsUpdateCountMV.java

/**
 * (smt/psmt).getUpdateCount
 *
 * @author Gun Lee (gunlee01@gmail.com)
 */
public class PsUpdateCountMV extends MethodVisitor implements Opcodes {