Package com.googlecode.d2j.node
Class DexCodeNode
java.lang.Object
com.googlecode.d2j.visitors.DexCodeVisitor
com.googlecode.d2j.node.DexCodeNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionintFields inherited from class com.googlecode.d2j.visitors.DexCodeVisitor
visitor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprotected voidadd(DexStmtNode stmt) voidvisitConstStmt(Op op, int ra, Object value) voidvisitFieldStmt(Op op, int a, int b, Field field) OP_IGETX a,b field OP_IPUTX a,b field OP_SGETX a field OP_SPUTX a fieldvoidvisitFillArrayDataStmt(Op op, int ra, Object array) voidvisitFilledNewArrayStmt(Op op, int[] args, String type) OP_FILLED_NEW_ARRAYvoidvisitJumpStmt(Op op, int a, int b, DexLabel label) OP_IF_EQ OP_IF_NE OP_IF_LT OP_IF_GE OP_IF_GT OP_IF_LE OP_GOTO OP_IF_EQZ OP_IF_NEZ OP_IF_LTZ OP_IF_GEZ OP_IF_GTZ OP_IF_LEZvoidvisitLabel(DexLabel label) voidvisitMethodStmt(Op op, int[] args, CallSite callSite) OP_INVOKE_CUSTOMvoidvisitMethodStmt(Op op, int[] args, Method method) OP_INVOKE_VIRTUAL OP_INVOKE_SUPER OP_INVOKE_DIRECT OP_INVOKE_STATIC OP_INVOKE_INTERFACEvoidvisitMethodStmt(Op op, int[] args, Method bsm, Proto proto) OP_INVOKE_POLYMORPHICvoidvisitPackedSwitchStmt(Op op, int aA, int firstCase, DexLabel[] labels) voidvisitRegister(int total) voidvisitSparseSwitchStmt(Op op, int ra, int[] cases, DexLabel[] labels) voidvisitStmt0R(Op op) voidvisitStmt1R(Op op, int reg) OP_RETURN_X OP_THROW_X OP_MONITOR_ENTER OP_MONITOR_EXIT OP_MOVE_RESULT_X OP_MOVE_EXCEPTION_XvoidvisitStmt2R(Op op, int a, int b) OP_MOVE* a = a X b OP_ARRAY_LENGTH a=Xb X_TO_YvoidvisitStmt2R1N(Op op, int distReg, int srcReg, int content) OP_X_INT_LIT8voidvisitStmt3R(Op op, int a, int b, int c) OP_ADD OP_SUB OP_MUL OP_DIV OP_REM OP_AND OP_OR OP_XOR OP_SHL OP_SHR OP_USHR OP_CMPL OP_CMPG OP_CMP OP_AGETX OP_APUTXvoidvisitTryCatch(DexLabel start, DexLabel end, DexLabel[] handler, String[] type) voidvisitTypeStmt(Op op, int a, int b, String type) OP_INSTANCE_OF OP_NEW_ARRAY OP_CHECK_CAST OP_NEW_INSTANCEMethods inherited from class com.googlecode.d2j.visitors.DexCodeVisitor
visitEnd
-
Field Details
-
stmts
-
tryStmts
-
debugNode
-
totalRegister
public int totalRegister
-
-
Constructor Details
-
DexCodeNode
public DexCodeNode() -
DexCodeNode
-
-
Method Details
-
accept
-
accept
-
add
-
visitConstStmt
- Overrides:
visitConstStmtin classDexCodeVisitor- Parameters:
op- CONST*ra- registervalue- Integer,Long,DexType,MethodHandle,Proto- See Also:
-
visitFillArrayDataStmt
- Overrides:
visitFillArrayDataStmtin classDexCodeVisitor
-
visitFieldStmt
Description copied from class:DexCodeVisitorOP_IGETX a,b field OP_IPUTX a,b field OP_SGETX a field OP_SPUTX a field
- Overrides:
visitFieldStmtin classDexCodeVisitor
-
visitFilledNewArrayStmt
Description copied from class:DexCodeVisitorOP_FILLED_NEW_ARRAY
- Overrides:
visitFilledNewArrayStmtin classDexCodeVisitor
-
visitJumpStmt
Description copied from class:DexCodeVisitorOP_IF_EQ OP_IF_NE OP_IF_LT OP_IF_GE OP_IF_GT OP_IF_LE OP_GOTO OP_IF_EQZ OP_IF_NEZ OP_IF_LTZ OP_IF_GEZ OP_IF_GTZ OP_IF_LEZ
- Overrides:
visitJumpStmtin classDexCodeVisitor
-
visitLabel
- Overrides:
visitLabelin classDexCodeVisitor
-
visitMethodStmt
Description copied from class:DexCodeVisitorOP_INVOKE_VIRTUAL OP_INVOKE_SUPER OP_INVOKE_DIRECT OP_INVOKE_STATIC OP_INVOKE_INTERFACE
- Overrides:
visitMethodStmtin classDexCodeVisitor
-
visitMethodStmt
Description copied from class:DexCodeVisitorOP_INVOKE_CUSTOM
- Overrides:
visitMethodStmtin classDexCodeVisitor
-
visitMethodStmt
Description copied from class:DexCodeVisitorOP_INVOKE_POLYMORPHIC
- Overrides:
visitMethodStmtin classDexCodeVisitor
-
visitPackedSwitchStmt
- Overrides:
visitPackedSwitchStmtin classDexCodeVisitor
-
visitRegister
public void visitRegister(int total) - Overrides:
visitRegisterin classDexCodeVisitor
-
visitSparseSwitchStmt
- Overrides:
visitSparseSwitchStmtin classDexCodeVisitor
-
visitStmt0R
Description copied from class:DexCodeVisitor- Overrides:
visitStmt0Rin classDexCodeVisitor
-
visitStmt1R
Description copied from class:DexCodeVisitorOP_RETURN_X OP_THROW_X OP_MONITOR_ENTER OP_MONITOR_EXIT OP_MOVE_RESULT_X OP_MOVE_EXCEPTION_X
- Overrides:
visitStmt1Rin classDexCodeVisitor
-
visitStmt2R
Description copied from class:DexCodeVisitorOP_MOVE* a = a X b OP_ARRAY_LENGTH a=Xb X_TO_Y
- Overrides:
visitStmt2Rin classDexCodeVisitor
-
visitStmt2R1N
Description copied from class:DexCodeVisitorOP_X_INT_LIT8
- Overrides:
visitStmt2R1Nin classDexCodeVisitor
-
visitStmt3R
Description copied from class:DexCodeVisitorOP_ADD OP_SUB OP_MUL OP_DIV OP_REM OP_AND OP_OR OP_XOR OP_SHL OP_SHR OP_USHR OP_CMPL OP_CMPG OP_CMP OP_AGETX OP_APUTX
- Overrides:
visitStmt3Rin classDexCodeVisitor
-
visitTryCatch
- Overrides:
visitTryCatchin classDexCodeVisitor
-
visitTypeStmt
Description copied from class:DexCodeVisitorOP_INSTANCE_OF OP_NEW_ARRAY OP_CHECK_CAST OP_NEW_INSTANCE
- Overrides:
visitTypeStmtin classDexCodeVisitor
-
visitDebug
- Overrides:
visitDebugin classDexCodeVisitor
-