Rizin
unix-like reverse engineering framework and cli tools
|
Store valuable info when parsing. Treat luac file body as a main function. More...
#include <luac_common.h>
Public Attributes | |
ut64 | offset |
proto offset in bytes More... | |
ut64 | size |
current proto size More... | |
ut8 * | proto_name |
current proto name More... | |
int | name_size |
size of proto name More... | |
ut64 | line_defined |
line number of function start More... | |
ut64 | lastline_defined |
line number of function end More... | |
ut8 | num_params |
number of parameters of this proto More... | |
ut8 | is_vararg |
is variable arg? More... | |
ut8 | max_stack_size |
max stack size More... | |
ut64 | code_offset |
code section offset More... | |
ut64 | code_size |
code section size More... | |
ut64 | code_skipped |
opcode data offset to code_offset. More... | |
RzList * | const_entries |
A list to store constant entries. More... | |
ut64 | const_offset |
const section offset More... | |
ut64 | const_size |
const section size More... | |
RzList * | upvalue_entries |
A list to store upvalue entries. More... | |
ut64 | upvalue_offset |
upvalue section offset More... | |
ut64 | upvalue_size |
upvalue section size More... | |
RzList * | proto_entries |
A list to store sub proto entries. More... | |
ut64 | inner_proto_offset |
sub proto section offset More... | |
ut64 | inner_proto_size |
sub proto section size More... | |
ut64 | debug_offset |
debug section offset More... | |
ut64 | debug_size |
debug section size More... | |
RzList * | line_info_entries |
A list to store line info entries. More... | |
RzList * | abs_line_info_entries |
A list to store absolutely line info entries. More... | |
RzList * | local_var_info_entries |
A list to store local var entries. More... | |
RzList * | dbg_upvalue_entries |
A list to store upvalue names. More... | |
Store valuable info when parsing. Treat luac file body as a main function.
Definition at line 43 of file luac_common.h.
RzList* lua_proto_ex::abs_line_info_entries |
A list to store absolutely line info entries.
Definition at line 81 of file luac_common.h.
Referenced by lua_free_proto_entry(), lua_new_proto_entry(), and lua_parse_debug().
ut64 lua_proto_ex::code_offset |
code section offset
Definition at line 58 of file luac_common.h.
Referenced by _luac_build_info(), lua_parse_body_53(), lua_parse_body_54(), and luac_build_info().
ut64 lua_proto_ex::code_size |
code section size
Definition at line 59 of file luac_common.h.
Referenced by _luac_build_info(), and lua_parse_code().
ut64 lua_proto_ex::code_skipped |
opcode data offset to code_offset.
Definition at line 60 of file luac_common.h.
Referenced by lua_parse_code(), and luac_build_info().
RzList* lua_proto_ex::const_entries |
A list to store constant entries.
Definition at line 63 of file luac_common.h.
Referenced by _luac_build_info(), lua_free_proto_entry(), lua_new_proto_entry(), and lua_parse_const_entry().
ut64 lua_proto_ex::const_offset |
const section offset
Definition at line 64 of file luac_common.h.
Referenced by _luac_build_info(), lua_parse_body_53(), and lua_parse_body_54().
ut64 lua_proto_ex::const_size |
const section size
Definition at line 65 of file luac_common.h.
Referenced by _luac_build_info(), and lua_parse_consts().
RzList* lua_proto_ex::dbg_upvalue_entries |
A list to store upvalue names.
Definition at line 83 of file luac_common.h.
Referenced by _luac_build_info(), lua_free_proto_entry(), lua_new_proto_entry(), and lua_parse_debug().
ut64 lua_proto_ex::debug_offset |
debug section offset
Definition at line 78 of file luac_common.h.
Referenced by _luac_build_info(), lua_parse_body_53(), and lua_parse_body_54().
ut64 lua_proto_ex::debug_size |
debug section size
Definition at line 79 of file luac_common.h.
Referenced by _luac_build_info(), and lua_parse_debug().
ut64 lua_proto_ex::inner_proto_offset |
sub proto section offset
Definition at line 74 of file luac_common.h.
Referenced by _luac_build_info(), lua_parse_body_53(), and lua_parse_body_54().
ut64 lua_proto_ex::inner_proto_size |
sub proto section size
Definition at line 75 of file luac_common.h.
Referenced by _luac_build_info(), lua_parse_body_53(), and lua_parse_body_54().
ut8 lua_proto_ex::is_vararg |
is variable arg?
Definition at line 54 of file luac_common.h.
Referenced by lua_parse_body_53(), and lua_parse_body_54().
ut64 lua_proto_ex::lastline_defined |
line number of function end
Definition at line 51 of file luac_common.h.
Referenced by lua_parse_line_defined().
ut64 lua_proto_ex::line_defined |
line number of function start
Definition at line 50 of file luac_common.h.
Referenced by lua_parse_line_defined().
RzList* lua_proto_ex::line_info_entries |
A list to store line info entries.
Definition at line 80 of file luac_common.h.
Referenced by lua_free_proto_entry(), lua_new_proto_entry(), and lua_parse_debug().
RzList* lua_proto_ex::local_var_info_entries |
A list to store local var entries.
Definition at line 82 of file luac_common.h.
Referenced by _luac_build_info(), lua_free_proto_entry(), lua_new_proto_entry(), and lua_parse_debug().
ut8 lua_proto_ex::max_stack_size |
max stack size
Definition at line 55 of file luac_common.h.
Referenced by lua_parse_body_53(), and lua_parse_body_54().
int lua_proto_ex::name_size |
size of proto name
Definition at line 48 of file luac_common.h.
Referenced by _luac_build_info(), and lua_parse_name().
ut8 lua_proto_ex::num_params |
number of parameters of this proto
Definition at line 53 of file luac_common.h.
Referenced by lua_parse_body_53(), and lua_parse_body_54().
ut64 lua_proto_ex::offset |
proto offset in bytes
Definition at line 44 of file luac_common.h.
Referenced by _luac_build_info(), lua_parse_body_53(), and lua_parse_body_54().
RzList* lua_proto_ex::proto_entries |
A list to store sub proto entries.
Definition at line 73 of file luac_common.h.
Referenced by _luac_build_info(), lua_free_proto_entry(), lua_new_proto_entry(), and lua_parse_protos().
ut8* lua_proto_ex::proto_name |
current proto name
Definition at line 47 of file luac_common.h.
Referenced by _luac_build_info(), lua_free_proto_entry(), and lua_parse_name().
ut64 lua_proto_ex::size |
current proto size
Definition at line 45 of file luac_common.h.
Referenced by _luac_build_info(), lua_parse_body_53(), lua_parse_body_54(), and lua_parse_protos().
RzList* lua_proto_ex::upvalue_entries |
A list to store upvalue entries.
Definition at line 68 of file luac_common.h.
Referenced by _luac_build_info(), lua_free_proto_entry(), lua_new_proto_entry(), and lua_parse_upvalue_entry().
ut64 lua_proto_ex::upvalue_offset |
upvalue section offset
Definition at line 69 of file luac_common.h.
Referenced by _luac_build_info(), lua_parse_body_53(), and lua_parse_body_54().
ut64 lua_proto_ex::upvalue_size |
upvalue section size
Definition at line 70 of file luac_common.h.
Referenced by _luac_build_info(), and lua_parse_upvalues().