public class SootToDexUtils
extends java.lang.Object
Constructor and Description |
---|
SootToDexUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
fitsSigned16(long literal) |
static boolean |
fitsSigned32(long literal) |
static boolean |
fitsSigned4(long literal) |
static boolean |
fitsSigned8(long literal) |
static java.lang.String |
getArrayTypeDescriptor(ArrayType type) |
static int |
getDexAccessFlags(SootMethod m) |
static java.lang.String |
getDexClassName(java.lang.String dottedClassName) |
static java.lang.String |
getDexTypeDescriptor(Type sootType) |
static int |
getDexWords(java.util.List<Type> sootTypes) |
static int |
getDexWords(Type sootType) |
static int |
getOutWordCount(java.util.Collection<Unit> units) |
static int |
getRealRegCount(java.util.List<Register> regs) |
static boolean |
isNormalMove(Opcode opc) |
static boolean |
isObject(java.lang.String typeDescriptor) |
static boolean |
isObject(Type sootType) |
static boolean |
isWide(java.lang.String typeDescriptor) |
static boolean |
isWide(Type sootType) |
static java.util.List<java.lang.String> |
splitSignature(java.lang.String sig)
Split the signature string using the same algorithm as in method 'Annotation
makeSignature(CstString signature)' in dx
(dx/src/com/android/dx/dex/file/AnnotationUtils.java)
Rules are: "" - scan to ';' or '<'.
|
public static java.lang.String getDexTypeDescriptor(Type sootType)
public static java.lang.String getDexClassName(java.lang.String dottedClassName)
public static int getDexAccessFlags(SootMethod m)
public static java.lang.String getArrayTypeDescriptor(ArrayType type)
public static boolean isObject(java.lang.String typeDescriptor)
public static boolean isObject(Type sootType)
public static boolean isWide(java.lang.String typeDescriptor)
public static boolean isWide(Type sootType)
public static int getRealRegCount(java.util.List<Register> regs)
public static int getDexWords(Type sootType)
public static int getDexWords(java.util.List<Type> sootTypes)
public static int getOutWordCount(java.util.Collection<Unit> units)
public static boolean fitsSigned4(long literal)
public static boolean fitsSigned8(long literal)
public static boolean fitsSigned16(long literal)
public static boolean fitsSigned32(long literal)
public static boolean isNormalMove(Opcode opc)
public static java.util.List<java.lang.String> splitSignature(java.lang.String sig)
sig
-