Functions | Variables
test.cpp File Reference

Go to the source code of this file.

Functions

struct eh_frame_tget_eh_frame_list () noexcept
 
int main (int argc, char *argv[])
 

Variables

uintptr_t g_offs = 0
 
uintptr_t g_size = 0
 
eh_frame_t g_eh_frame_list [MAX_NUM_MODULES] = {{nullptr, 0}}
 
void * __eh_frame_start
 
void * __eh_frame_end
 

Function Documentation

◆ get_eh_frame_list()

struct eh_frame_t* get_eh_frame_list ( )
noexcept

Get EH Framework List

Precondition
expects: none
Postcondition
ensures: ret != nullptr

Returns a list of ".eh_frame" sections, containing their start address, and size. This is used by the unwind library to find stack frames. The list should have one .eh_frame section for each module that is loaded.

Returns
eh_frame list (of size MAX_NUM_MODULES)

Definition at line 75 of file test.cpp.

◆ main()

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

Definition at line 151 of file test.cpp.

Variable Documentation

◆ g_offs

uintptr_t g_offs = 0

Definition at line 44 of file test.cpp.

◆ g_size

uintptr_t g_size = 0

Definition at line 45 of file test.cpp.

◆ g_eh_frame_list

eh_frame_t g_eh_frame_list[MAX_NUM_MODULES] = {{nullptr, 0}}

Definition at line 72 of file test.cpp.

◆ __eh_frame_start

void* __eh_frame_start

◆ __eh_frame_end

void* __eh_frame_end