Module Import alias Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Import alias Import alias Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr Str attr Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Return Call NameLoad Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Str Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr Str attr attr Str attr Str Assign NameStore Call NameLoad Call NameLoad Lambda arguments args NameParam defaults BoolOpAnd UnaryOpNot Call AttributeLoad NameLoad attr Str UnaryOpNot CompareEq Call NameLoad NameLoad Num NameLoad Assign NameStore Dict If AttributeLoad NameLoad attr body With Call NameLoad AttributeLoad NameLoad attr Str NameStore body While NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str If Call NameLoad NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Num Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr Str orelse Break FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore Str For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad body AugAssignAdd NameStore SubscriptLoad NameLoad Index NameLoad orelse Print Str Call AttributeLoad NameLoad attr Str Str NameLoad Return NameLoad Return NameLoad orelse Return Call AttributeLoad NameLoad attr Str decorator_list With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Assign NameStore Num For NameStore NameLoad body TryExcept body Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Print BinOpMod Str BinOpAdd Call AttributeLoad NameLoad attr NameLoad Num NameLoad Print Str TupleLoad NameLoad Print Str Call NameLoad NameLoad Continue Assign NameStore Call NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Print BinOpMod Str TupleLoad NameLoad NameLoad Continue Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore BinOpSub Call NameLoad NameLoad Num Num If CompareGt Call NameLoad NameLoad NameLoad body Print BinOpMod Str TupleLoad Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Slice NameLoad If CompareLt Call NameLoad NameLoad NameLoad body AugAssignAdd NameStore BinOpMult Str BinOpSub NameLoad Call NameLoad NameLoad Assert CompareEq Call NameLoad NameLoad NameLoad If CompareEq NameLoad Call NameLoad NameLoad Num body Continue Assert CompareLtE NameLoad Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice NameLoad Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str BinOpAdd Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice NameLoad Expr Call NameLoad Num
N/A N/A argparse N/A parser N/A N/A argparse ArgumentParser description Plant text back to original file N/A N/A N/A parser add_argument source help original scenario file N/A N/A N/A parser add_argument text help text file with tags N/A N/A N/A parser add_argument -o --output default out.bin help output destination N/A N/A N/A parser add_argument -c --codefile help code file N/A N/A N/A parser add_argument -i --inplace action store_true help enable in-place mode N/A args N/A N/A parser parse_args N/A struct N/A re N/A src N/A N/A N/A open N/A args source rb read N/A p N/A N/A re compile (0x[0-9A-Fa-f]{10})-(0x[0-9A-Fa-f]{10})\((0x[0-9A-Fa-f]{4})\)\t(.*)$ unpack_line N/A N/A line N/A N/A N/A N/A tuple N/A filter None N/A N/A p split line N/A N/A raw N/A map N/A N/A N/A x N/A N/A N/A x strip N/A N/A N/A N/A N/A N/A N/A open N/A args text rb read decode utf-8-sig split N/A txt N/A sorted N/A filter N/A N/A N/A x N/A N/A N/A N/A N/A x startswith # N/A N/A N/A len x 0 raw N/A codetable N/A N/A N/A args codefile N/A N/A N/A open N/A args codefile r codefile N/A N/A True N/A N/A line N/A N/A N/A N/A codefile readline strip N/A N/A len line N/A N/A N/A code character N/A N/A N/A N/A line decode utf-8 split = 1 N/A N/A codetable N/A character N/A N/A code decode hex N/A N/A encode N/A N/A text line N/A N/A N/A N/A args codefile N/A N/A data N/A character text N/A N/A N/A N/A codetable has_key character N/A N/A data N/A codetable N/A character N/A N/A [WARNING] Missing character N/A N/A character encode utf-8 at line N/A None N/A data N/A N/A N/A N/A text encode shift-jis N/A N/A N/A open N/A args output wb output N/A N/A srcptr 0 N/A line txt N/A N/A N/A N/A N/A start end length text N/A unpack_line line N/A N/A N/A Exception N/A e N/A N/A N/A [ERROR] Reading line %d:  N/A N/A N/A raw index line 1 e N/A [ERROR] Rawdata:  N/A line N/A [ERROR] Matches:  N/A unpack_line line N/A N/A encoded N/A encode text line N/A N/A encoded N/A N/A N/A [WARNING] Skipped 0x%s-0x%s N/A start end N/A N/A data encoded N/A N/A args inplace N/A N/A text_length N/A N/A int length 0 4 N/A N/A N/A len data text_length N/A N/A N/A [EXCCEED] %4d/%-4d :: %s N/A N/A len data text_length N/A N/A line encode utf-8 N/A data N/A data N/A text_length N/A N/A N/A len data text_length N/A N/A data N/A N/A text_length N/A len data N/A N/A N/A len data text_length N/A N/A srcptr N/A int end 0 N/A N/A N/A N/A srcptr N/A int start 0 N/A N/A N/A output write N/A src N/A srcptr N/A int start 0 N/A N/A N/A output write N/A N/A struct pack <h N/A N/A len data 4 N/A N/A N/A output write data N/A N/A N/A output write N/A srcptr N/A int end 0 N/A N/A N/A output write N/A src N/A srcptr N/A N/A exit 0