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

source code of bolt/test/Inputs/stub.c