Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias Import alias Import alias Import alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str ImportFrom alias Assign NameStore NameLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr While NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Break Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body With AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body With AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With AttributeLoad NameLoad attr body Return Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore NameLoad Assign NameStore NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Global identifier Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Assign NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults Num body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str handlers ExceptHandler type NameLoad body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Dict Str Str Str Str Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str Call AttributeLoad NameLoad attr Num Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Expr Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad NameLoad attr body If CompareNotEq AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Str Assign NameStore BinOpMod NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str Str SubscriptLoad Call AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body With NameLoad body AugAssignAdd AttributeStore NameLoad attr Num If CompareGt AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Num Expr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return SubscriptLoad ListComp NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Str SubscriptLoad NameLoad Index Str Str SubscriptLoad NameLoad Index Str Str Print BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad Assign NameStore NameLoad If CompareIn AttributeLoad SubscriptLoad NameLoad Index NameLoad attr ListLoad Str body With NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign AttributeStore NameLoad attr Str Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore BinOpAdd SubscriptLoad NameLoad Index Str Str Assign NameStore AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd NameLoad Str Str AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore BinOpMod NameLoad TupleLoad NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Call NameLoad NameLoad BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Str SubscriptLoad NameLoad Index Str Str SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str Str SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Num Assign NameStore BinOpMod NameLoad TupleLoad NameLoad BinOpAdd Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str BinOpMod Str NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Str Str Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpMult NameLoad Num With NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign AttributeStore NameLoad attr Str Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore BinOpMod NameLoad TupleLoad NameLoad BinOpAdd Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad Assign NameStore NameLoad Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Str SubscriptLoad NameLoad Index Str Str SubscriptLoad NameLoad Index Str Str Str Assign NameStore Call NameLoad Str handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str Str SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Num Assign NameStore BinOpMod NameLoad TupleLoad NameLoad BinOpAdd Str Call NameLoad NameLoad BinOpAdd BinOpAdd Str SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str BinOpMod Str NameLoad Assign NameStore NameLoad While BoolOpAnd CompareNotIn Str NameLoad CompareGt NameLoad Num body Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad keyword NameLoad AugAssignSub NameStore Num If CompareLtE NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str BinOpMod Str NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpMult NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Str SubscriptLoad NameLoad Index Str Str SubscriptLoad NameLoad Index Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad For NameStore Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod NameLoad TupleLoad NameLoad BinOpAdd Str Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad keyword NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr Str body For NameStore Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd NameLoad Str Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod NameLoad TupleLoad NameLoad BinOpAdd Str Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad keyword NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMult NameLoad Num Assign NameStore BinOpMod NameLoad TupleLoad NameLoad BinOpAdd Str Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str BinOpMod Str NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore BinOpMod NameLoad TupleLoad NameLoad BinOpAdd Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad keyword NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str Str Expr Call AttributeLoad NameLoad attr Num If CompareIsNot Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd NameLoad Str Str Call NameLoad Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd NameLoad Str Str AttributeLoad SubscriptLoad NameLoad Index NameLoad attr With NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign AttributeStore NameLoad attr Str Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Str SubscriptLoad NameLoad Index Str Str SubscriptLoad NameLoad Index Str Str Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Str SubscriptLoad NameLoad Index Str Str SubscriptLoad NameLoad Index Str Str Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Str SubscriptLoad NameLoad Index Str Str SubscriptLoad NameLoad Index Str Str Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad keyword NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Call NameLoad BinOpAdd Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad keyword NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str BinOpMod Str Call NameLoad BinOpSub NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad orelse If CompareIn AttributeLoad SubscriptLoad NameLoad Index NameLoad attr ListLoad Str body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd NameLoad Str AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str Assign NameStore NameLoad orelse If CompareIn AttributeLoad SubscriptLoad NameLoad Index NameLoad attr ListLoad Str body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd NameLoad Str AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore NameLoad With NameLoad body For NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str If CompareEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str NameLoad If BoolOpAnd CompareIn AttributeLoad SubscriptLoad NameLoad Index NameLoad attr ListLoad Str CompareEq Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad body If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str Call NameLoad NameLoad Str Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore NameLoad Break orelse If CompareIn AttributeLoad SubscriptLoad NameLoad Index NameLoad attr ListLoad Str body Assign NameStore Num Return NameLoad decorator_list FunctionDef arguments args defaults body Global identifier If UnaryOpNot NameLoad body Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Global identifier Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad With NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str Str Expr Call NameLoad If CompareNotIn NameLoad Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str Str orelse Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str Str Assign NameStore NameLoad If NameLoad body TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str Str Continue If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Str Str Call NameLoad NameLoad Str SubscriptLoad NameLoad Index Str Str SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Call NameLoad AugAssignAdd AttributeStore NameLoad attr Num If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str Str Expr Call AttributeLoad NameLoad attr Num orelse Continue orelse Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd NameLoad Str Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Global identifier Global identifier Global identifier Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad NameLoad Assign NameStore NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr keyword NameLoad keyword Call NameLoad NameLoad keyword TupleLoad NameLoad NameLoad NameLoad Str NameLoad NameLoad Call NameLoad BinOpAdd NameLoad BinOpMult NameLoad Num NameLoad NameLoad NameLoad NameLoad comprehension NameStore Call NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call NameLoad While NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad BinOpDiv Call NameLoad NameLoad Call NameLoad Call NameLoad NameLoad TryExcept body If CompareNotIn NameLoad Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str orelse If CompareIsNot Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Str Str orelse Expr Call AttributeLoad NameLoad attr Str If CompareIsNot Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Str Str orelse Expr Call AttributeLoad NameLoad attr Str If CompareIsNot Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Str Str orelse Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str Call NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Assign NameStore Num Assign NameStore Num For NameStore NameLoad body If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr AugAssignAdd NameStore Num orelse Expr Call AttributeLoad NameLoad attr Str AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str While NameLoad body Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Return NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr BinOpAdd Str SubscriptLoad NameLoad Index Str If BoolOpAnd NameLoad CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Str Break Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Return Num decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A os N/A sys N/A time N/A signal N/A struct N/A fcntl N/A socket N/A shutil N/A re N/A subprocess N/A beanstalkc N/A syslog N/A pprint N/A random N/A shlex N/A traceback pwd getpwnam grp getgrnam N/A multiprocessing lxml etree N/A msdb N/A libIntent N/A logging N/A N/A N/A N/A sys path append ../config config * N/A logger None Consumer N/A N/A multiprocessing Process N/A __init__ N/A N/A self task_queue result_queue N/A N/A N/A N/A N/A N/A multiprocessing Process __init__ self N/A N/A self task_queue task_queue N/A N/A self result_queue result_queue N/A run N/A N/A self N/A N/A N/A proc_name N/A self name N/A True N/A N/A next_task N/A N/A N/A self task_queue get N/A N/A next_task None N/A N/A N/A N/A logger info N/A %s: Exiting proc_name N/A N/A N/A N/A logger info N/A %s: %s N/A proc_name next_task N/A answer N/A next_task N/A N/A N/A N/A self result_queue put answer N/A N/A N/A Task N/A object N/A __init__ N/A N/A self a b N/A N/A N/A N/A self a a N/A N/A self b b N/A __call__ N/A N/A self N/A N/A N/A N/A N/A time sleep 0.1 N/A N/A %s * %s = %s N/A N/A self a N/A self b N/A N/A self a N/A self b N/A __str__ N/A N/A self N/A N/A N/A N/A %s * %s N/A N/A self a N/A self b N/A N/A ActivePool N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super ActivePool self __init__ N/A N/A self mgr N/A N/A multiprocessing Manager N/A N/A self active N/A N/A N/A self mgr list N/A N/A self lock N/A N/A multiprocessing Lock N/A makeActive N/A N/A self name N/A N/A N/A N/A self lock N/A N/A N/A N/A N/A self active append name N/A makeInactive N/A N/A self name N/A N/A N/A N/A self lock N/A N/A N/A N/A N/A self active remove name N/A __str__ N/A N/A self N/A N/A N/A N/A self lock N/A N/A N/A str N/A self active N/A N/A N/A __DEBUG__ True N/A NUMWORKERS 5 N/A NUMACTIVEWORKERS 5 N/A ADBPORT 5554 N/A PSIZE 128 N/A ADBTRIES 10 N/A VM_POLL_REST 7 N/A VMSDCARD 100 N/A N/A N/A N/A N/A os path isfile N/A SDKPATH /emulator N/A N/A N/A N/A logger info N/A can't find emulator at %s SDKPATH N/A N/A N/A N/A N/A os path isfile N/A ADBPATH /adb N/A N/A N/A N/A logger info N/A can't find adb at %s ADBPATH N/A beanstalk None N/A ADBFAILCOUNT None AVM N/A object N/A __init__ N/A N/A self name path state version N/A N/A N/A N/A self name name N/A N/A self path path N/A N/A self state state N/A N/A self version version N/A setVersion N/A N/A self v N/A N/A N/A N/A self state v N/A setState N/A N/A self state N/A N/A N/A N/A self state state N/A N/A N/A N/A N/A syslog openlog MS N/A syslog LOG_PID N/A syslog LOG_DAEMON N/A flagTerminate False sigint_handler N/A N/A signal frame N/A N/A N/A flagTerminate N/A N/A N/A syslog syslog N/A Caught SIGINT - Waiting for %d active jobs to terminate... N/A len assignments N/A flagTerminate True N/A formatExceptionInfo N/A N/A maxTBlevel N/A 5 N/A N/A N/A cla exc trbk N/A N/A sys exc_info N/A excName N/A cla __name__ N/A N/A N/A excArgs N/A N/A exc __dict__ N/A args N/A N/A N/A KeyError N/A N/A excArgs <no args> N/A excTb N/A N/A traceback format_tb trbk maxTBlevel N/A N/A excName excArgs excTb N/A get_VMs N/A N/A VMs N/A N/A N/A item N/A N/A os listdir VMBASEDIR N/A N/A N/A N/A N/A os path isdir N/A N/A N/A os path join VMBASEDIR item N/A N/A m N/A N/A re match ms-sdk(\d{3})-\d{3} item N/A m N/A N/A N/A N/A logger info item N/A N/A N/A logger info N/A N/A m group 1 N/A d N/A name path state version N/A N/A m group 0 N/A N/A N/A os path join VMBASEDIR item Off N/A N/A m group 1 N/A N/A VMs N/A N/A N/A m group 0 N/A AVM d N/A list_VMs N/A N/A VMs N/A N/A N/A N/A N/A logger debug ---VMList--- N/A i N/A N/A VMs keys N/A N/A N/A N/A logger debug N/A %s %s %10s %s  N/A N/A N/A VMs N/A i name N/A N/A VMs N/A i path N/A N/A VMs N/A i state N/A N/A VMs N/A i version N/A N/A N/A logger debug ------------ N/A i N/A N/A VMs keys N/A N/A N/A N/A N/A VMs N/A i state Off N/A N/A N/A N/A logger info N/A %s %s %10s %s  N/A N/A N/A VMs N/A i name N/A N/A VMs N/A i path N/A N/A VMs N/A i state N/A N/A VMs N/A i version N/A kick_adb N/A N/A N/A N/A N/A name N/A N/A N/A multiprocessing current_process name N/A ADBKICK %s/adb kill-server N/A cmd N/A ADBKICK ADBPATH N/A N/A N/A logger info N/A N/A name : cmd N/A N/A N/A args N/A N/A shlex split cmd N/A pKick N/A N/A subprocess Popen args N/A N/A N/A pKick terminate N/A N/A N/A N/A N/A N/A logger info N/A N/A name : adb kick error N/A N/A N/A sys exc_info N/A 0 N/A kick_adb_maybe N/A N/A adbl fcnt N/A N/A N/A adbl N/A N/A N/A fcnt value 1 N/A N/A N/A fcnt value 20 N/A N/A N/A fcnt value 0 N/A N/A kick_adb N/A find_key N/A N/A dic val N/A N/A N/A return the key of dictionary dic given the value N/A N/A N/A k N/A N/A k v N/A N/A dic iteritems N/A v val N/A 0 N/A error_log N/A N/A msg N/A N/A N/A logmsg N/A N/A N/A N/A time strftime %Y-%m-%d-%H:%M:%S N/A N/A time gmtime  :  msg N/A N/A N/A logger info logmsg N/A N/A N/A syslog syslog logmsg N/A updateStatus N/A N/A workers alive dead N/A N/A N/A f N/A open ms-status.csv w N/A N/A N/A f write N/A %s,%s,%s N/A workers alive dead N/A N/A N/A f close N/A runInVM N/A N/A m job VMs adbport vmlock adbl results fcnt N/A N/A N/A name N/A N/A N/A multiprocessing current_process name N/A formatter N/A N/A logging Formatter fmt LOGFORMAT datefmt LOGDATEFORMAT N/A pathForFile N/A N/A N/A N/A N/A MALWAREJOBSBASE / N/A job N/A jobuuid / N/A job N/A sha256 -run.log N/A N/A HH%sHH pathForFile N/A handler N/A N/A logging FileHandler pathForFile mode w N/A N/A N/A handler setFormatter formatter N/A vlogger N/A N/A logger getChild N/A N/A worker name .vm N/A N/A N/A vlogger setLevel N/A logging DEBUG N/A N/A N/A vlogger addHandler handler N/A N/A N/A vlogger info N/A logging started at  pathForFile N/A rval True N/A N/A N/A N/A VMs N/A m state N/A Reserved N/A N/A vmlock N/A N/A VMlocal N/A VMs N/A m N/A N/A VMlocal state Starting N/A N/A VMs N/A m VMlocal N/A t1 N/A N/A time time N/A EMUSTART %s/emulator -avd %s -partition-size %s -port %s -no-window -tcpdump %s -wipe-data N/A EMUWAIT %s/adb -s %s wait-for-device N/A EMULOGCAT %s/adb -s %s logcat N/A EMUINSTALL %s/adb -s %s install %s N/A EMUINTENT %s/adb -s %s shell am broadcast -a %s N/A EMULAUNCH %s/adb -s %s shell am start -a %s -n %s/%s N/A EMUKILL %s/adb -s %s emu kill N/A EMUMONKEY %s/adb -s %s shell monkey -v -p %s 100 --ignore-security-exceptions -s %s --throttle 250 N/A permissions_filename N/A N/A job N/A sha256 .xml N/A image_used N/A N/A VMs N/A m name N/A start_time N/A N/A time strftime %Y-%m-%d-%H:%M:%S N/A N/A time gmtime N/A N/A N/A msdb updateStartRun N/A job N/A jobuuid image_used start_time permissions_filename MSVERSION N/A N/A N/A vlogger info N/A N/A N/A name : ...starting VM  N/A N/A VMs N/A m name N/A cmd N/A EMUSTART N/A SDKPATH N/A N/A VMs N/A m name PSIZE N/A str adbport N/A N/A N/A N/A N/A MALWAREJOBSBASE / N/A job N/A jobuuid / N/A job N/A sha256 -orig.pcap N/A N/A N/A vlogger info N/A N/A name : cmd N/A pEmu None N/A N/A N/A args N/A N/A shlex split cmd N/A pEmu N/A N/A subprocess Popen args N/A N/A N/A N/A N/A N/A vlogger info N/A N/A name : emulator start error N/A N/A N/A sys exc_info N/A 0 N/A N/A N/A sys exit 1 N/A cmd N/A EMUWAIT N/A ADBPATH N/A emulator- N/A str adbport N/A N/A N/A vlogger info N/A N/A name : cmd N/A N/A N/A ret N/A N/A subprocess check_call N/A cmd shell True N/A N/A N/A vlogger info N/A N/A name : N/A emulator wait returned: %d ret N/A N/A N/A N/A N/A N/A vlogger error N/A N/A name : N/A emulator wait error: %s cmd N/A N/A N/A sys exit 1 N/A N/A N/A vlogger info N/A N/A N/A N/A name : emulator- N/A str adbport  started N/A N/A N/A time sleep N/A VM_POLL_REST 3 N/A vmlock N/A N/A VMlocal N/A VMs N/A m N/A N/A VMlocal state Running N/A N/A VMs N/A m VMlocal N/A cmd N/A EMULOGCAT N/A SDKPATH N/A emulator- N/A str adbport N/A N/A N/A vlogger info N/A N/A name : cmd N/A pLogCat None N/A fLogCat None N/A N/A N/A args N/A N/A shlex split cmd N/A N/A N/A vlogger info args N/A fLogCat N/A open N/A N/A N/A N/A N/A MALWAREJOBSBASE / N/A job N/A jobuuid / N/A job N/A sha256 .logcat w N/A fNull N/A open /dev/null N/A N/A N/A N/A N/A N/A vlogger error N/A N/A name :  cmd N/A N/A N/A vlogger error N/A formatExceptionInfo N/A N/A N/A vlogger error N/A N/A name : emulator logcat error N/A N/A N/A sys exc_info N/A 0 N/A N/A N/A sys exit 1 N/A cmd N/A EMUINSTALL N/A ADBPATH N/A emulator- N/A str adbport N/A N/A ' N/A job N/A fullpath ' N/A N/A N/A vlogger info N/A N/A name : cmd N/A N/A N/A ret N/A N/A subprocess check_output N/A cmd shell True N/A N/A N/A vlogger info N/A N/A name : N/A emulator install returned: %s ret N/A install_attempts ADBTRIES N/A N/A N/A Success ret N/A install_attempts 0 N/A N/A N/A kick_adb_maybe adbl fcnt N/A N/A N/A vlogger info N/A N/A name : N/A install failed emulator install returned: %s ret N/A N/A N/A time sleep VM_POLL_REST N/A ret N/A N/A subprocess check_output N/A cmd shell True N/A install_attempts 1 N/A N/A install_attempts 0 N/A N/A N/A N/A syslog syslog N/A N/A N/A N/A VMs N/A m name : N/A install failed emulator install returned: %s ret N/A N/A N/A vlogger error N/A N/A N/A N/A VMs N/A m name : N/A install failed emulator install returned: %s ret N/A N/A N/A N/A N/A N/A vlogger error N/A N/A name : N/A emulator install fatal error: %s cmd N/A N/A N/A vlogger error N/A formatExceptionInfo N/A N/A N/A sys exit 1 N/A N/A N/A time sleep N/A VM_POLL_REST 3 N/A doc N/A N/A etree parse N/A N/A N/A N/A N/A MALWAREJOBSBASE / N/A job N/A jobuuid / N/A job N/A sha256 .xml N/A package N/A N/A doc find package N/A li N/A N/A libIntent libIntent localhost adbport N/A rint N/A N/A doc findall rint N/A N/A N/A N/A vlogger info N/A N/A name  handling  N/A str N/A rint text N/A N/A N/A li handleRIntent N/A str N/A rint text N/A perm N/A N/A doc findall permission N/A N/A N/A N/A vlogger info N/A N/A name  handling  N/A str N/A perm text N/A N/A N/A li handlePermission N/A str N/A perm text N/A action N/A N/A doc findall action N/A N/A N/A N/A vlogger info N/A N/A name  handling  N/A str N/A action text N/A N/A N/A li handleAction N/A str N/A action text N/A cmd N/A EMUINTENT N/A ADBPATH N/A emulator- N/A str adbport N/A str N/A action text N/A N/A N/A vlogger info N/A N/A name : cmd N/A N/A N/A ret N/A N/A subprocess check_call N/A cmd shell True N/A N/A N/A N/A N/A N/A syslog syslog N/A app %s error sending intent %s N/A N/A job N/A sha256 N/A str N/A action text N/A N/A N/A vlogger error N/A N/A name : N/A emulator intent error: %s cmd N/A N/A N/A vlogger error N/A N/A name : N/A emulator intent error: %d ret N/A N/A N/A li sendCall N/A N/A N/A time sleep VM_POLL_REST N/A N/A N/A li endAllCalls N/A activity N/A N/A doc findall activity N/A N/A action N/A N/A doc findall action N/A N/A N/A N/A vlogger info N/A N/A N/A name :  ################## launching activity  N/A str N/A activity text N/A cmd N/A EMULAUNCH N/A ADBPATH N/A emulator- N/A str adbport N/A str N/A action text N/A str N/A package text N/A str N/A activity text N/A N/A N/A vlogger info N/A N/A name : cmd N/A N/A N/A ret N/A N/A subprocess check_call N/A cmd shell True N/A N/A N/A N/A N/A N/A vlogger error N/A N/A name : N/A emulator launch error: %s cmd N/A N/A N/A vlogger error N/A N/A name : N/A emulator launch error: %d ret N/A N/A N/A time sleep N/A VM_POLL_REST 5 N/A cmd N/A EMUMONKEY N/A ADBPATH N/A emulator- N/A str adbport N/A str N/A package text N/A N/A random randint 1 100 N/A N/A N/A vlogger info N/A N/A name : cmd N/A N/A N/A ret N/A N/A subprocess check_output N/A cmd shell True N/A N/A N/A vlogger info N/A N/A name : N/A emulator monkey returned: %s ret N/A N/A N/A N/A N/A N/A vlogger error N/A N/A name : N/A emulator monkey fatal error: %s cmd N/A N/A N/A syslog syslog N/A N/A N/A N/A VMs N/A m name : N/A monkey failed emulator monkey error: %s cmd N/A N/A N/A vlogger error N/A formatExceptionInfo N/A N/A N/A sys exit 1 N/A cmd N/A EMUKILL N/A ADBPATH N/A emulator- N/A str adbport N/A N/A N/A vlogger info N/A N/A name : cmd N/A N/A N/A ret N/A N/A subprocess check_call N/A cmd shell True N/A N/A N/A N/A N/A N/A vlogger error N/A N/A name : emulator kill error N/A N/A N/A sys exit 1 N/A N/A N/A N/A pEmu poll None N/A N/A N/A N/A vlogger info N/A N/A N/A name :  poll is  N/A str N/A N/A pEmu poll N/A N/A N/A N/A N/A pEmu terminate N/A N/A N/A N/A N/A N/A vlogger error N/A N/A name :  pEmu term failed N/A N/A N/A fLogCat flush N/A N/A N/A fLogCat close N/A N/A N/A fNull close N/A N/A N/A time sleep VM_POLL_REST N/A N/A N/A vlogger info N/A N/A N/A name : ...stopping VM  N/A N/A VMs N/A m name N/A vmlock N/A N/A VMlocal N/A VMs N/A m N/A N/A VMlocal state Off N/A N/A VMs N/A m VMlocal N/A t2 N/A N/A time time N/A complete_time N/A N/A time strftime %Y-%m-%d-%H:%M:%S N/A N/A time gmtime N/A results_file N/A N/A job N/A sha256 .pcap N/A N/A N/A msdb updateFinishRun N/A job N/A jobuuid complete_time results_file N/A originalpcap N/A N/A N/A N/A N/A MALWAREJOBSBASE / N/A job N/A jobuuid / N/A job N/A sha256 -orig.pcap N/A tmppcap N/A N/A N/A N/A N/A MALWAREJOBSBASE / N/A job N/A jobuuid / N/A job N/A sha256 -temp.pcap N/A finalpcap N/A N/A N/A N/A N/A MALWAREJOBSBASE / N/A job N/A jobuuid / N/A job N/A sha256 .pcap N/A cmd N/A prune_pcap.sh %s %s %s N/A originalpcap tmppcap N/A str adbport N/A N/A N/A vlogger info N/A N/A name : cmd N/A N/A N/A ret N/A N/A subprocess check_call N/A cmd shell True N/A N/A N/A N/A N/A N/A vlogger error N/A N/A name : pcap prune error N/A N/A N/A sys exit 1 N/A cmd N/A prune_pcap.sh %s %s %s N/A tmppcap finalpcap N/A str N/A N/A int adbport 1 N/A N/A N/A vlogger info N/A N/A name : cmd N/A N/A N/A ret N/A N/A subprocess check_call N/A cmd shell True N/A N/A N/A N/A N/A N/A vlogger error N/A N/A name : pcap prune error N/A N/A N/A sys exit 1 N/A N/A N/A vlogger info N/A N/A name : N/A sample took %s seconds process N/A str N/A t2 t1 N/A N/A N/A results put N/A t2 t1 N/A N/A N/A N/A N/A VMs N/A m state N/A Off N/A N/A N/A N/A vlogger info N/A N/A N/A name : N/A N/A VMs N/A m name run error: found in state OFF! N/A rval False N/A N/A N/A N/A N/A VMs N/A m state N/A Ready N/A N/A N/A N/A vlogger info N/A N/A N/A name : N/A N/A VMs N/A m name run error: is running and not available for new malware N/A rval False N/A rval N/A findCompatibleVM N/A N/A job VMs vml N/A N/A N/A rval None N/A vml N/A N/A m N/A N/A VMs keys N/A N/A targetsdk N/A int N/A job N/A target N/A N/A targetsdk 0 N/A N/A targetsdk N/A N/A random randint MINSDKVER MAXSDKVER N/A N/A N/A syslog syslog N/A app %s didn't specify any sdk information selecting %s N/A N/A job N/A sha256 targetsdk N/A N/A N/A N/A N/A VMs N/A m state N/A Off N/A N/A int N/A N/A VMs N/A m version targetsdk N/A N/A N/A flagTerminate N/A N/A N/A N/A logger info N/A N/A N/A N/A N/A VMs N/A m name  ( N/A str m ) is available N/A VMlocal N/A VMs N/A m N/A N/A N/A VMlocal setState Reserved N/A N/A VMs N/A m VMlocal N/A rval m N/A N/A N/A N/A N/A N/A VMs N/A m state N/A Running N/A N/A v 1 N/A rval N/A rebeanstalk N/A N/A N/A N/A N/A beanstalk N/A N/A beanstalk N/A N/A N/A error_log Re-establishing connection to beanstalkd N/A beanstalk N/A N/A beanstalkc Connection host BSHOST port BSPORT N/A N/A N/A beanstalk watch BSMSBOXQ N/A N/A N/A beanstalk use BSMSBOXQ N/A N/A N/A beanstalk ignore default N/A worker N/A N/A s pool q str1 VMs vml adbport count adbl results fcnt N/A N/A N/A beanstalk N/A name N/A N/A N/A multiprocessing current_process name N/A formatter N/A N/A logging Formatter fmt LOGFORMAT datefmt LOGDATEFORMAT N/A handler N/A N/A logging FileHandler worker.log N/A N/A N/A handler setFormatter formatter N/A wlogger N/A N/A logger getChild N/A worker name N/A N/A N/A wlogger setLevel N/A logging DEBUG N/A N/A N/A wlogger addHandler handler N/A s N/A N/A N/A N/A pool makeActive name N/A True N/A N/A content N/A N/A q get N/A N/A N/A q put content N/A N/A content die N/A N/A N/A N/A wlogger info N/A N/A name :  is committing suicide N/A N/A N/A pool makeInactive name N/A N/A N/A sys exit 0 N/A N/A N/A N/A wlogger info N/A N/A name :  is working... N/A N/A rebeanstalk N/A N/A BSMSBOXQ N/A N/A beanstalk tubes N/A N/A N/A N/A wlogger info N/A N/A name : there are no samples in the beanstalk N/A N/A arejobs N/A N/A beanstalk peek_ready N/A N/A arejobs None N/A N/A N/A N/A wlogger info N/A N/A name : there are no samples ready in the beanstalk N/A N/A N/A time sleep VM_POLL_REST N/A N/A beansalkjob None N/A N/A N/A beanstalkjob N/A N/A beanstalk reserve N/A N/A N/A N/A N/A N/A wlogger info N/A N/A name :  beanstalk reserve error, probably out of jobs N/A job None N/A beanstalkjob N/A N/A N/A N/A job N/A eval N/A beanstalkjob body N/A N/A N/A N/A N/A error_log ERROR: could not eval job - invalid job N/A N/A N/A beanstalkjob delete N/A N/A N/A wlogger info N/A N/A name : BAD JOB, deleting N/A N/A job N/A N/A m N/A findCompatibleVM job VMs vml N/A N/A m None N/A N/A N/A N/A wlogger info N/A N/A N/A N/A N/A N/A N/A N/A name : using VM  N/A str m  for  N/A job N/A basename ( N/A job N/A target ) N/A N/A N/A beanstalkjob delete N/A N/A runInVM m job VMs adbport vml adbl results fcnt N/A N/A N/A rebeanstalk N/A N/A count value 1 N/A flagTerminate N/A N/A N/A N/A wlogger info N/A N/A name : terminating?! N/A N/A N/A sys exit 0 N/A N/A N/A N/A N/A N/A beanstalkjob release delay BSDELAY N/A N/A N/A wlogger info N/A N/A N/A name : requeuing job requiring a target version  N/A job N/A target N/A setupLogger N/A N/A N/A N/A N/A formatter N/A N/A logging Formatter fmt LOGFORMAT datefmt LOGDATEFORMAT N/A handler N/A N/A logging FileHandler LOGFILE N/A N/A N/A handler setFormatter formatter N/A logger N/A N/A logging getLogger N/A N/A N/A logger setLevel N/A logging DEBUG N/A N/A N/A logger addHandler handler N/A logger N/A main N/A N/A N/A N/A N/A flagTerminate N/A beanstalk N/A logger N/A logger N/A setupLogger N/A console N/A N/A logging StreamHandler N/A N/A N/A console setLevel N/A logging INFO N/A formatter N/A N/A logging Formatter %(name)-12s: %(levelname)-8s %(message)s N/A N/A N/A console setFormatter formatter N/A N/A N/A N/A N/A logging getLogger addHandler console N/A N/A N/A random seed N/A pool N/A ActivePool N/A assignments N/A N/A N/A pool mgr dict N/A count N/A N/A N/A pool mgr Value i 0 N/A ADBFAILCOUNT N/A N/A N/A pool mgr Value i 0 N/A VMs N/A N/A N/A pool mgr dict N/A s N/A N/A multiprocessing Semaphore NUMACTIVEWORKERS N/A q N/A N/A multiprocessing Queue N/A r N/A N/A multiprocessing Queue N/A results N/A N/A al N/A N/A multiprocessing RLock N/A vml N/A N/A multiprocessing RLock N/A cl N/A N/A multiprocessing RLock N/A N/A get_VMs VMs N/A N/A list_VMs VMs N/A i N/A range 30 N/A N/A N/A N/A q put N/A live N/A str i N/A port ADBPORT N/A jobs N/A N/A N/A multiprocessing Process target worker name N/A str i args N/A s pool q hi VMs vml N/A str N/A port N/A i 2 count al r ADBFAILCOUNT N/A i N/A range NUMWORKERS N/A j jobs N/A N/A N/A N/A logger info N/A starting worker %s N/A j name N/A N/A N/A j start N/A N/A rebeanstalk N/A True N/A N/A N/A N/A logger info ============================== N/A N/A N/A logger info N/A processed %d samples so far N/A count value N/A N/A N/A thing N/A N/A r get block False N/A N/A N/A results append thing N/A N/A N/A N/A N/A N/A logger warning results queue exception N/A N/A N/A len results 0 N/A N/A N/A N/A logger info N/A average sample time: %s N/A str N/A N/A sum results N/A float N/A len results N/A N/A N/A N/A BSMSBOXQ N/A N/A beanstalk tubes N/A N/A N/A N/A logger info there are no samples in the beanstalk N/A N/A N/A N/A N/A beanstalk peek_ready None N/A N/A N/A N/A logger info N/A N/A str N/A N/A N/A beanstalk stats_tube BSMSBOXQ N/A current-jobs-ready  samples ready to process N/A N/A N/A N/A logger info 0 samples ready to process N/A N/A N/A N/A beanstalk peek_reserved None N/A N/A N/A N/A logger info N/A N/A str N/A N/A N/A beanstalk stats_tube BSMSBOXQ N/A current-jobs-reserved  samples are processing N/A N/A N/A N/A logger info 0 samples are processing N/A N/A N/A N/A beanstalk peek_delayed None N/A N/A N/A N/A logger info N/A N/A str N/A N/A N/A beanstalk stats_tube BSMSBOXQ N/A current-jobs-delayed  samples are delayed N/A N/A N/A N/A logger info 0 samples are delayed N/A N/A N/A KeyError N/A N/A N/A N/A logger warning beanstalk keyerror N/A N/A N/A N/A N/A logger warning beanstalk general error N/A N/A N/A logger info N/A N/A about  N/A str N/A N/A q qsize  current q items N/A N/A N/A logger info N/A N/A adb has failed  N/A str N/A ADBFAILCOUNT value  times since last kick N/A N/A N/A logger debug N/A N/A should be  N/A str NUMWORKERS  processes: N/A walive 0 N/A wdead 0 N/A j jobs N/A N/A N/A N/A j is_alive N/A N/A N/A N/A logger debug N/A N/A str N/A j pid N/A walive 1 N/A N/A N/A N/A logger debug    dead N/A wdead 1 N/A N/A N/A logger info N/A %s alive; %s dead N/A walive wdead N/A N/A updateStatus NUMWORKERS walive wdead N/A N/A list_VMs VMs N/A N/A N/A time sleep N/A VM_POLL_REST 10 N/A N/A N/A sys exit 0 N/A N/A N/A signal signal N/A signal SIGINT sigint_handler N/A N/A N/A syslog syslog Startup - Entering main polling loop... N/A True N/A N/A N/A get_VMs VMs N/A N/A list_VMs VMs N/A N/A beanstalk N/A N/A N/A error_log Re-establishing connection to beanstalkd N/A beanstalk N/A N/A beanstalkc Connection host BSHOST port BSPORT N/A N/A N/A beanstalk watch BSMSBOXQ N/A N/A N/A beanstalk use BSMSBOXQ N/A N/A N/A beanstalk ignore default N/A beanstalkjob N/A N/A beanstalk reserve N/A beanstalkjob N/A N/A N/A N/A job N/A eval N/A beanstalkjob body N/A N/A N/A N/A N/A error_log ERROR: could not eval job - invalid job N/A N/A N/A beanstalkjob delete N/A False N/A m N/A findCompatibleVM job VMs vml N/A N/A m None N/A N/A N/A N/A logger info N/A yay using VM  N/A str m N/A N/A N/A sys exit 0 N/A N/A N/A N/A beanstalkjob release delay 60 N/A N/A N/A logger info N/A requeuing job requiring a target version  N/A job N/A target N/A N/A flagTerminate N/A N/A len assignments 0 N/A N/A N/A N/A syslog syslog All assigned jobs are completed (EXITING)... N/A N/A N/A N/A time sleep VM_POLL_REST N/A N/A N/A sys exit 0 N/A N/A N/A syslog syslog Shutdown - Leaving main polling loop... N/A 0 N/A N/A N/A __name__ __main__ N/A N/A N/A main