TA-REF
crt.c File Reference
#include "crt.h"
#include "edger/Enclave_t.h"
+ Include dependency graph for crt.c:

Functions

void crt_end (void)
 

Variables

static void(*const init_array [])() __attribute__((section(".init_array")
 
static void(*const aligned [])(sizeof(void *))))
 
static void(*const fini_array [])() __attribute__((section(".fini_array")
 
void(* __init_array_start [])(void)
 

Function Documentation

◆ crt_end()

void crt_end ( void  )

crt_end() - Ends the certification.

It compares __fini_array_start and __fini_array_end; and then it the loops through the file pointer.

Variable Documentation

◆ __init_array_start

void(* __init_array_start[])(void) ( void  )
extern

crt_begin() - Commences the certification.

It compares __init_array_start and __init_array_end; and then it the loops through the file pointer.

◆ aligned

void(*const aligned[])(sizeof(void *)))) ( sizeof(void *)  )
Initial value:
= {
}

◆ fini_array

void(*const fini_array[])() __attribute__((section(".fini_array") ( )
static

Termination array for the executable.

This section holds an array of function pointers that contributes to a single termination array for the executable or shared object containing the section and if defined is PERF_ENABLE then unmapping the profiler information.

Parameters
fini_array[]constant array.

◆ init_array

void(*const init_array[])() __attribute__((section(".init_array") ( )
static

Initialization array for the executable.

This section holds an array of function pointers that contributes to a single initialization array for the executable or shared object containing the section if defined is PERF_ENABLE then mapping the profiler information.

Parameters
init_array[]constant array.