miasm
Reverse engineering framework
int_util.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define compilerrt_abort()   __compilerrt_abort_impl(__FILE__, __LINE__, __func__)
 Trigger a program abort (or panic for kernel code). More...
 
#define COMPILE_TIME_ASSERT(expr)   COMPILE_TIME_ASSERT1(expr, __COUNTER__)
 
#define COMPILE_TIME_ASSERT1(expr, cnt)   COMPILE_TIME_ASSERT2(expr, cnt)
 
#define COMPILE_TIME_ASSERT2(expr, cnt)    typedef char ct_assert_##cnt[(expr) ? 1 : -1] UNUSED
 

Functions

NORETURN void __compilerrt_abort_impl (const char *file, int line, const char *function)
 

Macro Definition Documentation

◆ COMPILE_TIME_ASSERT

#define COMPILE_TIME_ASSERT (   expr)    COMPILE_TIME_ASSERT1(expr, __COUNTER__)

◆ COMPILE_TIME_ASSERT1

#define COMPILE_TIME_ASSERT1 (   expr,
  cnt 
)    COMPILE_TIME_ASSERT2(expr, cnt)

◆ COMPILE_TIME_ASSERT2

#define COMPILE_TIME_ASSERT2 (   expr,
  cnt 
)     typedef char ct_assert_##cnt[(expr) ? 1 : -1] UNUSED

◆ compilerrt_abort

#define compilerrt_abort ( )    __compilerrt_abort_impl(__FILE__, __LINE__, __func__)

Trigger a program abort (or panic for kernel code).

Function Documentation

◆ __compilerrt_abort_impl()

NORETURN void __compilerrt_abort_impl ( const char *  file,
int  line,
const char *  function 
)