18 #define HINSTANCE void*
58 #define LUA lcfr_globals.lua_state
59 #define PID lcfr_globals.pid
60 #define TID lcfr_globals.tid
61 #define BASE lcfr_globals.htarget
62 #define DLL_HANDLE lcfr_globals.hself
63 #define PAGESIZE lcfr_globals.pagesize
73 void initialize_globals(
void);
lua_State * lua_state
(main) Lua state
Definition: globals.h:30
struct lcfr_globals_t lcfr_globals
global state
Definition: globals.c:8
HINSTANCE htarget
"target" module handle = base addr of main executable
Definition: globals.h:25
void * libhandle
dynamic library handle, may be != hself under Linux
Definition: globals.h:24
This struct describes Lucciefr's global variables ("status"), accessible from anywhere.
Definition: globals.h:22
unsigned int pagesize
the system's page size (in bytes)
Definition: globals.h:27
HINSTANCE hself
"self" module handle = base addr of dynamic library
Definition: globals.h:26
pid_t pid
process ID
Definition: globals.h:23
char dllpath[PATH_MAX]
(absolute) file path of the dynamic library
Definition: globals.h:28