Home
last modified time | relevance | path

Searched refs:BadBytecode (Results 1 – 25 of 68) sorted by relevance

123

/aosp_15_r20/external/javassist/src/main/javassist/bytecode/analysis/
H A DExecutor.java21 import javassist.bytecode.BadBytecode;
67 …odInfo method, int pos, CodeIterator iter, Frame frame, Subroutine subroutine) throws BadBytecode { in execute()
246 … throw new BadBytecode("POP can not be used with a category 2 value, pos = " + pos); in execute()
255 … throw new BadBytecode("DUP can not be used with a category 2 value, pos = " + pos); in execute()
264 … throw new BadBytecode("DUP can not be used with a category 2 value, pos = " + pos); in execute()
300 … throw new BadBytecode("Swap can not be used with category 2 values, pos = " + pos); in execute()
591 … throw new BadBytecode("Array length passed a non-array [pos = " + pos + "]: " + array); in execute()
635 private void evalArrayLoad(Type expectedComponent, Frame frame) throws BadBytecode { in evalArrayLoad()
654 throw new BadBytecode("Not an array! [pos = " + lastPos + "]: " + component); in evalArrayLoad()
663 private void evalArrayStore(Type expectedComponent, Frame frame) throws BadBytecode { in evalArrayStore()
[all …]
H A DAnalyzer.java23 import javassist.bytecode.BadBytecode;
120 public Frame[] analyze(CtClass clazz, MethodInfo method) throws BadBytecode { in analyze()
162 public Frame[] analyze(CtMethod method) throws BadBytecode { in analyze()
167 IntQueue queue, Executor executor) throws BadBytecode { in analyzeNextEntry()
178 throw new BadBytecode(e.getMessage() + "[pos = " + pos + "]", e); in analyzeNextEntry()
257 private int getNext(CodeIterator iter, int of, int restore) throws BadBytecode { in getNext()
267 private int lookAhead(CodeIterator iter, int pos) throws BadBytecode { in lookAhead()
269 throw new BadBytecode("Execution falls off end! [pos = " + pos + "]"); in lookAhead()
305 … void mergeJsr(IntQueue queue, Frame frame, Subroutine sub, int pos, int next) throws BadBytecode { in mergeJsr()
307 throw new BadBytecode("No subroutine at jsr target! [pos = " + pos + "]"); in mergeJsr()
[all …]
H A DSubroutineScanner.java23 import javassist.bytecode.BadBytecode;
42 public Subroutine[] scan(MethodInfo method) throws BadBytecode { in scan()
63 private void scan(int pos, CodeIterator iter, Subroutine sub) throws BadBytecode { in scan()
82 private boolean scanOp(int pos, CodeIterator iter, Subroutine sub) throws BadBytecode { in scanOp()
126 private void scanLookupSwitch(int pos, CodeIterator iter, Subroutine sub) throws BadBytecode { in scanLookupSwitch()
140 private void scanTableSwitch(int pos, CodeIterator iter, Subroutine sub) throws BadBytecode { in scanTableSwitch()
H A DFramePrinter.java24 import javassist.bytecode.BadBytecode;
89 } catch (BadBytecode e) { in print()
100 } catch (BadBytecode e) { in print()
/aosp_15_r20/external/javassist/src/main/javassist/bytecode/
H A DCodeIterator.java203 public int next() throws BadBytecode { in next()
239 public int skipConstructor() throws BadBytecode { in skipConstructor()
261 public int skipSuperConstructor() throws BadBytecode { in skipSuperConstructor()
283 public int skipThisConstructor() throws BadBytecode { in skipThisConstructor()
289 private int skipSuperConstructor0(int skipThis) throws BadBytecode { in skipSuperConstructor0()
338 throws BadBytecode in insert()
364 public void insert(int pos, byte[] code) throws BadBytecode { in insert()
388 public int insertAt(int pos, byte[] code) throws BadBytecode { in insertAt()
411 throws BadBytecode in insertEx()
437 public void insertEx(int pos, byte[] code) throws BadBytecode { in insertEx()
[all …]
H A DStackMapTable.java74 catch (BadBytecode e) { in copy()
183 public void parse() throws BadBytecode { in parse()
199 int stackMapFrames(int pos, int nth) throws BadBytecode { in stackMapFrames()
208 throw new BadBytecode("bad frame_type in StackMapTable"); in stackMapFrames()
237 public void sameFrame(int pos, int offsetDelta) throws BadBytecode {} in sameFrame()
239 private int sameLocals(int pos, int type) throws BadBytecode { in sameLocals()
274 throws BadBytecode {} in sameLocals()
283 public void chopFrame(int pos, int offsetDelta, int k) throws BadBytecode {} in chopFrame()
285 private int appendFrame(int pos, int type) throws BadBytecode { in appendFrame()
319 throws BadBytecode {} in appendFrame()
[all …]
H A DCodeAnalyzer.java32 throws BadBytecode in computeMaxStack()
73 throws BadBytecode in visitBytecode()
86 throw new BadBytecode("stack underflow at " + index); in visitBytecode()
101 throws BadBytecode in processBranch()
141 throw new BadBytecode( in processBranch()
152 throw new BadBytecode( in processBranch()
192 throws BadBytecode in checkTarget()
195 throw new BadBytecode("bad branch offset at " + opIndex); in checkTarget()
201 throw new BadBytecode("verification error (" + stackDepth + in checkTarget()
213 throws BadBytecode in visitInst()
H A DSignatureAttribute.java168 int indexOf(String s, int ch) throws BadBytecode { in indexOf()
938 public static ClassSignature toClassSignature(String sig) throws BadBytecode { in toClassSignature()
958 public static MethodSignature toMethodSignature(String sig) throws BadBytecode { in toMethodSignature()
977 public static ObjectType toFieldSignature(String sig) throws BadBytecode { in toFieldSignature()
994 public static Type toTypeSignature(String sig) throws BadBytecode { in toTypeSignature()
1004 throws BadBytecode, IndexOutOfBoundsException in parseSig()
1020 throws BadBytecode in parseMethodSig()
1052 throws BadBytecode in parseTypeParams()
1080 throws BadBytecode in parseObjectType()
1100 throws BadBytecode in parseClassType()
[all …]
H A DCodeAttribute.java79 throws BadBytecode in CodeAttribute()
140 catch (BadBytecode e) { in copy()
250 public int computeMaxStack() throws BadBytecode { in computeMaxStack()
355 throws BadBytecode in copyCode()
368 throws BadBytecode in copyCode()
453 throws BadBytecode in doit()
491 public void insertLocalVar(int where, int size) throws BadBytecode { in insertLocalVar()
506 private static void shiftIndex(CodeIterator ci, int lessThan, int delta) throws BadBytecode { in shiftIndex()
562 throws BadBytecode in shiftIndex8()
582 throws BadBytecode in shiftIndex0()
H A DBadBytecode.java22 public class BadBytecode extends Exception { class
26 public BadBytecode(int opcode) { in BadBytecode() method in BadBytecode
30 public BadBytecode(String msg) { in BadBytecode() method in BadBytecode
34 public BadBytecode(String msg, Throwable cause) { in BadBytecode() method in BadBytecode
38 public BadBytecode(MethodInfo minfo, Throwable cause) { in BadBytecode() method in BadBytecode
H A DMethodInfo.java132 Map<String,String> classnameMap) throws BadBytecode in MethodInfo()
437 throws BadBytecode in rebuildStackMapIf6()
455 public void rebuildStackMap(ClassPool pool) throws BadBytecode { in rebuildStackMap()
472 public void rebuildStackMapForME(ClassPool pool) throws BadBytecode { in rebuildStackMapForME()
523 public void setSuperclass(String superclass) throws BadBytecode { in setSuperclass()
/aosp_15_r20/external/javassist/src/main/javassist/bytecode/stackmap/
H A DMapMaker.java24 import javassist.bytecode.BadBytecode;
97 throws BadBytecode in make()
118 catch (BadBytecode bb) { in make()
119 throw new BadBytecode(minfo, bb); in make()
131 throws BadBytecode in make2()
152 catch (BadBytecode bb) { in make2()
153 throw new BadBytecode(minfo, bb); in make2()
170 throws BadBytecode in make()
177 throw new BadBytecode("failed to resolve types", e); in make()
184 throws BadBytecode in make()
[all …]
H A DTracer.java20 import javassist.bytecode.BadBytecode;
69 protected int doOpcode(int pos, byte[] code) throws BadBytecode { in doOpcode()
81 throw new BadBytecode("inconsistent stack height " + e.getMessage(), e); in doOpcode()
85 protected void visitBranch(int pos, byte[] code, int offset) throws BadBytecode {} in visitBranch()
86 protected void visitGoto(int pos, byte[] code, int offset) throws BadBytecode {} in visitGoto()
87 protected void visitReturn(int pos, byte[] code) throws BadBytecode {} in visitReturn()
88 protected void visitThrow(int pos, byte[] code) throws BadBytecode {} in visitThrow()
98 int offsetPos, int defaultOffset) throws BadBytecode {} in visitTableSwitch()
108 int pairsPos, int defaultOffset) throws BadBytecode {} in visitLookupSwitch()
114 protected void visitJSR(int pos, byte[] code) throws BadBytecode { in visitJSR()
[all …]
H A DTypeData.java28 import javassist.bytecode.BadBytecode;
56 private static void setType(TypeData td, String className, ClassPool cp) throws BadBytecode { in setType()
83 public abstract void setType(String s, ClassPool cp) throws BadBytecode; in setType()
167 public void setType(String s, ClassPool cp) throws BadBytecode { in setType()
168 throw new BadBytecode("conflict: " + name + " and " + s); in setType()
292 public void setType(String typeName, ClassPool cp) throws BadBytecode { in setType()
587 public static void aastore(TypeData array, TypeData value, ClassPool cp) throws BadBytecode { in aastore()
602 throw new BadBytecode("bad AASTORE: " + array); in aastore()
615 static TypeData make(TypeData element) throws BadBytecode { in make()
624 throw new BadBytecode("bad AASTORE: " + element); in make()
[all …]
H A DTypedBlock.java20 import javassist.bytecode.BadBytecode;
41 throws BadBytecode in makeBlocks()
90 throws BadBytecode in setStackMap()
141 throws BadBytecode in initFirstBlock()
144 throw new BadBytecode("no method descriptor: " + methodDesc); in initFirstBlock()
162 throw new BadBytecode("bad method descriptor: " in initFirstBlock()
172 throws BadBytecode in descToTag()
201 throw new BadBytecode("bad method descriptor: " + desc); in descToTag()
H A DBasicBlock.java25 import javassist.bytecode.BadBytecode;
39 static class JsrBytecode extends BadBytecode {
59 throws BadBytecode in find()
65 throw new BadBytecode("no basic block at " + pos); in find()
170 public BasicBlock[] make(MethodInfo minfo) throws BadBytecode {
181 throws BadBytecode
227 throws BadBytecode
317 …protected void makeJsr(Map<Integer,Mark> marks, int pos, int target, int size) throws BadBytecode { in makeJsr()
395 throws BadBytecode in addCatchers()
/aosp_15_r20/external/javassist/src/main/javassist/convert/
H A DTransformAccessArrayField.java22 import javassist.bytecode.BadBytecode;
96 ConstPool cp) throws BadBytecode { in transform()
101 private Frame getFrame(int pos) throws BadBytecode { in getFrame()
105 private void initFrames(CtClass clazz, MethodInfo minfo) throws BadBytecode { in initFrames()
119 private String getTopType(int pos) throws BadBytecode { in getTopType()
129 int opcode, String signature) throws BadBytecode { in replace()
227 private String getLoadReplacementSignature(int opcode) throws BadBytecode { in getLoadReplacementSignature()
247 throw new BadBytecode(opcode); in getLoadReplacementSignature()
250 private String getStoreReplacementSignature(int opcode) throws BadBytecode { in getStoreReplacementSignature()
270 throw new BadBytecode(opcode); in getStoreReplacementSignature()
H A DTransformCall.java24 import javassist.bytecode.BadBytecode;
72 ConstPool cp) throws BadBytecode in transform()
114 int typedesc, ConstPool cp) throws BadBytecode in match()
/aosp_15_r20/external/guice/extensions/struts2/lib/
HDjavassist.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/ByteArrayClassPath.class ByteArrayClassPath ...
/aosp_15_r20/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/lib/
HDjavassist-3.19.0-GA.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/aosp_15_r20/external/javassist/src/main/javassist/
H A DCtConstructor.java19 import javassist.bytecode.BadBytecode;
181 catch (BadBytecode e) {} in isEmpty()
203 catch (BadBytecode e) { in callsSuper()
286 catch (BadBytecode e) { in insertBeforeBody()
301 catch (BadBytecode e) { in getStartPosOfBody()
374 catch (BadBytecode e) { in toMethod()
411 catch (BadBytecode e) { in removeConsCall()
H A DCtBehavior.java22 import javassist.bytecode.BadBytecode;
97 catch (BadBytecode e) { in copy()
475 } catch (BadBytecode e) { in setBody()
646 catch (BadBytecode e) { in insertParameter()
666 catch (BadBytecode e) { in addParameter()
674 throws BadBytecode in addParameter2()
808 catch (BadBytecode e) { in insertBefore()
911 catch (BadBytecode e) { in insertAfter()
946 throws BadBytecode in insertGoto()
1141 } catch (BadBytecode e) { in addCatch()
[all …]
/aosp_15_r20/external/javassist/src/test/test/javassist/bytecode/analysis/
H A DAnalyzerTest.java11 import javassist.bytecode.BadBytecode;
79 private static int findOpcode(MethodInfo info, int opcode) throws BadBytecode { in findOpcode()
93 private static void verifyReturn(CtMethod method, String expected) throws BadBytecode { in verifyReturn()
113 throws BadBytecode { in verifyArrayLoad()
163 } catch (BadBytecode e) { in testInvalidCode()
175 } catch (BadBytecode e) { in testCodeFalloff()
/aosp_15_r20/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
H A DJavassistMethodDeclaration.java34 import javassist.bytecode.BadBytecode;
110 } catch (NotFoundException | BadBytecode e) { in getReturnType()
139 } catch (NotFoundException | BadBytecode e) { in getParam()
165 } catch (BadBytecode badBytecode) { in getTypeParameters()
/aosp_15_r20/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/
H A DJavassistConstructorDeclaration.java23 import javassist.bytecode.BadBytecode;
100 } catch (BadBytecode badBytecode) { in getParam()
113 } catch (BadBytecode badBytecode) { in getTypeParameters()

123