quark.evaluator package¶
Submodules¶
quark.evaluator.pyeval module¶
-
class
quark.evaluator.pyeval.PyEval(apkinfo)¶ Bases:
object-
AGET_KIND(**kwargs)¶
-
AGET_WIDE_KIND(**kwargs)¶
-
APUT_KIND(**kwargs)¶
-
APUT_WIDE_KIND(**kwargs)¶
-
BINOP_KIND(**kwargs)¶
-
CAST_TYPE(**kwargs)¶
-
CONST(**kwargs)¶
-
CONST_CLASS(**kwargs)¶
-
CONST_FOUR(**kwargs)¶
-
CONST_HIGHSIXTEEN(**kwargs)¶
-
CONST_SIXTEEN(**kwargs)¶
-
CONST_STRING(**kwargs)¶
-
CONST_WIDE(**kwargs)¶
-
CONST_WIDE_HIGHSIXTEEN(**kwargs)¶
-
CONST_WIDE_SIXTEEN(**kwargs)¶
-
CONST_WIDE_THIRTY_TWO(**kwargs)¶
-
FILLED_NEW_ARRAY_KIND(**kwargs)¶
-
INVOKE_CUSTOM(instruction)¶
-
INVOKE_DIRECT(**kwargs)¶
-
INVOKE_INTERFACE(**kwargs)¶
-
INVOKE_POLYMORPHIC(instruction)¶
-
INVOKE_STATIC(**kwargs)¶
-
INVOKE_SUPER(**kwargs)¶
-
INVOKE_VIRTUAL(**kwargs)¶
-
INVOKE_VIRTUAL_RANGE(**kwargs)¶
-
MOVE_KIND(**kwargs)¶
-
MOVE_RESULT(**kwargs)¶
-
MOVE_RESULT_OBJECT(**kwargs)¶
-
MOVE_RESULT_WIDE(**kwargs)¶
-
NEG_AND_NOT_KIND(**kwargs)¶
-
NEW_ARRAY(**kwargs)¶
-
NEW_INSTANCE(**kwargs)¶
-
static
get_method_pattern(class_name: str, method_name: str, descriptor: str) → str¶ - Convert a method into a string representation to record method calls
- during the tainted analysis.
Parameters: - class_name – the class name of the method
- method_name – the name of the method
- descriptor – the descriptor of the method
Returns: a string representation of the method
-
show_table()¶
-
-
quark.evaluator.pyeval.logger(func)¶