Rizin
unix-like reverse engineering framework and cli tools
|
#include "luac_specs_54.h"
Go to the source code of this file.
|
static |
Definition at line 6 of file parse_54.c.
References dest, rz_buf_read_at(), and RZ_LOG_ERROR.
Referenced by lua_parse_const_entry().
Definition at line 14 of file parse_54.c.
References rz_buf_read_le64_at, ut64(), and x.
Referenced by lua_parse_header_54().
Definition at line 20 of file parse_54.c.
References rz_buf_read_le64_at, ut64(), and x.
Referenced by lua_parse_header_54().
Definition at line 410 of file parse_54.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(), rz_return_val_if_fail, lua_proto_ex::size, lua_proto_ex::upvalue_offset, and ut64().
Referenced by load_buffer(), and lua_parse_protos().
|
static |
Definition at line 123 of file parse_54.c.
References lua_proto_ex::code_size, lua_proto_ex::code_skipped, lua_check_error_offset, lua_parse_szint(), RZ_LOG_ERROR, and ut64().
Referenced by lua_parse_body_54().
|
static |
Definition at line 144 of file parse_54.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_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, and ut64().
Referenced by lua_parse_consts().
|
static |
Definition at line 206 of file parse_54.c.
References lua_proto_ex::const_size, i, lua_check_error_offset, lua_parse_const_entry(), lua_parse_szint(), and ut64().
Referenced by lua_parse_body_54().
|
static |
Definition at line 286 of file parse_54.c.
References lua_proto_ex::abs_line_info_entries, lua_proto_ex::dbg_upvalue_entries, lua_proto_ex::debug_size, lua_local_var_entry::end_pc, free(), i, lua_lineinfo_entry::info_data, lua_abs_lineinfo_entry::line, lua_proto_ex::line_info_entries, lua_proto_ex::local_var_info_entries, lua_check_error_offset, lua_new_abs_lineinfo_entry(), lua_new_dbg_upvalue_entry(), lua_new_lineinfo_entry(), lua_new_local_var_entry(), lua_parse_string(), lua_parse_szint(), lua_dbg_upvalue_entry::name_len, lua_lineinfo_entry::offset, lua_abs_lineinfo_entry::offset, lua_local_var_entry::offset, lua_dbg_upvalue_entry::offset, lua_abs_lineinfo_entry::pc, rz_buf_read8_at(), rz_list_append(), lua_local_var_entry::start_pc, autogen_x86imm::tmp, lua_dbg_upvalue_entry::upvalue_name, ut64(), lua_local_var_entry::varname, and lua_local_var_entry::varname_len.
Referenced by lua_parse_body_54().
Definition at line 484 of file parse_54.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_54_FORMAT, LUAC_54_FORMAT_OFFSET, LUAC_54_HDRSIZE, LUAC_54_INSTRUCTION_SIZE_OFFSET, LUAC_54_INT_VALIDATION, LUAC_54_INTEGER_SIZE_OFFSET, LUAC_54_INTEGER_VALID_OFFSET, LUAC_54_NUMBER_SIZE_OFFSET, LUAC_54_NUMBER_VALID_OFFSET, LUAC_54_NUMBER_VALIDATION, 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 102 of file parse_54.c.
References lua_proto_ex::lastline_defined, lua_proto_ex::line_defined, lua_check_error_offset, lua_parse_szint(), and ut64().
Referenced by lua_parse_body_54().
|
static |
Definition at line 98 of file parse_54.c.
References lua_parse_string(), lua_proto_ex::name_size, and lua_proto_ex::proto_name.
Referenced by lua_parse_body_54().
|
static |
Definition at line 385 of file parse_54.c.
References i, lua_check_error_offset, lua_parse_body_54(), lua_parse_szint(), 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_54().
|
static |
Definition at line 61 of file parse_54.c.
References dest, lua_check_error_offset, lua_parse_szint(), NULL, rz_buf_read_at(), RZ_LOG_ERROR, RZ_NEWS, and ut64().
Referenced by lua_parse_const_entry(), lua_parse_debug(), lua_parse_header_54(), and lua_parse_name().
Definition at line 28 of file parse_54.c.
References b, i, limit, rz_buf_read8_at(), RZ_LOG_ERROR, autogen_x86imm::tmp, and x.
Referenced by lua_parse_code(), lua_parse_consts(), lua_parse_debug(), lua_parse_line_defined(), lua_parse_protos(), lua_parse_string(), and lua_parse_upvalues().
|
static |
Definition at line 230 of file parse_54.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 263 of file parse_54.c.
References i, lua_check_error_offset, lua_parse_szint(), lua_parse_upvalue_entry(), lua_proto_ex::upvalue_size, and ut64().
Referenced by lua_parse_body_54().