/aosp_15_r20/external/javassist/src/main/javassist/ |
H A D | CtField.java | 24 import javassist.bytecode.Bytecode; 858 abstract int compile(CtClass type, String name, Bytecode code, in compile() 864 Bytecode code, Javac drv) throws CannotCompileException; in compileIfStatic() 875 int compile(CtClass type, String name, Bytecode code, in compile() 882 code.addPutfield(Bytecode.THIS, name, Descriptor.of(type)); in compile() 891 int compileIfStatic(CtClass type, String name, Bytecode code, in compileIfStatic() 896 code.addPutstatic(Bytecode.THIS, name, Descriptor.of(type)); in compileIfStatic() 981 int compile(CtClass type, String name, Bytecode code, in compile() 989 code.addPutfield(Bytecode.THIS, name, Descriptor.of(type)); in compile() 1025 int compileIfStatic(CtClass type, String name, Bytecode code, in compileIfStatic() [all …]
|
H A D | CtNewWrappedMethod.java | 24 import javassist.bytecode.Bytecode; 51 Bytecode code = makeBody(declaring, declaring.getClassFile2(), body, in wrapped() 59 static Bytecode makeBody(CtClass clazz, ClassFile classfile, in makeBody() 67 Bytecode code = new Bytecode(classfile.getConstPool(), 0, 0); in makeBody() 82 Bytecode code) in makeBody0() 120 code.addInvokestatic(Bytecode.THIS, bodyname, desc); in makeBody0() 122 code.addInvokespecial(Bytecode.THIS, bodyname, desc); in makeBody0() 180 static int compileParameterList(Bytecode code, in compileParameterList() 188 private static void compileReturn(Bytecode code, CtClass type) { in compileReturn() 202 code.addOpcode(Bytecode.ARETURN); in compileReturn()
|
H A D | CtNewMethod.java | 21 import javassist.bytecode.Bytecode; 237 Bytecode code = new Bytecode(cp, 2, 1); in getter() 242 code.addGetfield(Bytecode.THIS, fieldName, fieldType); in getter() 245 code.addGetstatic(Bytecode.THIS, fieldName, fieldType); in getter() 280 Bytecode code = new Bytecode(cp, 3, 3); in setter() 286 code.addPutfield(Bytecode.THIS, fieldName, fieldType); in setter() 290 code.addPutstatic(Bytecode.THIS, fieldName, fieldType); in setter() 353 Bytecode code = new Bytecode(cp, 0, 0); in delegator0()
|
H A D | CtNewWrappedConstructor.java | 20 import javassist.bytecode.Bytecode; 40 Bytecode code = makeBody(declaring, declaring.getClassFile2(), in wrapped() 52 protected static Bytecode makeBody(CtClass declaring, ClassFile classfile, in makeBody() 62 Bytecode code = new Bytecode(classfile.getConstPool(), 0, 0); in makeBody() 93 code.add(Bytecode.RETURN); in makeBody()
|
H A D | CtMethod.java | 21 import javassist.bytecode.Bytecode; 302 Bytecode code = CtNewWrappedMethod.makeBody(clazz, in setWrappedBody() 358 int compile(Bytecode code) throws CannotCompileException { in compile() 398 int compile(Bytecode code) throws CannotCompileException { in compile() 422 int compile(Bytecode code) throws CannotCompileException { in compile() 446 int compile(Bytecode code) throws CannotCompileException { in compile()
|
H A D | CtNewConstructor.java | 20 import javassist.bytecode.Bytecode; 143 Bytecode code = new Bytecode(cp, 1, 1); in defaultConstructor() 153 code.add(Bytecode.RETURN); in defaultConstructor()
|
H A D | CtBehavior.java | 23 import javassist.bytecode.Bytecode; 466 Bytecode b = jv.compileBody(this, src); in setBody() 787 Bytecode b = jv.getBytecode(); in insertBefore() 851 Bytecode b = new Bytecode(pool, 0, retAddr + 1); in insertAfter() 916 private int insertAfterAdvice(Bytecode code, Javac jv, String src, in insertAfterAdvice() 977 private int insertAfterHandler(boolean asFinally, Bytecode b, in insertAfterHandler() 1110 Bytecode b = new Bytecode(cp, ca.getMaxStack(), ca.getMaxLocals()); in addCatch() 1225 Bytecode b = jv.getBytecode(); in insertAt()
|
/aosp_15_r20/external/javassist/src/main/javassist/compiler/ |
H A D | AccessorMaker.java | 27 import javassist.bytecode.Bytecode; 75 Bytecode code = new Bytecode(cp); in getConstructor() 135 Bytecode code = new Bytecode(cp); in getMethodAccessor() 187 Bytecode code = new Bytecode(cp); in getFieldGetter() 189 code.addGetstatic(Bytecode.THIS, fieldName, fieldType); in getFieldGetter() 193 code.addGetfield(Bytecode.THIS, fieldName, fieldType); in getFieldGetter() 238 Bytecode code = new Bytecode(cp); in getFieldSetter() 242 code.addPutstatic(Bytecode.THIS, fieldName, fieldType); in getFieldSetter() 248 code.addPutfield(Bytecode.THIS, fieldName, fieldType); in getFieldSetter()
|
H A D | Javac.java | 30 import javassist.bytecode.Bytecode; 48 private Bytecode bytecode; 61 this(new Bytecode(thisClass.getClassFile2().getConstPool(), 0, 0), in Javac() 73 public Javac(Bytecode b, CtClass thisClass) { in Javac() 82 public Bytecode getBytecode() { return bytecode; } in getBytecode() 196 public Bytecode compileBody(CtBehavior method, String src) in compileBody() 238 private static void makeDefaultBody(Bytecode b, CtClass type) { in makeDefaultBody() 446 public void doit(JvstCodeGen gen, Bytecode b, ASTList args) in recordProceed() 492 public void doit(JvstCodeGen gen, Bytecode b, ASTList args) in recordStaticProceed() 538 public void doit(JvstCodeGen gen, Bytecode b, ASTList args) in recordSpecialProceed()
|
H A D | JvstCodeGen.java | 23 import javassist.bytecode.Bytecode; 58 public JvstCodeGen(Bytecode b, CtClass cc, ClassPool cp) { in JvstCodeGen() 158 protected void atAssignParamList(CtClass[] params, Bytecode code) in atAssignParamList() 619 public static int compileParameterList(Bytecode code, in compileParameterList() 631 code.addOpcode(Bytecode.DUP); // dup in compileParameterList() 637 code.addOpcode(Bytecode.DUP); // dup in compileParameterList() 650 code.addOpcode(Bytecode.AASTORE); // aastore in compileParameterList() 656 protected void compileUnwrapValue(CtClass type, Bytecode code) in compileUnwrapValue()
|
/aosp_15_r20/art/tools/jvmti-agents/titrace/ |
H A D | instruction_decoder.cc | 31 Bytecode::Opcode op = static_cast<Bytecode::Opcode>(opcode); in GetName() 32 return Bytecode::ToString(op); in GetName() 40 class Bytecode { class in titrace::ClassInstructionDecoder 252 static const char* ToString(Bytecode::Opcode op) { in ToString() 474 Bytecode::Opcode op = static_cast<Bytecode::Opcode>(opcode); in GetName() 475 return Bytecode::ToString(op); in GetName() 484 class Bytecode { class in titrace::DexInstructionDecoder 493 static_assert(static_cast<uint32_t>(Bytecode::Opcode::NOP) == 0, ""); 494 static_assert(static_cast<uint32_t>(Bytecode::Opcode::MOVE) == 1, ""); 496 static const char* ToString(Bytecode::Opcode op) { in ToString()
|
/aosp_15_r20/tools/dexter/slicer/ |
H A D | instrumentation.cc | 29 lir::Bytecode* out = nullptr; 30 bool Visit(lir::Bytecode* bytecode) { in Visit() 36 void BoxValue(lir::Bytecode* bytecode, in BoxValue() 86 auto boxing_invoke = code_ir->Alloc<lir::Bytecode>(); in BoxValue() 92 auto move_result = code_ir->Alloc<lir::Bytecode>(); in BoxValue() 106 lir::Bytecode* bytecode = nullptr; in Apply() 160 auto hook_invoke = code_ir->Alloc<lir::Bytecode>(); in Apply() 196 auto move = code_ir->Alloc<lir::Bytecode>(); in GenerateShiftParamsCode() 223 bool EntryHook::InjectArrayParamsHook(lir::CodeIr* code_ir, lir::Bytecode* bytecode) { in InjectArrayParamsHook() 254 auto const_size_op = code_ir->Alloc<lir::Bytecode>(); in InjectArrayParamsHook() [all …]
|
/aosp_15_r20/external/javassist/src/main/javassist/util/proxy/ |
H A D | ProxyFactory.java | 42 import javassist.bytecode.Bytecode; 1032 Bytecode code = new Bytecode(cp, 0, 2); in addClassInitializer() 1055 code.addOpcode(Bytecode.RETURN); in addClassInitializer() 1063 private static void callFind2Methods(Bytecode code, String superMethod, String thisMethod, in callFind2Methods() 1088 Bytecode code = new Bytecode(cp, 2, 2); in addSetter() 1092 code.addOpcode(Bytecode.RETURN); in addSetter() 1103 Bytecode code = new Bytecode(cp, 1, 1); in addGetter() 1106 code.addOpcode(Bytecode.ARETURN); in addGetter() 1321 Bytecode code = new Bytecode(cp, 0, 0); in makeConstructor() 1365 Bytecode code = new Bytecode(cp, 0, 0); in makeDelegator() [all …]
|
/aosp_15_r20/external/javassist/src/test/test/javassist/bytecode/analysis/ |
H A D | AnalyzerTest.java | 12 import javassist.bytecode.Bytecode; 142 private static void addJump(Bytecode code, int opcode, int pos) { in addJump() 202 Bytecode code = new Bytecode(info.getConstPool(), 1, 2); in generateDeadCode() 222 Bytecode code = new Bytecode(info.getConstPool(), 1, 2); in generateInvalidCode() 239 Bytecode code = new Bytecode(info.getConstPool(), 1, 2); in generateCodeFalloff() 254 Bytecode code = new Bytecode(info.getConstPool(), 1, 2); in generateJsrMerge() 278 Bytecode code = new Bytecode(info.getConstPool(), 1, 2); in generateJsrMerge2()
|
H A D | ScannerTest.java | 11 import javassist.bytecode.Bytecode; 111 Bytecode code = new Bytecode(info.getConstPool(), 2, 9); in generate() 180 private static void addJump(Bytecode code, int opcode, int pos) { in addJump()
|
/aosp_15_r20/external/javassist/src/main/javassist/convert/ |
H A D | TransformBefore.java | 23 import javassist.bytecode.Bytecode; 92 Bytecode save = new Bytecode(cp, 0, 0); in makeCode() 93 Bytecode load = new Bytecode(cp, 0, 0); in makeCode() 105 private void makeCode2(Bytecode save, Bytecode load, in makeCode2()
|
/aosp_15_r20/tools/dexter/dexter/ |
H A D | experimental.cc | 69 auto bytecode = dynamic_cast<lir::Bytecode*>(instr); in StressWrapInvoke() 108 auto new_call = code_ir.Alloc<lir::Bytecode>(); in StressWrapInvoke() 174 auto call = code_ir.Alloc<lir::Bytecode>(); in StressEntryHook() 181 auto bytecode = dynamic_cast<lir::Bytecode*>(instr); in StressEntryHook() 229 auto bytecode = dynamic_cast<lir::Bytecode*>(instr); in StressExitHook() 267 auto call = code_ir.Alloc<lir::Bytecode>(); in StressExitHook() 281 auto move_result = code_ir.Alloc<lir::Bytecode>(); in StressExitHook() 406 trace_point = dynamic_cast<lir::Bytecode*>(instr); in CodeCoverage() 414 auto opcode = static_cast<lir::Bytecode*>(trace_point)->opcode; in CodeCoverage() 422 auto load_block_id = code_ir.Alloc<lir::Bytecode>(); in CodeCoverage() [all …]
|
/aosp_15_r20/external/javassist/src/test/javassist/bytecode/ |
H A D | BytecodeTest.java | 44 Bytecode code = new Bytecode(null); in testByteVector() 59 code = new Bytecode(null); in testByteVector() 88 Bytecode bc = new Bytecode(cp); in testClone() 91 Bytecode bc2 = (Bytecode)bc.clone(); in testClone() 105 Bytecode code = new Bytecode(cc.getClassFile().getConstPool(), 2, 300); in test2byteLocalVar() 150 Bytecode b = new Bytecode(null, 0, 0); in testBytecode() 182 Bytecode b = new Bytecode(null, 0, 0); in testBytecode2() 189 b = new Bytecode(null, 0, 0); in testBytecode2() 788 Bytecode code = new Bytecode(cp, 0, 1); in testInvokeDynamic()
|
/aosp_15_r20/external/rust/android-crates-io/crates/rustix/ |
D | SECURITY.md | 3 Building secure foundations for software development is at the core of what we do in the Bytecode A… 7 …ity issue in any website, service, or software owned or operated by the Bytecode Alliance, we enco… 11 To submit a vulnerability report to the Bytecode Alliance, please contact us at [security@bytecodea… 15 The Bytecode Alliance supports safe harbor for security researchers who:
|
/aosp_15_r20/external/javassist/src/main/javassist/expr/ |
H A D | FieldAccess.java | 27 import javassist.bytecode.Bytecode; 220 Bytecode bytecode = jc.getBytecode(); in replace() 262 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit() 312 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
|
H A D | Expr.java | 31 import javassist.bytecode.Bytecode; 231 int regno, Bytecode bytecode) { in storeStack() 240 Bytecode bytecode) { in storeStack0() 285 protected void replace0(int pos, Bytecode bytecode, int size) in replace0()
|
H A D | Instanceof.java | 25 import javassist.bytecode.Bytecode; 141 Bytecode bytecode = jc.getBytecode(); in replace() 170 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
|
H A D | Cast.java | 25 import javassist.bytecode.Bytecode; 135 Bytecode bytecode = jc.getBytecode(); in replace() 166 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
|
H A D | NewExpr.java | 26 import javassist.bytecode.Bytecode; 222 Bytecode bytecode = jc.getBytecode(); in replace() 253 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
|
/aosp_15_r20/external/javassist/src/main/javassist/bytecode/stackmap/ |
H A D | MapMaker.java | 26 import javassist.bytecode.Bytecode; 361 code[pos] = Bytecode.NOP; in fixDeadcode() 363 code[pos + block.length - 1] = (byte)Bytecode.ATHROW; in fixDeadcode() 374 code[pos + k] = Bytecode.NOP; in fixDeadcode() 376 code[pos + len] = (byte)Bytecode.GOTO; in fixDeadcode()
|