HomeSort by relevance Sort by last modified time
    Searched refs:BadBytecode (Results 1 - 25 of 44) sorted by null

1 2

  /external/javassist/src/main/javassist/bytecode/
BadBytecode.java 21 public class BadBytecode extends Exception {
22 public BadBytecode(int opcode) {
26 public BadBytecode(String msg) {
30 public BadBytecode(String msg, Throwable cause) {
CodeAnalyzer.java 31 throws BadBytecode
72 throws BadBytecode
85 throw new BadBytecode("stack underflow at " + index);
100 throws BadBytecode
140 throw new BadBytecode(
151 throw new BadBytecode(
191 throws BadBytecode
194 throw new BadBytecode("bad branch offset at " + opIndex);
200 throw new BadBytecode("verification error (" + stackDepth +
212 throws BadBytecode
    [all...]
CodeIterator.java 182 public int next() throws BadBytecode {
218 public int skipConstructor() throws BadBytecode {
240 public int skipSuperConstructor() throws BadBytecode {
262 public int skipThisConstructor() throws BadBytecode {
268 private int skipSuperConstructor0(int skipThis) throws BadBytecode {
317 throws BadBytecode
343 public void insert(int pos, byte[] code) throws BadBytecode {
367 public int insertAt(int pos, byte[] code) throws BadBytecode {
390 throws BadBytecode
416 public void insertEx(int pos, byte[] code) throws BadBytecode {
    [all...]
StackMapTable.java 58 * @exception RuntimeCopyException if a <code>BadBytecode</code>
71 catch (BadBytecode e) {
176 public void parse() throws BadBytecode {
192 int stackMapFrames(int pos, int nth) throws BadBytecode {
201 throw new BadBytecode("bad frame_type in StackMapTable");
230 public void sameFrame(int pos, int offsetDelta) throws BadBytecode {}
232 private int sameLocals(int pos, int type) throws BadBytecode {
266 throws BadBytecode {}
275 public void chopFrame(int pos, int offsetDelta, int k) throws BadBytecode {}
277 private int appendFrame(int pos, int type) throws BadBytecode {
    [all...]
SignatureAttribute.java 161 int indexOf(String s, int ch) throws BadBytecode {
610 * @throws BadBytecode thrown when a syntactical error is found.
613 public static ClassSignature toClassSignature(String sig) throws BadBytecode {
626 * @throws BadBytecode thrown when a syntactical error is found.
629 public static MethodSignature toMethodSignature(String sig) throws BadBytecode {
643 * @throws BadBytecode thrown when a syntactical error is found.
646 public static ObjectType toFieldSignature(String sig) throws BadBytecode {
656 throws BadBytecode, IndexOutOfBoundsException
672 throws BadBytecode
704 throws BadBytecode
    [all...]
CodeAttribute.java 78 throws BadBytecode
124 * @exception RuntimeCopyException if a <code>BadBytecode</code>
137 catch (BadBytecode e) {
234 * @throws BadBytecode if this method fails in computing.
237 public int computeMaxStack() throws BadBytecode {
342 throws BadBytecode
355 throws BadBytecode
434 throws BadBytecode
470 public void insertLocalVar(int where, int size) throws BadBytecode {
485 private static void shiftIndex(CodeIterator ci, int lessThan, int delta) throws BadBytecode {
    [all...]
MethodInfo.java 109 Map classnameMap) throws BadBytecode {
395 throws BadBytecode
413 public void rebuildStackMap(ClassPool pool) throws BadBytecode {
430 public void rebuildStackMapForME(ClassPool pool) throws BadBytecode {
481 public void setSuperclass(String superclass) throws BadBytecode {
500 throws BadBytecode {
  /external/javassist/src/main/javassist/bytecode/stackmap/
TypeData.java 23 import javassist.bytecode.BadBytecode;
42 static void setType(TypeData td, String className, ClassPool cp) throws BadBytecode {
44 throw new BadBytecode("unset variable");
68 public abstract String getName() throws BadBytecode;
69 protected abstract void setType(String s, ClassPool cp) throws BadBytecode;
70 public abstract void evalExpectedType(ClassPool cp) throws BadBytecode;
71 public abstract String getExpected() throws BadBytecode;
105 public void evalExpectedType(ClassPool cp) throws BadBytecode {}
107 public String getExpected() throws BadBytecode {
115 protected void setType(String s, ClassPool cp) throws BadBytecode {
    [all...]
TypedBlock.java 42 throws BadBytecode
99 throws BadBytecode
149 throws BadBytecode
152 throw new BadBytecode("no method descriptor: " + methodDesc);
170 throw new BadBytecode("bad method descriptor: "
180 throws BadBytecode
209 throw new BadBytecode("bad method descriptor: " + desc);
MapMaker.java 85 throws BadBytecode
106 throws BadBytecode
135 throws BadBytecode
154 private void fixParamTypes(TypedBlock first) throws BadBytecode {
171 throws BadBytecode
199 throws BadBytecode
246 throws BadBytecode
255 throws BadBytecode
270 throws BadBytecode
286 void evalExpected(TypedBlock target) throws BadBytecode {
    [all...]
Tracer.java 22 import javassist.bytecode.BadBytecode;
90 protected int doOpcode(int pos, byte[] code) throws BadBytecode {
105 throw new BadBytecode("inconsistent stack height " + e.getMessage());
109 protected void visitBranch(int pos, byte[] code, int offset) throws BadBytecode {}
110 protected void visitGoto(int pos, byte[] code, int offset) throws BadBytecode {}
111 protected void visitReturn(int pos, byte[] code) throws BadBytecode {}
112 protected void visitThrow(int pos, byte[] code) throws BadBytecode {}
122 int offsetPos, int defaultOffset) throws BadBytecode {}
132 int pairsPos, int defaultOffset) throws BadBytecode {}
138 protected void visitJSR(int pos, byte[] code) throws BadBytecode {
    [all...]
BasicBlock.java 42 throws BadBytecode
50 throw new BadBytecode("no basic block at " + pos);
153 public BasicBlock[] make(MethodInfo minfo) throws BadBytecode {
164 throws BadBytecode
210 throws BadBytecode
375 throws BadBytecode
Liveness.java 36 throws BadBytecode
209 throws BadBytecode
232 throws BadBytecode
341 private void doWIDE(CodeIterator ci, int pos) throws BadBytecode {
  /external/javassist/src/main/javassist/convert/
Transformer.java 20 import javassist.bytecode.BadBytecode;
51 ConstPool cp) throws CannotCompileException, BadBytecode;
TransformAccessArrayField.java 22 import javassist.bytecode.BadBytecode;
93 ConstPool cp) throws BadBytecode {
98 private Frame getFrame(int pos) throws BadBytecode {
102 private void initFrames(CtClass clazz, MethodInfo minfo) throws BadBytecode {
116 private String getTopType(int pos) throws BadBytecode {
126 int opcode, String signature) throws BadBytecode {
224 private String getLoadReplacementSignature(int opcode) throws BadBytecode {
244 throw new BadBytecode(opcode);
247 private String getStoreReplacementSignature(int opcode) throws BadBytecode {
267 throw new BadBytecode(opcode)
    [all...]
TransformAfter.java 30 protected int match2(int pos, CodeIterator iterator) throws BadBytecode {
TransformBefore.java 52 int typedesc, ConstPool cp) throws BadBytecode
69 protected int match2(int pos, CodeIterator iterator) throws BadBytecode {
TransformCall.java 66 ConstPool cp) throws BadBytecode
108 int typedesc, ConstPool cp) throws BadBytecode
TransformWriteField.java 30 ConstPool cp) throws BadBytecode
  /external/javassist/src/main/javassist/bytecode/analysis/
Executor.java 20 import javassist.bytecode.BadBytecode;
64 * @throws BadBytecode if the bytecode violates the jvm spec
66 public void execute(MethodInfo method, int pos, CodeIterator iter, Frame frame, Subroutine subroutine) throws BadBytecode {
245 throw new BadBytecode("POP can not be used with a category 2 value, pos = " + pos);
254 throw new BadBytecode("DUP can not be used with a category 2 value, pos = " + pos);
263 throw new BadBytecode("DUP can not be used with a category 2 value, pos = " + pos);
299 throw new BadBytecode("Swap can not be used with category 2 values, pos = " + pos);
589 throw new BadBytecode("Array length passed a non-array [pos = " + pos + "]: " + array);
633 private void evalArrayLoad(Type expectedComponent, Frame frame) throws BadBytecode {
652 throw new BadBytecode("Not an array! [pos = " + lastPos + "]: " + component)
    [all...]
SubroutineScanner.java 22 import javassist.bytecode.BadBytecode;
41 public Subroutine[] scan(MethodInfo method) throws BadBytecode {
62 private void scan(int pos, CodeIterator iter, Subroutine sub) throws BadBytecode {
81 private boolean scanOp(int pos, CodeIterator iter, Subroutine sub) throws BadBytecode {
125 private void scanLookupSwitch(int pos, CodeIterator iter, Subroutine sub) throws BadBytecode {
139 private void scanTableSwitch(int pos, CodeIterator iter, Subroutine sub) throws BadBytecode {
Analyzer.java 24 import javassist.bytecode.BadBytecode;
119 * @throws BadBytecode if the bytecode does not comply with the JVM specification
121 public Frame[] analyze(CtClass clazz, MethodInfo method) throws BadBytecode {
161 * @throws BadBytecode if the bytecode does not comply with the JVM specification
163 public Frame[] analyze(CtMethod method) throws BadBytecode {
168 IntQueue queue, Executor executor) throws BadBytecode {
179 throw new BadBytecode(e.getMessage() + "[pos = " + pos + "]", e);
258 private int getNext(CodeIterator iter, int of, int restore) throws BadBytecode {
268 private int lookAhead(CodeIterator iter, int pos) throws BadBytecode {
270 throw new BadBytecode("Execution falls off end! [pos = " + pos + "]")
    [all...]
FramePrinter.java 23 import javassist.bytecode.BadBytecode;
88 } catch (BadBytecode e) {
99 } catch (BadBytecode e) {
  /external/javassist/src/main/javassist/
CtConstructor.java 170 catch (BadBytecode e) {}
192 catch (BadBytecode e) {
274 catch (BadBytecode e) {
288 catch (BadBytecode e) {
361 catch (BadBytecode e) {
398 catch (BadBytecode e) {
  /external/javassist/src/test/test/javassist/bytecode/analysis/
AnalyzerTest.java 11 import javassist.bytecode.BadBytecode;
79 private static int findOpcode(MethodInfo info, int opcode) throws BadBytecode {
93 private static void verifyReturn(CtMethod method, String expected) throws BadBytecode {
113 throws BadBytecode {
163 } catch (BadBytecode e) {
167 fail("Invalid code should have triggered a BadBytecode exception");
175 } catch (BadBytecode e) {
179 fail("Code falloff should have triggered a BadBytecode exception");

Completed in 279 milliseconds

1 2