22 #include <sys/syscall.h> 25 #include "allheaders.h" 43 Pix* clone = pixClone(pix);
44 pixSetXRes(clone, resolution);
45 pixSetYRes(clone, resolution);
53 tprintf(
"Received signal %d!\n", signal_code);
61 fprintf(stderr,
"Crash caused by image with resolution %d\n",
63 fprintf(stderr,
"<Cut here>\n");
65 fprintf(stderr,
"\n<End cut>\n");
void set_global_loc_code(int loc_code)
void signal_exit(int signal_code)
const int kMaxNumThreadPixes
void set_global_subsubloc_code(int loc_code)
void set_global_subloc_code(int loc_code)
Pix * global_crash_pixes[kMaxNumThreadPixes]
void SavePixForCrash(int resolution, Pix *pix)