Class SSAtoXMLVisitor
java.lang.Object
org.scandroid.synthmethod.SSAtoXMLVisitor
- All Implemented Interfaces:
SSAInstruction.IVisitor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvisitArrayLength(SSAArrayLengthInstruction instruction) voidvisitArrayLoad(SSAArrayLoadInstruction instruction) Load from an array ref, at specified index, and store in def.voidvisitArrayStore(SSAArrayStoreInstruction instruction) <aastore ref="x" value="y" index="0" />voidvisitBinaryOp(SSABinaryOpInstruction instruction) voidvisitCheckCast(SSACheckCastInstruction instruction) voidvisitComparison(SSAComparisonInstruction instruction) voidvisitConditionalBranch(SSAConditionalBranchInstruction instruction) voidvisitConversion(SSAConversionInstruction instruction) voidvisitGet(SSAGetInstruction instruction) eg:<getfield class="Ljava/lang/Thread" field="runnable" fieldType="Ljava/lang/Runnable" def="x" ref="arg0" />voidvisitGetCaughtException(SSAGetCaughtExceptionInstruction instruction) voidvisitGoto(SSAGotoInstruction instruction) voidvisitInstanceof(SSAInstanceofInstruction instruction) voidvisitInvoke(SSAInvokeInstruction instruction) <call type="virtual" name="put" class="Ljava/util/Hashtable" descriptor="(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;" arg0="x" arg1="key" arg2="value" def="local_def" />voidvisitLoadMetadata(SSALoadMetadataInstruction instruction) voidvisitMonitor(SSAMonitorInstruction instruction) voidvisitNew(SSANewInstruction instruction) voidvisitPhi(SSAPhiInstruction instruction) voidvisitPi(SSAPiInstruction instruction) voidvisitPut(SSAPutInstruction instruction) <putstatic class="Ljava/lang/System" field="security" fieldType="Ljava/lang/SecurityManager" value="secure" />voidvisitReturn(SSAReturnInstruction instruction) voidvisitSwitch(SSASwitchInstruction instruction) voidvisitThrow(SSAThrowInstruction instruction) Serialiaze a throw to XML.voidvisitUnaryOp(SSAUnaryOpInstruction instruction)
-
Constructor Details
-
SSAtoXMLVisitor
-
-
Method Details
-
visitGoto
- Specified by:
visitGotoin interfaceSSAInstruction.IVisitor
-
visitArrayLoad
Load from an array ref, at specified index, and store in def.<aaload ref="x" index="0" def="y" />- Specified by:
visitArrayLoadin interfaceSSAInstruction.IVisitor
-
visitArrayStore
<aastore ref="x" value="y" index="0" />- Specified by:
visitArrayStorein interfaceSSAInstruction.IVisitor
-
visitBinaryOp
- Specified by:
visitBinaryOpin interfaceSSAInstruction.IVisitor
-
visitUnaryOp
- Specified by:
visitUnaryOpin interfaceSSAInstruction.IVisitor
-
visitConversion
- Specified by:
visitConversionin interfaceSSAInstruction.IVisitor
-
visitComparison
- Specified by:
visitComparisonin interfaceSSAInstruction.IVisitor
-
visitConditionalBranch
- Specified by:
visitConditionalBranchin interfaceSSAInstruction.IVisitor
-
visitSwitch
- Specified by:
visitSwitchin interfaceSSAInstruction.IVisitor
-
visitReturn
- Specified by:
visitReturnin interfaceSSAInstruction.IVisitor
-
visitGet
eg:<getfield class="Ljava/lang/Thread" field="runnable" fieldType="Ljava/lang/Runnable" def="x" ref="arg0" />I think the get statics look like this:
1007g 9.1g 12m S 237.9 0.9 4:27.32 java
<getstatic class="Ljava/lang/Thread" field="runnable" fieldType="Ljava/lang/Runnable" def="x" />- Specified by:
visitGetin interfaceSSAInstruction.IVisitor
-
visitPut
<putstatic class="Ljava/lang/System" field="security" fieldType="Ljava/lang/SecurityManager" value="secure" /><putfield class="Ljava/lang/Thread" field="runnable" fieldType="Ljava/lang/Runnable" ref="arg0" value="arg0" />- Specified by:
visitPutin interfaceSSAInstruction.IVisitor
-
visitInvoke
<call type="virtual" name="put" class="Ljava/util/Hashtable" descriptor="(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;" arg0="x" arg1="key" arg2="value" def="local_def" />- Specified by:
visitInvokein interfaceSSAInstruction.IVisitor
-
visitNew
- Specified by:
visitNewin interfaceSSAInstruction.IVisitor
-
visitArrayLength
- Specified by:
visitArrayLengthin interfaceSSAInstruction.IVisitor
-
visitThrow
Serialiaze a throw to XML.Something like this?
<throw value="val_localDef" />- Specified by:
visitThrowin interfaceSSAInstruction.IVisitor
-
visitMonitor
- Specified by:
visitMonitorin interfaceSSAInstruction.IVisitor
-
visitCheckCast
- Specified by:
visitCheckCastin interfaceSSAInstruction.IVisitor
-
visitInstanceof
- Specified by:
visitInstanceofin interfaceSSAInstruction.IVisitor
-
visitPhi
- Specified by:
visitPhiin interfaceSSAInstruction.IVisitor
-
visitPi
- Specified by:
visitPiin interfaceSSAInstruction.IVisitor
-
visitGetCaughtException
- Specified by:
visitGetCaughtExceptionin interfaceSSAInstruction.IVisitor
-
visitLoadMetadata
- Specified by:
visitLoadMetadatain interfaceSSAInstruction.IVisitor
-
getInstSummary
-