Rizin
unix-like reverse engineering framework and cli tools
|
#include "luac_specs_53.h"
Go to the source code of this file.
|
static |
Definition at line 7 of file parse_53.c.
References dest, rz_buf_read_at(), and RZ_LOG_ERROR.
Referenced by lua_parse_const_entry().
Definition at line 27 of file parse_53.c.
References rz_buf_read_le32_at, and x.
Referenced by lua_parse_code(), lua_parse_consts(), lua_parse_debug(), lua_parse_line_defined(), lua_parse_protos(), and lua_parse_upvalues().
Definition at line 15 of file parse_53.c.
References rz_buf_read_le64_at, ut64(), and x.
Referenced by lua_parse_header_53().
Definition at line 21 of file parse_53.c.
References rz_buf_read_le64_at, ut64(), and x.
Referenced by lua_parse_header_53().
Definition at line 407 of file parse_53.c.
References lua_proto_ex::code_offset, lua_proto_ex::const_offset, lua_proto_ex::debug_offset, lua_proto_ex::inner_proto_offset, lua_proto_ex::inner_proto_size, lua_proto_ex::is_vararg, lua_check_error_offset_proto, lua_free_proto_entry(), lua_new_proto_entry(), lua_parse_code(), lua_parse_consts(), lua_parse_debug(), lua_parse_line_defined(), lua_parse_name(), lua_parse_protos(), lua_parse_upvalues(), lua_proto_ex::max_stack_size, NULL, lua_proto_ex::num_params, lua_proto_ex::offset, rz_buf_read8_at(), lua_proto_ex::size, lua_proto_ex::upvalue_offset, and ut64().
Referenced by load_buffer(), and lua_parse_protos().
|
static |
Definition at line 105 of file parse_53.c.
References lua_proto_ex::code_size, lua_proto_ex::code_skipped, lua_load_int(), RZ_LOG_ERROR, and ut64().
Referenced by lua_parse_body_53().
|
static |
Definition at line 129 of file parse_53.c.
References lua_proto_ex::const_entries, lua_constant_entry::data, lua_constant_entry::data_len, lua_check_error_offset, lua_load_block(), lua_new_const_entry(), lua_parse_string(), LUA_TBOOLEAN, LUA_TNIL, LUA_TNUMFLT, LUA_TNUMINT, LUA_VFALSE, LUA_VLNGSTR, LUA_VNIL, LUA_VNUMFLT, LUA_VNUMINT, LUA_VSHRSTR, LUA_VTRUE, NULL, lua_constant_entry::offset, rz_buf_read8_at(), rz_list_append(), RZ_NEWS, lua_constant_entry::tag, autogen_x86imm::tmp, and ut64().
Referenced by lua_parse_consts().
|
static |
Definition at line 213 of file parse_53.c.
References lua_proto_ex::const_size, i, lua_check_error_offset, lua_load_int(), lua_parse_const_entry(), and ut64().
Referenced by lua_parse_body_53().
|
static |
Definition at line 295 of file parse_53.c.
References lua_proto_ex::dbg_upvalue_entries, lua_proto_ex::debug_size, lua_local_var_entry::end_pc, i, lua_lineinfo_entry::info_data, int, lua_proto_ex::line_info_entries, lua_proto_ex::local_var_info_entries, lua_check_error_offset, lua_load_int(), lua_new_dbg_upvalue_entry(), lua_new_lineinfo_entry(), lua_new_local_var_entry(), lua_parse_string(), lua_dbg_upvalue_entry::name_len, lua_lineinfo_entry::offset, lua_local_var_entry::offset, lua_dbg_upvalue_entry::offset, rz_list_append(), lua_local_var_entry::start_pc, lua_dbg_upvalue_entry::upvalue_name, ut64(), lua_local_var_entry::varname, and lua_local_var_entry::varname_len.
Referenced by lua_parse_body_53().
Definition at line 483 of file parse_53.c.
References rz_bin_info_t::arch, rz_bin_info_t::bclass, rz_bin_info_t::bits, rz_bin_file_t::buf, rz_bin_info_t::compiler, rz_bin_info_t::cpu, rz_bin_info_t::file, rz_bin_file_t::file, free(), rz_bin_info_t::guid, lua_load_integer(), lua_load_number(), lua_parse_string(), LUAC_53_FORMAT_OFFSET, LUAC_53_HDRSIZE, LUAC_53_INSTRUCTION_SIZE_OFFSET, LUAC_53_INT_SIZE_OFFSET, LUAC_53_INT_VALIDATION, LUAC_53_INTEGER_SIZE_OFFSET, LUAC_53_INTEGER_VALID_OFFSET, LUAC_53_NUMBER_SIZE_OFFSET, LUAC_53_NUMBER_VALID_OFFSET, LUAC_53_NUMBER_VALIDATION, LUAC_53_SIZET_SIZE_OFFSET, LUAC_54_FORMAT, LUAC_FILENAME_OFFSET, rz_bin_info_t::machine, major, minor, NULL, rz_bin_info_t::os, rz_bin_info_t::rclass, rz_buf_read8_at(), RZ_LOG_ERROR, RZ_NEW0, rz_str_new(), rz_str_newf(), rz_bin_file_t::size, st64, rz_bin_info_t::type, and ut64().
Referenced by load_buffer().
|
static |
Definition at line 33 of file parse_53.c.
References lua_proto_ex::lastline_defined, lua_proto_ex::line_defined, lua_load_int(), and ut64().
Referenced by lua_parse_body_53().
|
static |
Definition at line 101 of file parse_53.c.
References lua_parse_string(), lua_proto_ex::name_size, and lua_proto_ex::proto_name.
Referenced by lua_parse_body_53().
|
static |
Definition at line 378 of file parse_53.c.
References i, lua_load_int(), lua_parse_body_53(), lua_return_if_null, lua_proto_ex::proto_entries, rz_list_append(), rz_return_val_if_fail, lua_proto_ex::size, and ut64().
Referenced by lua_parse_body_53().
|
static |
Definition at line 54 of file parse_53.c.
References dest, len, NULL, rz_buf_read8_at(), rz_buf_read_at(), RZ_LOG_ERROR, RZ_NEWS, and ut64().
Referenced by lua_parse_const_entry(), lua_parse_debug(), lua_parse_header_53(), and lua_parse_name().
|
static |
Definition at line 240 of file parse_53.c.
References lua_upvalue_entry::idx, lua_upvalue_entry::instack, lua_upvalue_entry::kind, lua_new_upvalue_entry(), lua_upvalue_entry::offset, rz_buf_read8_at(), rz_list_append(), lua_proto_ex::upvalue_entries, and ut64().
Referenced by lua_parse_upvalues().
|
static |
Definition at line 268 of file parse_53.c.
References i, lua_check_error_offset, lua_load_int(), lua_parse_upvalue_entry(), lua_proto_ex::upvalue_size, and ut64().
Referenced by lua_parse_body_53().