Macros | Functions | Variables
test.cpp File Reference

Go to the source code of this file.

Macros

#define offset(a, b)   ( (reinterpret_cast<uintptr_t>(&(a))) - (reinterpret_cast<uintptr_t>(&(b))) )
 

Functions

char * alloc_exec (size_t size)
 
int main (int argc, char *argv[])
 

Variables

const auto c_dummy_misc_filename = "../cross/libdummy_misc.so"
 
const auto c_dummy_code_filename = "../cross/libdummy_code.so"
 

Macro Definition Documentation

◆ offset

#define offset (   a,
 
)    ( (reinterpret_cast<uintptr_t>(&(a))) - (reinterpret_cast<uintptr_t>(&(b))) )

Definition at line 192 of file test.cpp.

Function Documentation

◆ alloc_exec()

char* alloc_exec ( size_t  size)

Definition at line 154 of file test.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 323 of file test.cpp.

Variable Documentation

◆ c_dummy_misc_filename

const auto c_dummy_misc_filename = "../cross/libdummy_misc.so"

Definition at line 26 of file test.cpp.

◆ c_dummy_code_filename

const auto c_dummy_code_filename = "../cross/libdummy_code.so"

Definition at line 27 of file test.cpp.