13 if (arg_num >
sizeof(
args)) {
17 for (
int i = 0;
i < arg_num; ++
i) {
19 if (delta_offset == 0) {
24 arg_start += delta_offset;
33 if (cur_cnt >= arg_num) {
39 if (cur_cnt >= arg_num) {
45 if (cur_cnt >= arg_num) {
51 if (cur_cnt >= arg_num) {
57 if (cur_cnt >= arg_num) {
63 if (cur_cnt >= arg_num) {
69 if (cur_cnt >= arg_num) {
75 if (cur_cnt >= arg_num) {
81 if (cur_cnt >= arg_num) {
87 if (cur_cnt >= arg_num) {
91 assert(cur_cnt == arg_num);
97 const char *opcode_start;
98 const char *opcode_end;
101 const char *arg_start;
107 opcode_start =
input;
108 opcode_end = strchr(
input,
' ');
109 if (opcode_end ==
NULL) {
110 opcode_end =
input + input_size;
113 opcode_len = opcode_end - opcode_start;
#define has_param_flag(flag, bit)
#define LUA_SET_OPCODE(i, o)
bool lua54_assembly(const char *input, st32 input_size, LuaInstruction *instruction_p)
static LuaInstruction encode_instruction(ut8 opcode, const char *arg_start, ut16 flag, ut8 arg_num)
bool lua_is_valid_num_value_string(const char *str)
int lua_load_next_arg_start(const char *raw_string, char *recv_buf)
int lua_convert_str_to_num(const char *str)
ut8 get_lua54_opcode_by_name(const char *name, int len)
assert(limit<=UINT32_MAX/2)
RZ_API const char * rz_str_trim_head_ro(const char *str)
static bool input(void *ud, zip_uint8_t *data, zip_uint64_t length)