public class AsmMethodSource extends Object implements MethodSource
| Modifier and Type | Field and Description |
|---|---|
protected Map<Integer,Local> |
locals |
protected int |
nextLocal |
| Constructor and Description |
|---|
AsmMethodSource(int maxLocals,
org.objectweb.asm.tree.InsnList insns,
List<org.objectweb.asm.tree.LocalVariableNode> localVars,
List<org.objectweb.asm.tree.TryCatchBlockNode> tryCatchBlocks,
String module) |
| Modifier and Type | Method and Description |
|---|---|
Body |
getBody(SootMethod m,
String phaseName)
Returns a filled-out body for the given SootMethod.
|
protected String |
getLocalName(int idx) |
protected Local |
newStackLocal() |
protected void |
tryCorrectingLocalNames(Jimple jimp,
JimpleBody jb)
When preserving original names, try to use the local variable table for guidance.
|
protected String getLocalName(int idx)
protected Local newStackLocal()
public Body getBody(SootMethod m, String phaseName)
MethodSourcegetBody in interface MethodSourceprotected void tryCorrectingLocalNames(Jimple jimp, JimpleBody jb)
Copyright © 2024 Soot OSS. All rights reserved.