Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | pyc_opcode_object |
struct | pyc_opcodes |
struct | pyc_arg_fmt |
struct | version_opcode |
struct | op_analysis_func |
struct | op_parameter |
Macros | |
#define | OBJECT_SIZE_ON_STACK 1 |
#define | def_op(...) def_opN((struct op_parameter){ .fallthrough = true, __VA_ARGS__ }) |
#define | def_op0(...) def_opN((struct op_parameter){ .pop = -2, .push = -2, .fallthrough = true, __VA_ARGS__ }) |
#define | def_op00(...) def_opN((struct op_parameter){ __VA_ARGS__ }) |
#define | name_op0(...) name_opN((struct op_parameter){ .pop = -2, .push = -2, __VA_ARGS__ }) |
#define | name_op(...) name_opN((struct op_parameter){ __VA_ARGS__ }) |
#define | local_op0(...) local_opN((struct op_parameter){ .pop = 0, .push = 1, __VA_ARGS__ }) |
#define | local_op(...) local_opN((struct op_parameter){ __VA_ARGS__ }) |
#define | free_op0(...) free_opN((struct op_parameter){ .pop = 0, .push = 1, __VA_ARGS__ }) |
#define | free_op(...) free_opN((struct op_parameter){ __VA_ARGS__ }) |
#define | store_op00(...) store_opN((struct op_parameter){ __VA_ARGS__ }) |
#define | store_op(...) store_opN((struct op_parameter){ .func = DEF_OP, __VA_ARGS__ }) |
#define | store_op0(...) store_opN((struct op_parameter){ .pop = 0, .push = 1, .func = DEF_OP, __VA_ARGS__ }) |
#define | varargs_op(...) varargs_op((struct op_parameter){ __VA_ARGS__ }) |
#define | varargs_op0(...) varargs_op((struct op_parameter){ .pop = -1, .push = 1, __VA_ARGS__ }) |
#define | const_op(...) const_opN((struct op_parameter){ .pop = 0, .push = 1, __VA_ARGS__ }) |
#define | const_op00(...) const_opN((struct op_parameter){ __VA_ARGS__ }) |
#define | compare_op0(...) compare_op((struct op_parameter){ .pop = 2, .push = 1, __VA_ARGS__ }) |
#define | compare_op(...) compare_op((struct op_parameter){ __VA_ARGS__ }) |
#define | jabs_op00(...) jabs_opN((struct op_parameter){ __VA_ARGS__ }) |
#define | jabs_op0(...) jabs_opN((struct op_parameter){ .pop = 0, .push = 0, .conditional = false, .fallthrough = true, __VA_ARGS__ }) |
#define | jabs_op(...) jabs_opN((struct op_parameter){ .fallthrough = true, __VA_ARGS__ }) |
#define | jrel_op00(...) jrel_opN((struct op_parameter){ __VA_ARGS__ }) |
#define | jrel_op0(...) jrel_opN((struct op_parameter){ .pop = 0, .push = 0, .conditional = false, .fallthrough = true, __VA_ARGS__ }) |
#define | jrel_op(...) jrel_opN((struct op_parameter){ .fallthrough = true, __VA_ARGS__ }) |
#define | nargs_op(...) nargs_op((struct op_parameter){ __VA_ARGS__ }) |
#define | nargs_op0(...) nargs_op((struct op_parameter){ .pop = -2, .push = -2, __VA_ARGS__ }) |
#define | rm_op(...) rm_op((struct op_parameter){ __VA_ARGS__ }) |
Enumerations | |
enum | pyc_opcode_type { HASCOMPARE = 0x1 , HASCONDITION = 0x2 , HASCONST = 0x4 , HASFREE = 0x8 , HASJABS = 0x10 , HASJREL = 0x20 , HASLOCAL = 0x40 , HASNAME = 0x80 , HASNARGS = 0x100 , HASSTORE = 0x200 , HASVARGS = 0x400 , NOFOLLOW = 0x800 } |
enum | pyc_store_op_func { NAME_OP = 0x1 , LOCAL_OP = 0x2 , FREE_OP = 0x4 , DEF_OP = 0x8 } |
#define compare_op | ( | ... | ) | compare_op((struct op_parameter){ __VA_ARGS__ }) |
#define compare_op0 | ( | ... | ) | compare_op((struct op_parameter){ .pop = 2, .push = 1, __VA_ARGS__ }) |
#define const_op | ( | ... | ) | const_opN((struct op_parameter){ .pop = 0, .push = 1, __VA_ARGS__ }) |
#define const_op00 | ( | ... | ) | const_opN((struct op_parameter){ __VA_ARGS__ }) |
#define def_op | ( | ... | ) | def_opN((struct op_parameter){ .fallthrough = true, __VA_ARGS__ }) |
#define def_op0 | ( | ... | ) | def_opN((struct op_parameter){ .pop = -2, .push = -2, .fallthrough = true, __VA_ARGS__ }) |
#define def_op00 | ( | ... | ) | def_opN((struct op_parameter){ __VA_ARGS__ }) |
#define free_op | ( | ... | ) | free_opN((struct op_parameter){ __VA_ARGS__ }) |
#define free_op0 | ( | ... | ) | free_opN((struct op_parameter){ .pop = 0, .push = 1, __VA_ARGS__ }) |
#define jabs_op | ( | ... | ) | jabs_opN((struct op_parameter){ .fallthrough = true, __VA_ARGS__ }) |
#define jabs_op0 | ( | ... | ) | jabs_opN((struct op_parameter){ .pop = 0, .push = 0, .conditional = false, .fallthrough = true, __VA_ARGS__ }) |
#define jabs_op00 | ( | ... | ) | jabs_opN((struct op_parameter){ __VA_ARGS__ }) |
#define jrel_op | ( | ... | ) | jrel_opN((struct op_parameter){ .fallthrough = true, __VA_ARGS__ }) |
#define jrel_op0 | ( | ... | ) | jrel_opN((struct op_parameter){ .pop = 0, .push = 0, .conditional = false, .fallthrough = true, __VA_ARGS__ }) |
#define jrel_op00 | ( | ... | ) | jrel_opN((struct op_parameter){ __VA_ARGS__ }) |
#define local_op | ( | ... | ) | local_opN((struct op_parameter){ __VA_ARGS__ }) |
#define local_op0 | ( | ... | ) | local_opN((struct op_parameter){ .pop = 0, .push = 1, __VA_ARGS__ }) |
#define name_op | ( | ... | ) | name_opN((struct op_parameter){ __VA_ARGS__ }) |
#define name_op0 | ( | ... | ) | name_opN((struct op_parameter){ .pop = -2, .push = -2, __VA_ARGS__ }) |
#define nargs_op | ( | ... | ) | nargs_op((struct op_parameter){ __VA_ARGS__ }) |
#define nargs_op0 | ( | ... | ) | nargs_op((struct op_parameter){ .pop = -2, .push = -2, __VA_ARGS__ }) |
#define rm_op | ( | ... | ) | rm_op((struct op_parameter){ __VA_ARGS__ }) |
#define store_op | ( | ... | ) | store_opN((struct op_parameter){ .func = DEF_OP, __VA_ARGS__ }) |
#define store_op0 | ( | ... | ) | store_opN((struct op_parameter){ .pop = 0, .push = 1, .func = DEF_OP, __VA_ARGS__ }) |
#define store_op00 | ( | ... | ) | store_opN((struct op_parameter){ __VA_ARGS__ }) |
#define varargs_op | ( | ... | ) | varargs_op((struct op_parameter){ __VA_ARGS__ }) |
#define varargs_op0 | ( | ... | ) | varargs_op((struct op_parameter){ .pop = -1, .push = 1, __VA_ARGS__ }) |
enum pyc_opcode_type |
enum pyc_store_op_func |
void add_arg_fmt | ( | pyc_opcodes * | ret, |
char * | op_name, | ||
const char *(*)(ut32 oparg) | formatter | ||
) |
Definition at line 234 of file opcode.c.
References pyc_arg_fmt::formatter, pyc_arg_fmt::op_name, pyc_opcodes::opcode_arg_fmt, rz_list_append(), and RZ_NEW0.
Referenced by opcode_10(), opcode_11(), opcode_12(), opcode_13(), opcode_14(), opcode_15(), opcode_16(), opcode_20(), opcode_21(), opcode_22(), opcode_23(), opcode_24(), opcode_25(), opcode_26(), opcode_27(), opcode_30(), opcode_31(), opcode_32(), opcode_33(), opcode_34(), opcode_35(), opcode_36(), opcode_37(), opcode_38(), opcode_39(), and opcode_3x().
void analysis_pyc_op | ( | RzAnalysisOp * | op, |
pyc_opcode_object * | op_obj, | ||
ut32 | oparg | ||
) |
Definition at line 902 of file opcode_analysis.c.
References op_analysis_func::func, i, op_analysis, and pyc_opcode_object::op_name.
Referenced by pyc_op().
void() compare_op | ( | struct op_parameter | par | ) |
Definition at line 301 of file opcode.c.
References def_op, HASCOMPARE, pyc_opcode_object::op_name, and op_parameter::op_obj.
void() const_opN | ( | struct op_parameter | par | ) |
void() def_opN | ( | struct op_parameter | par | ) |
Definition at line 244 of file opcode.c.
References free(), NOFOLLOW, and strdup().
Referenced by opcode_15().
Definition at line 27 of file opcode_arg_fmt.c.
References rz_str_new().
Referenced by opcode_36(), opcode_37(), opcode_38(), and opcode_39().
Definition at line 23 of file opcode_arg_fmt.c.
References rz_str_newf().
Referenced by opcode_36(), opcode_37(), opcode_38(), and opcode_39().
Definition at line 10 of file opcode_arg_fmt.c.
References rz_str_newf().
Referenced by opcode_27().
Definition at line 6 of file opcode_arg_fmt.c.
References rz_str_newf().
Referenced by opcode_10(), opcode_11(), opcode_12(), opcode_13(), opcode_14(), opcode_15(), opcode_16(), opcode_20(), opcode_21(), opcode_22(), opcode_23(), opcode_24(), opcode_25(), opcode_26(), opcode_27(), opcode_30(), opcode_31(), opcode_32(), opcode_33(), opcode_34(), opcode_35(), and opcode_3x().
Definition at line 69 of file opcode_arg_fmt.c.
References rz_str_newf().
Referenced by opcode_36(), opcode_37(), opcode_38(), and opcode_39().
Definition at line 33 of file opcode_arg_fmt.c.
References free(), i, MAKE_FUNCTION_FLAGS, rz_str_appendf(), and rz_str_new().
Referenced by opcode_36(), opcode_37(), opcode_38(), and opcode_39().
Definition at line 16 of file opcode_arg_fmt.c.
References rz_str_newf().
Referenced by opcode_30(), opcode_31(), opcode_32(), opcode_33(), opcode_34(), and opcode_35().
Definition at line 48 of file opcode_arg_fmt.c.
References rz_str_new().
Referenced by opcode_36(), opcode_37(), opcode_38(), and opcode_39().
void free_opcode | ( | pyc_opcodes * | opcodes | ) |
Definition at line 217 of file opcode.c.
References free(), i, NULL, opcodes, and rz_list_free().
void() free_opN | ( | struct op_parameter | par | ) |
pyc_opcodes* get_opcode_by_version | ( | char * | version | ) |
Definition at line 169 of file opcode.c.
References NULL, version_opcode::opcode_func, version_opcode::version, and version_op.
Referenced by disassemble(), and pyc_op().
void() jabs_opN | ( | struct op_parameter | par | ) |
Definition at line 306 of file opcode.c.
References def_op00, HASCONDITION, HASJABS, pyc_opcode_object::op_name, and op_parameter::op_obj.
void() jrel_opN | ( | struct op_parameter | par | ) |
Definition at line 314 of file opcode.c.
References def_op00, HASCONDITION, HASJREL, pyc_opcode_object::op_name, and op_parameter::op_obj.
void() local_opN | ( | struct op_parameter | par | ) |
void() name_opN | ( | struct op_parameter | par | ) |
void() nargs_op | ( | struct op_parameter | par | ) |
pyc_opcodes* new_pyc_opcodes | ( | ) |
Definition at line 185 of file opcode.c.
References free(), pyc_opcodes::have_argument, i, malloc(), NULL, pyc_opcode_object::op_code, pyc_opcode_object::op_name, pyc_opcode_object::op_pop, pyc_opcode_object::op_push, pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, RZ_FREE, rz_list_newf(), RZ_NEW0, rz_str_newf(), and pyc_opcode_object::type.
Referenced by opcode_15(), opcode_2x(), and opcode_3x().
pyc_opcodes* opcode_10 | ( | void | ) |
Definition at line 6 of file opcode_10.c.
References add_arg_fmt(), format_extended_arg(), NULL, pyc_opcode_object::op_name, opcode_10(), opcode_11(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rm_op, rz_list_purge(), and pyc_opcodes::version_sig.
Referenced by opcode_10().
pyc_opcodes* opcode_11 | ( | void | ) |
Definition at line 6 of file opcode_11.c.
References add_arg_fmt(), format_extended_arg(), NULL, opcode_11(), opcode_13(), pyc_opcodes::opcode_arg_fmt, rz_list_purge(), and pyc_opcodes::version_sig.
Referenced by opcode_10(), and opcode_11().
pyc_opcodes* opcode_12 | ( | void | ) |
Definition at line 6 of file opcode_12.c.
References add_arg_fmt(), format_extended_arg(), NULL, opcode_12(), opcode_13(), pyc_opcodes::opcode_arg_fmt, rz_list_purge(), and pyc_opcodes::version_sig.
Referenced by opcode_12().
pyc_opcodes* opcode_13 | ( | void | ) |
Definition at line 6 of file opcode_13.c.
References add_arg_fmt(), def_op, format_extended_arg(), NULL, pyc_opcode_object::op_name, opcode_13(), opcode_14(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rm_op, rz_list_purge(), and pyc_opcodes::version_sig.
Referenced by opcode_11(), opcode_12(), and opcode_13().
pyc_opcodes* opcode_14 | ( | void | ) |
Definition at line 6 of file opcode_14.c.
References add_arg_fmt(), def_op, format_extended_arg(), name_op, NULL, pyc_opcode_object::op_name, opcode_14(), opcode_15(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rz_list_purge(), varargs_op, and pyc_opcodes::version_sig.
Referenced by opcode_13(), and opcode_14().
pyc_opcodes* opcode_15 | ( | void | ) |
Definition at line 6 of file opcode_15.c.
References add_arg_fmt(), compare_op, const_op00, def_op, def_op00, def_opN(), pyc_opcodes::extended_arg, format_extended_arg(), pyc_opcodes::have_argument, jabs_op, jrel_op, LOCAL_OP, local_op, local_op0, NAME_OP, name_op, nargs_op, new_pyc_opcodes(), NULL, pyc_opcode_object::op_name, opcode_15(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rz_list_purge(), store_op, store_op00, varargs_op, and pyc_opcodes::version_sig.
Referenced by opcode_14(), opcode_15(), and opcode_16().
pyc_opcodes* opcode_16 | ( | void | ) |
Definition at line 6 of file opcode_16.c.
References add_arg_fmt(), format_extended_arg(), nargs_op, NULL, pyc_opcode_object::op_name, opcode_15(), opcode_16(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rz_list_purge(), and pyc_opcodes::version_sig.
Referenced by opcode_16().
pyc_opcodes* opcode_20 | ( | void | ) |
Definition at line 6 of file opcode_20.c.
References add_arg_fmt(), format_extended_arg(), NULL, pyc_opcode_object::op_name, opcode_20(), opcode_21(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rm_op, rz_list_purge(), and pyc_opcodes::version_sig.
Referenced by opcode_20().
pyc_opcodes* opcode_21 | ( | void | ) |
Definition at line 6 of file opcode_21.c.
References add_arg_fmt(), format_extended_arg(), NULL, pyc_opcode_object::op_name, opcode_21(), opcode_22(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rm_op, rz_list_purge(), and pyc_opcodes::version_sig.
Referenced by opcode_20(), and opcode_21().
pyc_opcodes* opcode_22 | ( | void | ) |
Definition at line 6 of file opcode_22.c.
References add_arg_fmt(), def_op, format_extended_arg(), NULL, pyc_opcode_object::op_name, opcode_22(), opcode_2x(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rz_list_purge(), and pyc_opcodes::version_sig.
Referenced by opcode_21(), and opcode_22().
pyc_opcodes* opcode_23 | ( | void | ) |
Definition at line 6 of file opcode_23.c.
References add_arg_fmt(), format_extended_arg(), NULL, opcode_23(), opcode_2x(), pyc_opcodes::opcode_arg_fmt, rz_list_purge(), and pyc_opcodes::version_sig.
Referenced by opcode_23().
pyc_opcodes* opcode_24 | ( | void | ) |
Definition at line 6 of file opcode_24.c.
References add_arg_fmt(), def_op, format_extended_arg(), NULL, pyc_opcode_object::op_name, opcode_24(), opcode_2x(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rz_list_purge(), and pyc_opcodes::version_sig.
Referenced by opcode_24(), and opcode_25().
pyc_opcodes* opcode_25 | ( | void | ) |
Definition at line 6 of file opcode_25.c.
References add_arg_fmt(), def_op, format_extended_arg(), NULL, pyc_opcode_object::op_name, opcode_24(), opcode_25(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rz_list_purge(), and pyc_opcodes::version_sig.
Referenced by opcode_25(), and opcode_26().
pyc_opcodes* opcode_26 | ( | void | ) |
Definition at line 6 of file opcode_26.c.
References add_arg_fmt(), format_extended_arg(), NULL, pyc_opcode_object::op_name, opcode_25(), opcode_26(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rz_list_purge(), store_op, and pyc_opcodes::version_sig.
Referenced by opcode_26(), and opcode_27().
pyc_opcodes* opcode_27 | ( | void | ) |
Definition at line 6 of file opcode_27.c.
References add_arg_fmt(), compare_op, def_op, format_CALL_FUNCTION_pos_name_encoded(), format_extended_arg(), jabs_op, jrel_op, name_op, NULL, pyc_opcode_object::op_name, opcode_26(), opcode_27(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rm_op, rz_list_purge(), and pyc_opcodes::version_sig.
Referenced by opcode_27().
pyc_opcodes* opcode_2x | ( | void | ) |
Definition at line 6 of file opcode_2x.c.
References compare_op, const_op00, def_op, def_op00, pyc_opcodes::extended_arg, FREE_OP, free_op, pyc_opcodes::have_argument, jabs_op00, jrel_op, jrel_op00, LOCAL_OP, local_op, NAME_OP, name_op, nargs_op, new_pyc_opcodes(), NULL, pyc_opcode_object::op_name, opcode_2x(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rz_list_purge(), store_op, store_op00, varargs_op, and pyc_opcodes::version_sig.
Referenced by opcode_22(), opcode_23(), opcode_24(), and opcode_2x().
pyc_opcodes* opcode_30 | ( | void | ) |
Definition at line 6 of file opcode_30.c.
References add_arg_fmt(), def_op, format_extended_arg(), format_MAKE_FUNCTION_arg_3x(), jrel_op, NULL, pyc_opcode_object::op_name, opcode_30(), opcode_31(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rm_op, rz_list_purge(), and pyc_opcodes::version_sig.
Referenced by opcode_30().
pyc_opcodes* opcode_31 | ( | void | ) |
Definition at line 6 of file opcode_31.c.
References add_arg_fmt(), def_op, format_extended_arg(), format_MAKE_FUNCTION_arg_3x(), NULL, pyc_opcode_object::op_name, opcode_31(), opcode_32(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rm_op, rz_list_purge(), and pyc_opcodes::version_sig.
Referenced by opcode_30(), and opcode_31().
pyc_opcodes* opcode_32 | ( | void | ) |
Definition at line 6 of file opcode_32.c.
References add_arg_fmt(), format_extended_arg(), format_MAKE_FUNCTION_arg_3x(), NULL, opcode_32(), opcode_3x(), pyc_opcodes::opcode_arg_fmt, rz_list_purge(), and pyc_opcodes::version_sig.
Referenced by opcode_31(), and opcode_32().
pyc_opcodes* opcode_33 | ( | void | ) |
Definition at line 6 of file opcode_33.c.
References add_arg_fmt(), def_op, format_extended_arg(), format_MAKE_FUNCTION_arg_3x(), NULL, pyc_opcode_object::op_name, opcode_33(), opcode_3x(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rm_op, rz_list_purge(), and pyc_opcodes::version_sig.
Referenced by opcode_33(), and opcode_34().
pyc_opcodes* opcode_34 | ( | void | ) |
Definition at line 6 of file opcode_34.c.
References add_arg_fmt(), def_op, format_extended_arg(), format_MAKE_FUNCTION_arg_3x(), free_op, NULL, pyc_opcode_object::op_name, opcode_33(), opcode_34(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rm_op, rz_list_purge(), and pyc_opcodes::version_sig.
Referenced by opcode_34(), and opcode_35().
pyc_opcodes* opcode_35 | ( | void | ) |
Definition at line 6 of file opcode_35.c.
References add_arg_fmt(), def_op, format_extended_arg(), format_MAKE_FUNCTION_arg_3x(), jrel_op, NULL, pyc_opcode_object::op_name, opcode_34(), opcode_35(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rm_op, rz_list_purge(), varargs_op, and pyc_opcodes::version_sig.
Referenced by opcode_35(), and opcode_36().
pyc_opcodes* opcode_36 | ( | void | ) |
Definition at line 6 of file opcode_36.c.
References add_arg_fmt(), def_op, format_CALL_FUNCTION_EX_36(), format_CALL_FUNCTION_KW_36(), format_extended_arg_36(), format_MAKE_FUNCTION_arg_36(), format_value_flags_36(), jrel_op, NAME_OP, nargs_op, NULL, pyc_opcode_object::op_name, opcode_35(), opcode_36(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rm_op, rz_list_purge(), store_op00, varargs_op, and pyc_opcodes::version_sig.
Referenced by opcode_36(), and opcode_37().
pyc_opcodes* opcode_37 | ( | void | ) |
Definition at line 6 of file opcode_37.c.
References add_arg_fmt(), format_CALL_FUNCTION_EX_36(), format_CALL_FUNCTION_KW_36(), format_extended_arg_36(), format_MAKE_FUNCTION_arg_36(), format_value_flags_36(), name_op, nargs_op, NULL, pyc_opcode_object::op_name, opcode_36(), opcode_37(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rm_op, rz_list_purge(), and pyc_opcodes::version_sig.
Referenced by opcode_37(), and opcode_38().
pyc_opcodes* opcode_38 | ( | void | ) |
Definition at line 6 of file opcode_38.c.
References add_arg_fmt(), def_op, format_CALL_FUNCTION_EX_36(), format_CALL_FUNCTION_KW_36(), format_extended_arg_36(), format_MAKE_FUNCTION_arg_36(), format_value_flags_36(), jrel_op, nargs_op, NULL, pyc_opcode_object::op_name, opcode_37(), opcode_38(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rm_op, rz_list_purge(), and pyc_opcodes::version_sig.
Referenced by opcode_38(), and opcode_39().
pyc_opcodes* opcode_39 | ( | void | ) |
Definition at line 6 of file opcode_39.c.
References add_arg_fmt(), def_op, format_CALL_FUNCTION_EX_36(), format_CALL_FUNCTION_KW_36(), format_extended_arg_36(), format_MAKE_FUNCTION_arg_36(), format_value_flags_36(), NULL, pyc_opcode_object::op_name, opcode_38(), opcode_39(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rm_op, rz_list_purge(), and pyc_opcodes::version_sig.
Referenced by opcode_39().
pyc_opcodes* opcode_3x | ( | void | ) |
Definition at line 6 of file opcode_3x.c.
References add_arg_fmt(), compare_op, const_op00, def_op, def_op00, pyc_opcodes::extended_arg, format_extended_arg(), FREE_OP, free_op, pyc_opcodes::have_argument, jabs_op, jrel_op, LOCAL_OP, local_op, NAME_OP, name_op, nargs_op, new_pyc_opcodes(), NULL, pyc_opcode_object::op_name, opcode_3x(), pyc_opcodes::opcode_arg_fmt, pyc_opcodes::opcodes, rz_list_purge(), store_op, store_op00, varargs_op, and pyc_opcodes::version_sig.
Referenced by opcode_32(), opcode_33(), and opcode_3x().
bool pyc_opcodes_equal | ( | pyc_opcodes * | op, |
const char * | version | ||
) |
Definition at line 151 of file opcode.c.
References NULL, version_opcode::opcode_func, version_opcode::version, and version_op.
Referenced by disassemble(), and pyc_op().
void() rm_op | ( | struct op_parameter | par | ) |
Definition at line 327 of file opcode.c.
References free(), pyc_opcode_object::op_code, pyc_opcode_object::op_name, op_parameter::op_obj, pyc_opcode_object::op_pop, pyc_opcode_object::op_push, RZ_LOG_ERROR, rz_str_newf(), and pyc_opcode_object::type.
void() store_opN | ( | struct op_parameter | par | ) |
Definition at line 270 of file opcode.c.
References DEF_OP, def_op, FREE_OP, free_op, HASSTORE, LOCAL_OP, local_op, NAME_OP, name_op, pyc_opcode_object::op_name, op_parameter::op_obj, and RZ_LOG_ERROR.
void() varargs_op | ( | struct op_parameter | par | ) |