Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Macros | Functions
0.alloc.cpp File Reference
#include <setjmp.h>
#include <signal.h>
#include <stddef.h>
#include <rw_alloc.h>
#include <rw_printf.h>
#include <rw_driver.h>
Include dependency graph for 0.alloc.cpp:

Go to the source code of this file.

Data Structures

struct  TestCase
 

Macros

#define SETJMP(env)   setjmp (env)
 
#define BEGIN_TEST_OVERRUN()
 
#define TEST(size, index, prot)    { size, index, prot, __FILE__, __LINE__ }
 

Functions

void test (const TestCase &tcase)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ BEGIN_TEST_OVERRUN

#define BEGIN_TEST_OVERRUN ( )
Value:
(signal (SIGSEGV, sig_handler), \
(0 == SETJMP (mark)))
#define SETJMP(env)
Definition 0.alloc.cpp:51
#define SIGSEGV

Definition at line 54 of file 0.alloc.cpp.

◆ SETJMP

#define SETJMP (   env)    setjmp (env)

Definition at line 51 of file 0.alloc.cpp.

◆ TEST

#define TEST (   size,
  index,
  prot 
)     { size, index, prot, __FILE__, __LINE__ }

Function Documentation

◆ main()

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

Definition at line 173 of file 0.alloc.cpp.

◆ test()

void test ( const TestCase &  tcase)

Definition at line 67 of file 0.alloc.cpp.