Rizin
unix-like reverse engineering framework and cli tools
|
#include "librz/bin/format/luac/luac_common.h"
Go to the source code of this file.
Macros | |
#define | cast(t, exp) ((t)(exp)) |
#define | cast_num(i) cast(LUA_NUMBER, (i)) |
#define | LUAC_54_FORMAT 0 |
#define | LUAC_54_DATA "\x19\x93\r\n\x1a\n" |
#define | LUAC_53_INT_VALIDATION 0x5678 |
#define | LUAC_53_NUMBER_VALIDATION cast_num(370.5) |
#define | LUAC_53_FORMAT_OFFSET 0x05 |
#define | LUAC_53_LUAC_DATA_OFFSET 0x06 |
#define | LUAC_53_INT_SIZE_OFFSET 0x0C |
#define | LUAC_53_SIZET_SIZE_OFFSET 0x0D |
#define | LUAC_53_INSTRUCTION_SIZE_OFFSET 0x0E |
#define | LUAC_53_INTEGER_SIZE_OFFSET 0x0F |
#define | LUAC_53_NUMBER_SIZE_OFFSET 0x10 |
#define | LUAC_53_INTEGER_VALID_OFFSET 0x11 /* from 0x11 - 0x18 : 8 bytes */ |
#define | LUAC_53_NUMBER_VALID_OFFSET 0x19 /* from 0x19 - 0x20 : 8 bytes */ |
#define | LUAC_53_UPVALUES_NUMBER_OFFSET 0x21 |
#define | LUAC_53_HDRSIZE 0x22 |
#define | LUAC_FILENAME_OFFSET 0x22 |
#define | LUA_TNUMFLT (3 | (0 << 4)) /* float numbers */ |
#define | LUA_TNUMINT (3 | (1 << 4)) /* integer numbers */ |
Typedefs | |
typedef double | LUA_NUMBER |
typedef ut64 | LUA_INTEGER |
typedef ut32 | LUA_INT |
#define cast | ( | t, | |
exp | |||
) | ((t)(exp)) |
Definition at line 14 of file luac_specs_53.h.
#define cast_num | ( | i | ) | cast(LUA_NUMBER, (i)) |
Definition at line 15 of file luac_specs_53.h.
#define LUA_TNUMFLT (3 | (0 << 4)) /* float numbers */ |
Definition at line 41 of file luac_specs_53.h.
#define LUA_TNUMINT (3 | (1 << 4)) /* integer numbers */ |
Definition at line 42 of file luac_specs_53.h.
#define LUAC_53_FORMAT_OFFSET 0x05 |
Definition at line 23 of file luac_specs_53.h.
#define LUAC_53_HDRSIZE 0x22 |
Definition at line 34 of file luac_specs_53.h.
#define LUAC_53_INSTRUCTION_SIZE_OFFSET 0x0E |
Definition at line 27 of file luac_specs_53.h.
#define LUAC_53_INT_SIZE_OFFSET 0x0C |
Definition at line 25 of file luac_specs_53.h.
#define LUAC_53_INT_VALIDATION 0x5678 |
Definition at line 19 of file luac_specs_53.h.
#define LUAC_53_INTEGER_SIZE_OFFSET 0x0F |
Definition at line 28 of file luac_specs_53.h.
Definition at line 30 of file luac_specs_53.h.
#define LUAC_53_LUAC_DATA_OFFSET 0x06 |
Definition at line 24 of file luac_specs_53.h.
#define LUAC_53_NUMBER_SIZE_OFFSET 0x10 |
Definition at line 29 of file luac_specs_53.h.
Definition at line 31 of file luac_specs_53.h.
#define LUAC_53_NUMBER_VALIDATION cast_num(370.5) |
Definition at line 20 of file luac_specs_53.h.
#define LUAC_53_SIZET_SIZE_OFFSET 0x0D |
Definition at line 26 of file luac_specs_53.h.
#define LUAC_53_UPVALUES_NUMBER_OFFSET 0x21 |
Definition at line 32 of file luac_specs_53.h.
#define LUAC_54_DATA "\x19\x93\r\n\x1a\n" |
Definition at line 18 of file luac_specs_53.h.
#define LUAC_54_FORMAT 0 |
Definition at line 17 of file luac_specs_53.h.
#define LUAC_FILENAME_OFFSET 0x22 |
Definition at line 37 of file luac_specs_53.h.
Definition at line 12 of file luac_specs_53.h.
typedef ut64 LUA_INTEGER |
Definition at line 11 of file luac_specs_53.h.
typedef double LUA_NUMBER |
Definition at line 10 of file luac_specs_53.h.