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 rubah.tools.ConversionClassGenerator.java

public class ConversionClassGenerator implements Opcodes {
    private static final int CLASS_VERSION = Opcodes.V1_5;
    private static final int CLASS_ACCESS = ACC_PUBLIC;
    private static final int FIELD_ACCESS = ACC_PUBLIC;
    private static final int FIELD_STATIC_ACCESS = ACC_STATIC | ACC_PUBLIC;
    private static final int CONVERT_METHOD_ACCESS = ACC_PUBLIC | ACC_ABSTRACT;

From source file rubah.tools.MethodTracer.java

public class MethodTracer extends ReadWriteTool implements Opcodes {
    public static final String TOOL_NAME = "tracer";
    private String className;
    private String methodName;

    @Override

From source file rubah.tools.RubahPostProcessor.java

public class RubahPostProcessor extends ReadWriteTool implements Opcodes {
    public static final String TOOL_NAME = "postprocessor";
    private static final String TO_PACKAGE = Rubah.class.getPackage().getName();
    private static final String WHERE_PACKAGE = Rubah.class.getPackage().getName();
    private static final Set<String> FROM_PACKAGES;

From source file rubah.tools.UpdatableJarAnalyzer.java

public class UpdatableJarAnalyzer extends ReadWriteTool implements Opcodes {
    private static class ArgParser {
        @Parameter(converter = FileConverter.class, description = "Input jar file", names = { "-i",
                "--in-jar" }, required = true)
        private File injar;

From source file rubah.tools.UpdateClassGenerator.java

public class UpdateClassGenerator implements Opcodes {

    public static final String V0_PREFFIX = "v0";
    public static final String V1_PREFFIX = "v1";
    public static final String METHOD_NAME = "convert";
    public static final String METHOD_NAME_STATIC = "convertStatic";

From source file rubah.update.change.detector.FieldTypeChangeDetector.java

public class FieldTypeChangeDetector implements ChangeDetector<Field>, Opcodes {

    public void detectChanges(Field f0, Field f1, ChangeSet changeSet) {

        boolean changed = false;

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

public class AddFieldASM implements IASM, Opcodes {
    public final Map<String, String> target = HookingSet.getClassFieldSet(Configure.getInstance().hook_add_fields);

    public AddFieldASM() {
    }

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

public class ApicallASM implements IASM, Opcodes {
    private List<HookingSet> target = HookingSet.getHookingMethodSet(Configure.getInstance().hook_apicall_patterns);
    private Map<String, HookingSet> reserved = new HashMap<String, HookingSet>();

    public static class ApiCallTargetRegister {
        public static final List<Pair<String, String>> klassMethod = new ArrayList<Pair<String, String>>();

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

public class ApicallInfoASM implements IASM, Opcodes {
    private List<HookingSet> target = HookingSet
            .getHookingMethodSet(Configure.getInstance().hook_apicall_info_patterns);
    private Map<String, HookingSet> reserved = new HashMap<String, HookingSet>();

    public ApicallInfoASM() {

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

/**
 * @author Gun Lee (gunlee01@gmail.com) on 2018. 3. 20.
 */
public class ApiCallResponseObjectASM implements IASM, Opcodes {
    private Configure conf = Configure.getInstance();