1 // The stub symbols library used for testing purposes
2
memcpy(void * dest,const void * src,unsigned long n)3 void *memcpy(void *dest, const void *src, unsigned long n) { return 0; }
memset(void * dest,int c,unsigned long n)4 void *memset(void *dest, int c, unsigned long n) { return 0; }
printf(const char * format,...)5 int printf(const char *format, ...) { return 0; }
exit(int status)6 void exit(int status) {}
puts(const char * s)7 int puts(const char *s) { return 0; }
rand(void)8 int rand(void) { return 0; }
9
10 void *__gxx_personality_v0;
11 void *__cxa_allocate_exception;
12 void *_ZTIi;
13 void *__cxa_throw;
14 void *__cxa_begin_catch;
15 void *__cxa_end_catch;
16