Package sootup.callgraph.reflection
Class TamiflexReflectionModel
java.lang.Object
sootup.callgraph.reflection.AbstractReflectionModel
sootup.callgraph.reflection.TamiflexReflectionModel
- All Implemented Interfaces:
ReflectionModel
Resolves reflection according to dynamic traces recorded by TamiFlex. Log line format:
kind;target;callerClass.callerMethod;lineNumber;....
A log entry applies to the call sites of its kind in every same-named method of the caller
class whose line range contains lineNumber (all of them if the line is unknown, or if no
call site matches the line).
-
Nested Class Summary
Nested classes/interfaces inherited from class sootup.callgraph.reflection.AbstractReflectionModel
AbstractReflectionModel.MethodContext -
Field Summary
Fields inherited from class sootup.callgraph.reflection.AbstractReflectionModel
SIG_ARRAY_GET, SIG_ARRAY_NEW_INSTANCE, SIG_ARRAY_SET, SIG_CLASS_NEW_INSTANCE, SIG_CONSTRUCTOR_NEW_INSTANCE, SIG_FIELD_GET, SIG_FIELD_SET, SIG_FOR_NAME, SIG_FOR_NAME2, SIG_METHOD_INVOKE, view -
Constructor Summary
ConstructorsConstructorDescriptionTamiflexReflectionModel(@NonNull View view, @NonNull String logFile) TamiflexReflectionModel(@NonNull View view, @NonNull Path logFile) -
Method Summary
Methods inherited from class sootup.callgraph.reflection.AbstractReflectionModel
kindOf, resolveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface sootup.callgraph.reflection.ReflectionModel
isNone
-
Constructor Details
-
TamiflexReflectionModel
-
TamiflexReflectionModel
-
-
Method Details
-
dot2slashStyle
-
transformClassForName
protected List<Stmt> transformClassForName(AbstractReflectionModel.MethodContext ctx, InvokableStmt s) - Specified by:
transformClassForNamein classAbstractReflectionModel
-
transformClassNewInstance
protected List<Stmt> transformClassNewInstance(AbstractReflectionModel.MethodContext ctx, InvokableStmt s) - Specified by:
transformClassNewInstancein classAbstractReflectionModel
-
transformConstructorNewInstance
protected List<Stmt> transformConstructorNewInstance(AbstractReflectionModel.MethodContext ctx, InvokableStmt s) - Specified by:
transformConstructorNewInstancein classAbstractReflectionModel
-
transformMethodInvoke
protected List<Stmt> transformMethodInvoke(AbstractReflectionModel.MethodContext ctx, InvokableStmt s) - Specified by:
transformMethodInvokein classAbstractReflectionModel
-
transformFieldSet
- Specified by:
transformFieldSetin classAbstractReflectionModel
-
transformFieldGet
- Specified by:
transformFieldGetin classAbstractReflectionModel
-
transformArrayNewInstance
protected List<Stmt> transformArrayNewInstance(AbstractReflectionModel.MethodContext ctx, InvokableStmt s) - Specified by:
transformArrayNewInstancein classAbstractReflectionModel
-
transformArrayGet
- Specified by:
transformArrayGetin classAbstractReflectionModel
-
transformArraySet
- Specified by:
transformArraySetin classAbstractReflectionModel
-