1 #ifndef _lua__address__hpp__included__
2 #define _lua__address__hpp__included__
4 namespace lua
{ class parameters
; }
5 namespace lua
{ class state
; }
7 uint64_t lua_get_vmabase(const std::string
& vma
);
8 uint64_t lua_get_read_address(lua::parameters
& P
);
13 lua_address(lua::state
& L
);
14 static int create(lua::state
& L
, lua::parameters
& P
);
17 std::string
get_vma();
18 uint64_t get_offset();
19 int l_get(lua::state
& L
, lua::parameters
& P
);
20 int l_get_vma(lua::state
& L
, lua::parameters
& P
);
21 int l_get_offset(lua::state
& L
, lua::parameters
& P
);
22 int l_shift(lua::state
& L
, lua::parameters
& P
);
23 int l_replace(lua::state
& L
, lua::parameters
& P
);
24 static size_t overcommit();
25 template<class T
, bool _bswap
> int rw(lua::state
& L
, lua::parameters
& P
);