INFO: No output directory specified (--dir) INFO: Using directory: "Test_Guides_20250815_005940" INFO: Regenerating c-file: Test_Guides.c DEBUG: CMD: /home/willend/micromamba/bin/mcstas -t -o ./Test_Guides.c Test_Guides.instr Info: 'Guide_curved' is a contributed component. Info: 'Guide_honeycomb' is a contributed component. Info: 'Guide_anyshape_r' is a contributed component. CFLAGS= -DUSE_OFF ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: /home/willend/micromamba/bin/mcstas finished INFO: Linting generated code: ./Test_Guides.c DEBUG: CMD: cppcheck ./Test_Guides.c --check-level=exhaustive --force -DMCDEFAULT_NCOUNT=1000000 -UMC_PORTABLE -DND_BUFFER=10000000 -UNOABSORB_INF_NAN -UOMPI_MPI_H -DSIGABRT -DSIGBREAK -DSIGBUS -DSIGPE -DSIGHUP -DSIGILL -DSIGINT -DSIGKILL -DSIGUSR1 -DSIGUSR2 -DSIGPIPE -DSIGQUIT -DSIGSEGV -DSIGTRAP -DSIGURG -DSIGFPE -DSIGKILL -DSIGTERM -UTEST -UUSE_OPENCL -UWIN32 -UOPENACC -UGCCOFFLOAD -U_MSC_VER -U_MSC_EXTENSIONS -U_WIN32 -UWIN32 -D__unix__ -UDANSE -UFUNNEL -UMC_ANCIENT_COMPATIBILITY -UMC_POL_COMPAT -UNEUTRONICS -Uisnan -Uisinf Checking Test_Guides.c ... Checking Test_Guides.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1... Test_Guides.c:14765:7: warning: If memory allocation fails, then there is a possible null pointer dereference: vertices [nullPointerOutOfMemory] vertices[3*j] =vtxArray[indVertPj].x; ^ Test_Guides.c:14759:28: note: Assuming allocation function fails double *vertices=malloc(3*nbVertex*sizeof(double)); ^ Test_Guides.c:14759:28: note: Assignment 'vertices=malloc(3*nbVertex*sizeof(double))', assigned value is 0 double *vertices=malloc(3*nbVertex*sizeof(double)); ^ Test_Guides.c:14765:7: note: Null pointer dereference vertices[3*j] =vtxArray[indVertPj].x; ^ Test_Guides.c:14766:7: warning: If memory allocation fails, then there is a possible null pointer dereference: vertices [nullPointerOutOfMemory] vertices[3*j+1]=vtxArray[indVertPj].y; ^ Test_Guides.c:14759:28: note: Assuming allocation function fails double *vertices=malloc(3*nbVertex*sizeof(double)); ^ Test_Guides.c:14759:28: note: Assignment 'vertices=malloc(3*nbVertex*sizeof(double))', assigned value is 0 double *vertices=malloc(3*nbVertex*sizeof(double)); ^ Test_Guides.c:14766:7: note: Null pointer dereference vertices[3*j+1]=vtxArray[indVertPj].y; ^ Test_Guides.c:14767:7: warning: If memory allocation fails, then there is a possible null pointer dereference: vertices [nullPointerOutOfMemory] vertices[3*j+2]=vtxArray[indVertPj].z; ^ Test_Guides.c:14759:28: note: Assuming allocation function fails double *vertices=malloc(3*nbVertex*sizeof(double)); ^ Test_Guides.c:14759:28: note: Assignment 'vertices=malloc(3*nbVertex*sizeof(double))', assigned value is 0 double *vertices=malloc(3*nbVertex*sizeof(double)); ^ Test_Guides.c:14767:7: note: Null pointer dereference vertices[3*j+2]=vtxArray[indVertPj].z; ^ Test_Guides.c:14777:9: warning: If memory allocation fails, then there is a possible null pointer dereference: vertices [nullPointerOutOfMemory] vertices[0],vertices[1],vertices[2]); ^ Test_Guides.c:14759:28: note: Assuming allocation function fails double *vertices=malloc(3*nbVertex*sizeof(double)); ^ Test_Guides.c:14759:28: note: Assignment 'vertices=malloc(3*nbVertex*sizeof(double))', assigned value is 0 double *vertices=malloc(3*nbVertex*sizeof(double)); ^ Test_Guides.c:14777:9: note: Null pointer dereference vertices[0],vertices[1],vertices[2]); ^ Test_Guides.c:14777:21: warning: If memory allocation fails, then there is a possible null pointer dereference: vertices [nullPointerOutOfMemory] vertices[0],vertices[1],vertices[2]); ^ Test_Guides.c:14759:28: note: Assuming allocation function fails double *vertices=malloc(3*nbVertex*sizeof(double)); ^ Test_Guides.c:14759:28: note: Assignment 'vertices=malloc(3*nbVertex*sizeof(double))', assigned value is 0 double *vertices=malloc(3*nbVertex*sizeof(double)); ^ Test_Guides.c:14777:21: note: Null pointer dereference vertices[0],vertices[1],vertices[2]); ^ Test_Guides.c:14777:33: warning: If memory allocation fails, then there is a possible null pointer dereference: vertices [nullPointerOutOfMemory] vertices[0],vertices[1],vertices[2]); ^ Test_Guides.c:14759:28: note: Assuming allocation function fails double *vertices=malloc(3*nbVertex*sizeof(double)); ^ Test_Guides.c:14759:28: note: Assignment 'vertices=malloc(3*nbVertex*sizeof(double))', assigned value is 0 double *vertices=malloc(3*nbVertex*sizeof(double)); ^ Test_Guides.c:14777:33: note: Null pointer dereference vertices[0],vertices[1],vertices[2]); ^ Test_Guides.c:24142:3: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] xplus[i] = tempx + guideInfo.ellipseMinorOffset[RightSide]; ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24142:3: note: Null pointer dereference xplus[i] = tempx + guideInfo.ellipseMinorOffset[RightSide]; ^ Test_Guides.c:24143:3: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] xminus[i]= -tempx + guideInfo.ellipseMinorOffset[RightSide]; ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24143:3: note: Null pointer dereference xminus[i]= -tempx + guideInfo.ellipseMinorOffset[RightSide]; ^ Test_Guides.c:24156:3: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] yplus[i] = tempy + guideInfo.ellipseMinorOffset[TopSide]; ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24156:3: note: Null pointer dereference yplus[i] = tempy + guideInfo.ellipseMinorOffset[TopSide]; ^ Test_Guides.c:24157:3: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] yminus[i]= -tempy + guideInfo.ellipseMinorOffset[TopSide]; ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24157:3: note: Null pointer dereference yminus[i]= -tempy + guideInfo.ellipseMinorOffset[TopSide]; ^ Test_Guides.c:24169:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24169:8: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24169:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24169:18: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24169:51: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24169:51: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24170:16: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24170:16: note: Null pointer dereference line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24170:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24170:42: note: Null pointer dereference line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24170:53: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24170:53: note: Null pointer dereference line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24171:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24171:8: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24171:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24171:19: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24171:54: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24171:54: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24172:13: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta,xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24172:13: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta,xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24172:40: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta,xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24172:40: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta,xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24172:50: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta,xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24172:50: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta,xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24173:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24173:8: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24173:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24173:18: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24173:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24173:45: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24174:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24174:8: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24174:41: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24174:41: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24174:51: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24174:51: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24175:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24175:8: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24175:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24175:42: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24175:52: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24175:52: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24176:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24176:8: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24176:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24176:18: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24176:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24176:45: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24180:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24180:8: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24180:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24180:18: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24180:50: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24180:50: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24181:16: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 , yplus[j],zvalue+j*zdelta,xminus[j] , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24181:16: note: Null pointer dereference line( 0 , yplus[j],zvalue+j*zdelta,xminus[j] , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24181:41: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( 0 , yplus[j],zvalue+j*zdelta,xminus[j] , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24181:41: note: Null pointer dereference line( 0 , yplus[j],zvalue+j*zdelta,xminus[j] , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24181:53: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 , yplus[j],zvalue+j*zdelta,xminus[j] , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24181:53: note: Null pointer dereference line( 0 , yplus[j],zvalue+j*zdelta,xminus[j] , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24182:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24182:8: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24182:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24182:19: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24182:55: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24182:55: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24183:13: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24183:13: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24183:41: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24183:41: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24183:51: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24183:51: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24184:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24184:8: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24184:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24184:18: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24184:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24184:45: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24185:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24185:8: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24185:41: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24185:41: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24185:51: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24185:51: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24186:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24186:8: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24186:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24186:42: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24186:52: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24186:52: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24187:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24187:8: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides.c:24187:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24187:18: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides.c:24187:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24187:45: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides.c:24196:29: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] if( boardestPlace <= fabs(yplus[m0]) ){ ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24196:29: note: Null pointer dereference if( boardestPlace <= fabs(yplus[m0]) ){ ^ Test_Guides.c:24203:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24203:8: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24203:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24203:18: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24203:50: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24203:50: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24204:16: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24204:16: note: Null pointer dereference line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24204:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24204:42: note: Null pointer dereference line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24204:53: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24204:53: note: Null pointer dereference line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24205:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24205:8: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24205:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24205:19: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24205:54: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24205:54: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24206:13: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24206:13: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24206:41: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24206:41: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24206:51: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24206:51: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24207:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24207:8: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24207:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24207:18: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24207:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24207:45: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides.c:24208:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta, xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24208:8: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta, xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24208:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta, xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24208:42: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta, xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24208:52: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta, xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24208:52: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta, xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides.c:24209:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24209:8: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24209:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24209:42: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24209:52: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24209:52: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides.c:24210:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta, xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24210:8: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta, xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides.c:24210:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta, xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24210:18: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta, xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides.c:24210:46: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta, xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24210:46: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta, xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides.c:24219:9: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24219:9: note: Null pointer dereference line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides.c:24219:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24219:19: note: Null pointer dereference line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides.c:24219:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24219:45: note: Null pointer dereference line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides.c:24219:57: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24219:57: note: Null pointer dereference line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides.c:24220:9: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24220:9: note: Null pointer dereference line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides.c:24220:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24220:19: note: Null pointer dereference line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides.c:24220:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24220:45: note: Null pointer dereference line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides.c:24220:57: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24220:57: note: Null pointer dereference line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides.c:24222:9: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24222:9: note: Null pointer dereference line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides.c:24222:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24222:19: note: Null pointer dereference line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides.c:24222:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24222:45: note: Null pointer dereference line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides.c:24222:57: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24222:57: note: Null pointer dereference line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides.c:24224:9: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24224:9: note: Null pointer dereference line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides.c:24224:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24224:19: note: Null pointer dereference line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides.c:24224:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24224:45: note: Null pointer dereference line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides.c:24224:57: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24224:57: note: Null pointer dereference line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides.c:24226:9: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[k],0 , zvalue+k*zdelta, xminus[k+1],0 , zvalue+(k+1)*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24226:9: note: Null pointer dereference line( xminus[k],0 , zvalue+k*zdelta, xminus[k+1],0 , zvalue+(k+1)*zdelta); ^ Test_Guides.c:24226:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[k],0 , zvalue+k*zdelta, xminus[k+1],0 , zvalue+(k+1)*zdelta); ^ Test_Guides.c:24100:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24100:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24226:42: note: Null pointer dereference line( xminus[k],0 , zvalue+k*zdelta, xminus[k+1],0 , zvalue+(k+1)*zdelta); ^ Test_Guides.c:24227:9: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[k], 0 , zvalue+k*zdelta, xplus[k+1], 0 , zvalue+(k+1)*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24227:9: note: Null pointer dereference line( xplus[k], 0 , zvalue+k*zdelta, xplus[k+1], 0 , zvalue+(k+1)*zdelta); ^ Test_Guides.c:24227:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[k], 0 , zvalue+k*zdelta, xplus[k+1], 0 , zvalue+(k+1)*zdelta); ^ Test_Guides.c:24099:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24099:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24227:42: note: Null pointer dereference line( xplus[k], 0 , zvalue+k*zdelta, xplus[k+1], 0 , zvalue+(k+1)*zdelta); ^ Test_Guides.c:24229:14: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0 , yminus[k], zvalue+k*zdelta, 0 ,yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24229:14: note: Null pointer dereference line( 0 , yminus[k], zvalue+k*zdelta, 0 ,yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides.c:24229:50: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0 , yminus[k], zvalue+k*zdelta, 0 ,yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides.c:24102:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24102:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24229:50: note: Null pointer dereference line( 0 , yminus[k], zvalue+k*zdelta, 0 ,yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides.c:24230:13: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 ,yplus[k] , zvalue+k*zdelta , 0 ,yplus[k] , zvalue+(k+1)*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24230:13: note: Null pointer dereference line( 0 ,yplus[k] , zvalue+k*zdelta , 0 ,yplus[k] , zvalue+(k+1)*zdelta); ^ Test_Guides.c:24230:48: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 ,yplus[k] , zvalue+k*zdelta , 0 ,yplus[k] , zvalue+(k+1)*zdelta); ^ Test_Guides.c:24101:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24101:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides.c:24230:48: note: Null pointer dereference line( 0 ,yplus[k] , zvalue+k*zdelta , 0 ,yplus[k] , zvalue+(k+1)*zdelta); ^ Test_Guides.c:15218:41: error: Undefined behavior: Variable 'pixelinfo' is used as parameter and destination in sprintf(). [sprintfOverlappingData] sprintf(pixelinfo, "%s,%g,%g,%g", pixelinfo, x2-cmx, y2-cmy, z2-cmz); ^ Test_Guides.c:13367:9: warning: Uninitialized variable: boolean [uninitvar] return boolean; ^ Test_Guides.c:13322:16: note: Assuming condition is true if (solutionH <= 0) ^ Test_Guides.c:13367:9: note: Uninitialized variable: boolean return boolean; ^ Test_Guides.c:14773:30: error: Uninitialized variable: p.D [uninitvar] r_off_normal(&(p.normal),p); ^ Test_Guides.c:14334:43: error: Uninitialized variable: pol [legacyUninitvar] if (r_off_intersectPoly(&x, a, b, pol)) ^ Test_Guides.c:14773:30: error: Uninitialized struct member: p.D [uninitStructMember] r_off_normal(&(p.normal),p); ^ Checking Test_Guides.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;OFF_LEGACY... Checking Test_Guides.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;SIGKILL;SIGUSR1;SIGUSR2... Checking Test_Guides.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;USE_MPI... Checking Test_Guides.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;USE_MPI;USE_NEXUS... Checking Test_Guides.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;USE_NEXUS... Checking Test_Guides.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;__APPLE__;__GNUC__... Checking Test_Guides.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;__APPLE__;__unix__... Checking Test_Guides.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;__FreeBSD__... Checking Test_Guides.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;__GNUC__... Checking Test_Guides.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;__GNUC__;__clang__... Checking Test_Guides.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;__dest_os... DEBUG: CMD: cppcheck finished INFO: End of linting ./Test_Guides.c