asthook.static.ast package
Submodules
asthook.static.ast.AstInRam module
asthook.static.ast.Taint module
Module contents
- class asthook.static.ast.Node(node, state)
Bases:
object
Decorator Node apply function when th node throwing
- class asthook.static.ast.Register
Bases:
object
Class to register Node decorator modules
- classmethod add_node(node, state, func)
- funcs = [{}]
- classmethod get_node(node, state, instance=0)
- instance = 0
- classmethod set_instance(instance)
- class asthook.static.ast.ast(base_path, app, args, instance=0, conn=None)
Bases:
object
Class allow to create the AST of the apk
- class BaseNode(elt, parent=None)
Bases:
object
- NameFormat(name)
- class NodeGraph
Bases:
object
- apply(selfp)
- getEgdeLabel()
- getName()
- graph(selfp)
- visit(selfp)
- check_import(paths, imports, depnodes, depnode)
- get_infos()
Get marker to interact between different nodes
- get_tmp()
- hook(selfc, state)
- init_graph(path)
- load()
Throwing the AST and apply Nodes modules
- set_infos(e)
Set marker to interact between different nodes
- asthook.static.ast.protect_node(fun)