Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler. Number of rules (primarily dangerous function names) in C/C++ ruleset: 223 Examining data/arrayfire-3.3.2+dfsg1/CMakeModules/bin2cpp.cpp Examining data/arrayfire-3.3.2+dfsg1/CMakeModules/cuda_compute_capability.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/benchmarks/blas.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/benchmarks/fft.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/benchmarks/pi.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/common/idxio.h Examining data/arrayfire-3.3.2+dfsg1/examples/common/progress.h Examining data/arrayfire-3.3.2+dfsg1/examples/computer_vision/fast.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/computer_vision/harris.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/computer_vision/matching.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/computer_vision/susan.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/financial/black_scholes_options.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/financial/heston_model.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/financial/input.h Examining data/arrayfire-3.3.2+dfsg1/examples/financial/monte_carlo_options.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/getting_started/convolve.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/getting_started/integer.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/getting_started/rainfall.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/getting_started/vectorize.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/graphics/conway.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/graphics/conway_pretty.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/graphics/fractal.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/graphics/gravity_sim.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/graphics/histogram.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/graphics/plot2d.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/graphics/plot3.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/graphics/surface.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/helloworld/helloworld.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/image_processing/adaptive_thresholding.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/image_processing/binary_thresholding.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/image_processing/brain_segmentation.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/image_processing/edge.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/image_processing/filters.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/image_processing/image_demo.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/image_processing/image_editing.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/image_processing/morphing.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/image_processing/optical_flow.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/image_processing/pyramids.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/lin_algebra/cholesky.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/lin_algebra/lu.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/lin_algebra/qr.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/lin_algebra/svd.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/machine_learning/bagging.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/machine_learning/deep_belief_net.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/machine_learning/kmeans.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/machine_learning/knn.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/machine_learning/logistic_regression.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/machine_learning/mnist_common.h Examining data/arrayfire-3.3.2+dfsg1/examples/machine_learning/naive_bayes.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/machine_learning/neural_network.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/machine_learning/perceptron.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/machine_learning/rbm.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/machine_learning/softmax_regression.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/pde/swe.cpp Examining data/arrayfire-3.3.2+dfsg1/examples/unified/basic.cpp Examining data/arrayfire-3.3.2+dfsg1/include/af/algorithm.h Examining data/arrayfire-3.3.2+dfsg1/include/af/arith.h Examining data/arrayfire-3.3.2+dfsg1/include/af/array.h Examining data/arrayfire-3.3.2+dfsg1/include/af/backend.h Examining data/arrayfire-3.3.2+dfsg1/include/af/blas.h Examining data/arrayfire-3.3.2+dfsg1/include/af/compatible.h Examining data/arrayfire-3.3.2+dfsg1/include/af/complex.h Examining data/arrayfire-3.3.2+dfsg1/include/af/constants.h Examining data/arrayfire-3.3.2+dfsg1/include/af/cuda.h Examining data/arrayfire-3.3.2+dfsg1/include/af/data.h Examining data/arrayfire-3.3.2+dfsg1/include/af/defines.h Examining data/arrayfire-3.3.2+dfsg1/include/af/device.h Examining data/arrayfire-3.3.2+dfsg1/include/af/dim4.hpp Examining data/arrayfire-3.3.2+dfsg1/include/af/exception.h Examining data/arrayfire-3.3.2+dfsg1/include/af/features.h Examining data/arrayfire-3.3.2+dfsg1/include/af/gfor.h Examining data/arrayfire-3.3.2+dfsg1/include/af/graphics.h Examining data/arrayfire-3.3.2+dfsg1/include/af/image.h Examining data/arrayfire-3.3.2+dfsg1/include/af/index.h Examining data/arrayfire-3.3.2+dfsg1/include/af/internal.h Examining data/arrayfire-3.3.2+dfsg1/include/af/lapack.h Examining data/arrayfire-3.3.2+dfsg1/include/af/macros.h Examining data/arrayfire-3.3.2+dfsg1/include/af/opencl.h Examining data/arrayfire-3.3.2+dfsg1/include/af/seq.h Examining data/arrayfire-3.3.2+dfsg1/include/af/signal.h Examining data/arrayfire-3.3.2+dfsg1/include/af/statistics.h Examining data/arrayfire-3.3.2+dfsg1/include/af/timing.h Examining data/arrayfire-3.3.2+dfsg1/include/af/traits.hpp Examining data/arrayfire-3.3.2+dfsg1/include/af/util.h Examining data/arrayfire-3.3.2+dfsg1/include/af/vision.h Examining data/arrayfire-3.3.2+dfsg1/include/arrayfire.h Examining data/arrayfire-3.3.2+dfsg1/src/api/c/approx.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/array.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/assign.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/bilateral.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/binary.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/blas.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/cast.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/cholesky.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/colorspace.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/complex.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/convolve.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/convolve_common.hpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/corrcoef.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/covariance.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/data.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/det.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/device.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/diff.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/dog.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/err_common.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/err_common.hpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/error.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/exampleFunction.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/fast.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/features.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/features.hpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/fft.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/fft_common.hpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/fftconvolve.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/filters.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/flip.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/gaussian_kernel.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/gradient.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/graphics_common.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/graphics_common.hpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/hamming.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/handle.hpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/harris.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/hist.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/histeq.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/histogram.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/homography.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/hsv_rgb.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/iir.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/image.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/imageio.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/imageio2.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/imageio_helper.h Examining data/arrayfire-3.3.2+dfsg1/src/api/c/implicit.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/implicit.hpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/index.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/internal.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/inverse.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/join.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/lu.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/match_template.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/mean.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/meanshift.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/median.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/memory.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/moddims.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/morph.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/nearest_neighbour.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/norm.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/ops.hpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/optypes.hpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/orb.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/plot.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/plot3.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/print.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/qr.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/rank.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/reduce.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/regions.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/reorder.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/replace.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/resize.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/rgb_gray.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/rotate.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/sat.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/scan.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/select.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/set.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/shift.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/sift.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/sobel.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/solve.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/sort.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/stats.h Examining data/arrayfire-3.3.2+dfsg1/src/api/c/stdev.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/stream.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/surface.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/susan.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/svd.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/tile.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/transform.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/transform_coordinates.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/transpose.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/type_util.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/type_util.hpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/unary.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/unwrap.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/var.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/version.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/where.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/wrap.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/c/ycbcr_rgb.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/approx.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/array.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/bilateral.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/binary.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/blas.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/colorspace.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/common.hpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/complex.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/constants.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/convolve.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/corrcoef.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/covariance.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/data.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/device.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/diff.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/dog.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/error.hpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/exampleFunction.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/exception.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/fast.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/features.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/fft.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/fftconvolve.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/filters.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/gaussian_kernel.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/gfor.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/gradient.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/graphics.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/hamming.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/harris.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/histogram.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/homography.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/hsv_rgb.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/iir.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/imageio.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/index.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/internal.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/lapack.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/matchTemplate.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/mean.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/meanshift.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/median.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/morph.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/nearest_neighbour.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/orb.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/reduce.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/regions.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/resize.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/rgb_gray.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/rotate.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/sat.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/scale.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/scan.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/seq.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/set.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/sift.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/skew.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/sobel.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/sort.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/stdev.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/susan.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/timing.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/transform.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/transform_coordinates.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/translate.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/transpose.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/unary.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/unwrap.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/util.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/var.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/where.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/wrap.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/cpp/ycbcr_rgb.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/unified/algorithm.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/unified/arith.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/unified/array.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/unified/blas.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/unified/data.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/unified/device.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/unified/error.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/unified/features.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/unified/graphics.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/unified/image.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/unified/index.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/unified/internal.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/unified/lapack.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/unified/signal.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/unified/statistics.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/unified/symbol_manager.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/unified/symbol_manager.hpp Examining data/arrayfire-3.3.2+dfsg1/src/api/unified/util.cpp Examining data/arrayfire-3.3.2+dfsg1/src/api/unified/vision.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/ArrayInfo.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/ArrayInfo.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/MemoryManager.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/MemoryManager.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cblas.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/Array.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/Array.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/TNJ/BinaryNode.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/TNJ/BufferNode.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/TNJ/Node.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/TNJ/ScalarNode.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/TNJ/UnaryNode.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/approx.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/approx.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/arith.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/assign.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/assign.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/backend.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/bilateral.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/bilateral.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/blas.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/blas.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/cast.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/cholesky.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/cholesky.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/complex.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/convolve.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/convolve.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/copy.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/copy.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/diagonal.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/diagonal.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/diff.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/diff.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/err_cpu.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/exampleFunction.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/exampleFunction.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/fast.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/fast.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/fft.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/fft.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/fftconvolve.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/fftconvolve.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/gradient.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/gradient.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/harris.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/harris.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/hist_graphics.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/hist_graphics.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/histogram.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/histogram.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/homography.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/homography.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/hsv_rgb.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/hsv_rgb.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/identity.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/identity.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/iir.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/iir.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/image.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/image.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/index.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/index.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/inverse.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/inverse.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/iota.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/iota.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/ireduce.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/ireduce.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/join.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/join.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/Array.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/approx1.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/approx2.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/assign.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/bilateral.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/convolve.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/copy.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/diagonal.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/diff.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/dot.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/fast.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/fft.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/fftconvolve.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/gradient.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/harris.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/histogram.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/hsv_rgb.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/identity.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/iir.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/index.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/iota.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/ireduce.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/join.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/lookup.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/lu.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/match_template.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/meanshift.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/medfilt.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/morph.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/nearest_neighbour.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/orb.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/random.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/range.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/reduce.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/regions.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/reorder.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/resize.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/rotate.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/scan.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/select.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/shift.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/sobel.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/sort.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/sort_by_key.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/sort_by_key/b8.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/sort_by_key/f32.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/sort_by_key/f64.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/sort_by_key/s16.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/sort_by_key/s32.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/sort_by_key/s64.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/sort_by_key/u16.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/sort_by_key/u32.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/sort_by_key/u64.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/sort_by_key/u8.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/sort_by_key_impl.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/sort_helper.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/susan.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/tile.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/transform.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/transpose.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/triangle.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/unwrap.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/wrap.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/lapack_helper.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/logic.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/lookup.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/lookup.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/lu.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/lu.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/match_template.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/match_template.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/math.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/math.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/meanshift.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/meanshift.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/medfilt.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/medfilt.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/memory.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/memory.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/morph.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/morph.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/nearest_neighbour.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/nearest_neighbour.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/orb.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/orb.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/platform.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/platform.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/plot.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/plot.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/plot3.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/plot3.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/print.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/qr.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/qr.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/queue.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/random.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/random.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/range.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/range.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/reduce.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/reduce.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/regions.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/regions.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/reorder.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/reorder.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/resize.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/resize.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/rotate.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/rotate.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/scan.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/scan.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/select.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/select.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/set.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/set.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/shift.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/shift.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/sift.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/sift.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/sobel.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/sobel.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/solve.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/solve.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/sort.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/sort.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/sort_by_key.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/sort_by_key.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/sort_index.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/sort_index.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/surface.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/surface.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/susan.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/susan.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/svd.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/svd.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/threads/async_queue.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/threads/parallel.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/threads/test.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/tile.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/tile.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/traits.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/transform.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/transform.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/transform_interp.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/transpose.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/transpose.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/triangle.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/triangle.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/types.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/unary.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/unwrap.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/unwrap.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/utility.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/where.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/where.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/wrap.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cpu/wrap.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/Array.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/Array.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/JIT/BinaryNode.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/JIT/BufferNode.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/JIT/Node.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/JIT/ScalarNode.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/JIT/UnaryNode.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/JIT/types.h Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/Param.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/approx.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/arith.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/assign.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/backend.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/bilateral.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/binary.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/blas.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/blas.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cast.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cholesky.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/complex.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/convolve.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/convolve.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/copy.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cpu_lapack/cpu_cholesky.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cpu_lapack/cpu_cholesky.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cpu_lapack/cpu_inverse.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cpu_lapack/cpu_inverse.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cpu_lapack/cpu_lu.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cpu_lapack/cpu_lu.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cpu_lapack/cpu_qr.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cpu_lapack/cpu_qr.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cpu_lapack/cpu_solve.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cpu_lapack/cpu_solve.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cpu_lapack/cpu_svd.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cpu_lapack/cpu_svd.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cpu_lapack/cpu_triangle.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cpu_lapack/lapack_helper.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cublasManager.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cublasManager.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cusolverDnManager.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cusolverDnManager.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/debug_cuda.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/diagonal.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/diff.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/driver.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/driver.h Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/err_cuda.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/err_cufft.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/exampleFunction.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/fast.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/fast_pyramid.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/fft.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/fft.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/fftconvolve.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/gradient.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/harris.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/hist_graphics.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/histogram.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/homography.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/hsv_rgb.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/identity.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/iir.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/image.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/index.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/interopManager.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/inverse.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/iota.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/ireduce.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/jit.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/join.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/approx.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/assign.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/atomics.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/bilateral.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/config.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/convolve.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/diagonal.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/diff.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/exampleFunction.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/fast.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/fast_lut.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/fast_pyramid.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/fftconvolve.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/gradient.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/harris.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/histogram.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/homography.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/hsv_rgb.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/identity.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/iir.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/index.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/iota.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/ireduce.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/join.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/lookup.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/lu_split.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/match_template.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/meanshift.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/medfilt.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/memcopy.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/morph.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/nearest_neighbour.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/orb.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/orb_patch.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/random.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/range.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/reduce.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/regions.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/reorder.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/resize.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/rotate.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/scan_dim.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/scan_first.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/select.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/shared.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/shift.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/sobel.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/sort.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/sort_by_key.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/sort_by_key_impl.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/susan.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/tile.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/transform.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/transform_interp.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/transpose.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/transpose_inplace.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/triangle.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/unwrap.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/where.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/wrap.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/logic.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/lookup.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/lu.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/match_template.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/math.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/math.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/meanshift.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/medfilt.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/memory.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/memory.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/morph.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/morph3d_impl.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/morph_impl.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/nearest_neighbour.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/orb.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/platform.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/platform.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/plot.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/plot3.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/print.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/qr.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/random.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/range.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/reduce.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/reduce_impl.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/regions.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/reorder.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/resize.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/rotate.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/scalar.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/scan.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/select.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/set.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/shift.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/sift.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/sobel.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/solve.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/sort.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/sort_by_key.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/sort_index.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/surface.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/susan.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/svd.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/tile.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/traits.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/transform.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/transpose.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/triangle.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/types.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/types.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/unary.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/unwrap.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/utility.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/where.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/cuda/wrap.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/defines.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/dim4.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/dispatch.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/dispatch.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/host_memory.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/lapacke.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/lapacke.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/Array.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/Array.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/JIT/BinaryNode.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/JIT/BufferNode.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/JIT/Node.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/JIT/ScalarNode.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/JIT/UnaryNode.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/Param.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/Param.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/all.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/any.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/approx.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/approx.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/arith.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/assign.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/assign.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/backend.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/bilateral.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/bilateral.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/binary.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/blas.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/blas.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cache.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cast.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cholesky.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cholesky.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cl.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/complex.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/convolve.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/convolve.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/convolve_separable.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/copy.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/copy.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/count.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cpu/cpu_blas.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cpu/cpu_blas.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cpu/cpu_cholesky.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cpu/cpu_cholesky.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cpu/cpu_helper.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cpu/cpu_inverse.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cpu/cpu_inverse.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cpu/cpu_lu.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cpu/cpu_lu.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cpu/cpu_qr.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cpu/cpu_qr.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cpu/cpu_solve.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cpu/cpu_solve.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cpu/cpu_svd.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cpu/cpu_svd.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cpu/cpu_triangle.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/debug_opencl.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/diagonal.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/diagonal.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/diff.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/diff.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/dilate.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/dilate3d.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/erode.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/erode3d.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/err_clblas.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/err_clfft.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/err_opencl.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/errorcodes.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/errorcodes.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/exampleFunction.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/exampleFunction.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/fast.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/fast.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/fft.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/fft.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/fftconvolve.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/fftconvolve.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/gradient.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/gradient.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/harris.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/harris.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/hist_graphics.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/hist_graphics.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/histogram.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/histogram.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/homography.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/homography.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/hsv_rgb.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/hsv_rgb.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/identity.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/identity.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/iir.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/iir.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/image.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/image.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/index.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/index.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/interopManager.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/interopManager.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/inverse.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/inverse.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/iota.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/iota.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/ireduce.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/ireduce.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/jit.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/join.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/join.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/KParam.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/approx.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/assign.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/bilateral.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/config.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/config.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/convolve.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/convolve/conv1.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/convolve/conv2_b8.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/convolve/conv2_c32.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/convolve/conv2_c64.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/convolve/conv2_f32.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/convolve/conv2_f64.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/convolve/conv2_impl.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/convolve/conv2_s16.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/convolve/conv2_s32.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/convolve/conv2_s64.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/convolve/conv2_u16.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/convolve/conv2_u32.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/convolve/conv2_u64.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/convolve/conv2_u8.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/convolve/conv3.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/convolve/conv_common.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/convolve_separable.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/convolve_separable.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/diagonal.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/diff.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/exampleFunction.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/fast.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/fftconvolve.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/gradient.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/harris.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/histogram.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/homography.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/hsv_rgb.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/identity.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/iir.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/index.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/iota.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/ireduce.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/join.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/laset.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/laset_band.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/laswp.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lu_split.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/match_template.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/meanshift.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/medfilt.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/memcopy.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/morph.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/names.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/nearest_neighbour.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/orb.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/random.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/range.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/reduce.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/regions.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/reorder.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/resize.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/rotate.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/scan_dim.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/scan_first.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/select.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/shift.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/sobel.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/sort.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/sort_by_key.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/sort_by_key/b8.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/sort_by_key/f32.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/sort_by_key/f64.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/sort_by_key/s16.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/sort_by_key/s32.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/sort_by_key/s64.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/sort_by_key/u16.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/sort_by_key/u32.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/sort_by_key/u64.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/sort_by_key/u8.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/sort_by_key_impl.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/sort_helper.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/susan.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/swapdblk.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/tile.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/transform.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/transpose.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/transpose_inplace.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/triangle.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/unwrap.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/where.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/wrap.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/logic.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/lu.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/lu.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/gebrd.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/geqrf2.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/geqrf3.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/getrf.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/getrs.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/labrd.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/larfb.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/laset.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/laset_band.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/laswp.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/magma.h Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/magma_blas.h Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/magma_common.h Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/magma_cpu_blas.h Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/magma_cpu_lapack.h Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/magma_data.h Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/magma_helper.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/magma_helper.h Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/magma_sync.h Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/magma_types.h Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/potrf.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/swapdblk.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/transpose.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/transpose_inplace.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/ungqr.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/unmqr.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/unmqr2.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/match_template.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/match_template.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/math.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/math.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/max.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/meanshift.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/meanshift.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/medfilt.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/medfilt.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/memory.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/memory.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/min.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/morph.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/morph3d_impl.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/morph_impl.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/nearest_neighbour.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/nearest_neighbour.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/orb.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/orb.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/platform.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/platform.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/plot.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/plot.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/plot3.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/plot3.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/print.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/product.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/program.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/program.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/qr.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/qr.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/random.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/random.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/range.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/range.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/reduce.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/reduce_impl.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/regions.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/regions.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/reorder.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/reorder.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/resize.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/resize.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/rotate.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/rotate.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/scalar.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/scan.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/scan.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/select.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/select.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/set.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/set.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/shift.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/shift.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/sift.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/sift.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/sobel.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/sobel.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/solve.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/solve.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/sort.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/sort.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/sort_by_key.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/sort_by_key.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/sort_index.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/sort_index.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/sum.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/surface.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/surface.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/susan.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/susan.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/svd.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/svd.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/tile.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/tile.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/traits.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/transform.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/transform.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/transpose.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/transpose.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/transpose_inplace.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/triangle.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/triangle.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/types.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/types.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/unary.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/unwrap.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/unwrap.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/where.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/where.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/wrap.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/opencl/wrap.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/util.cpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/util.hpp Examining data/arrayfire-3.3.2+dfsg1/src/backend/host_memory.cpp Examining data/arrayfire-3.3.2+dfsg1/test/approx1.cpp Examining data/arrayfire-3.3.2+dfsg1/test/approx2.cpp Examining data/arrayfire-3.3.2+dfsg1/test/array.cpp Examining data/arrayfire-3.3.2+dfsg1/test/assign.cpp Examining data/arrayfire-3.3.2+dfsg1/test/backend.cpp Examining data/arrayfire-3.3.2+dfsg1/test/basic.cpp Examining data/arrayfire-3.3.2+dfsg1/test/basic_c.c Examining data/arrayfire-3.3.2+dfsg1/test/bilateral.cpp Examining data/arrayfire-3.3.2+dfsg1/test/binary.cpp Examining data/arrayfire-3.3.2+dfsg1/test/blas.cpp Examining data/arrayfire-3.3.2+dfsg1/test/cholesky_dense.cpp Examining data/arrayfire-3.3.2+dfsg1/test/complex.cpp Examining data/arrayfire-3.3.2+dfsg1/test/constant.cpp Examining data/arrayfire-3.3.2+dfsg1/test/convolve.cpp Examining data/arrayfire-3.3.2+dfsg1/test/corrcoef.cpp Examining data/arrayfire-3.3.2+dfsg1/test/covariance.cpp Examining data/arrayfire-3.3.2+dfsg1/test/diagonal.cpp Examining data/arrayfire-3.3.2+dfsg1/test/diff1.cpp Examining data/arrayfire-3.3.2+dfsg1/test/diff2.cpp Examining data/arrayfire-3.3.2+dfsg1/test/dog.cpp Examining data/arrayfire-3.3.2+dfsg1/test/dot.cpp Examining data/arrayfire-3.3.2+dfsg1/test/fast.cpp Examining data/arrayfire-3.3.2+dfsg1/test/fft.cpp Examining data/arrayfire-3.3.2+dfsg1/test/fft_large.cpp Examining data/arrayfire-3.3.2+dfsg1/test/fft_real.cpp Examining data/arrayfire-3.3.2+dfsg1/test/fftconvolve.cpp Examining data/arrayfire-3.3.2+dfsg1/test/flat.cpp Examining data/arrayfire-3.3.2+dfsg1/test/flip.cpp Examining data/arrayfire-3.3.2+dfsg1/test/gaussiankernel.cpp Examining data/arrayfire-3.3.2+dfsg1/test/gen_assign.cpp Examining data/arrayfire-3.3.2+dfsg1/test/gen_index.cpp Examining data/arrayfire-3.3.2+dfsg1/test/getting_started.cpp Examining data/arrayfire-3.3.2+dfsg1/test/gfor.cpp Examining data/arrayfire-3.3.2+dfsg1/test/gradient.cpp Examining data/arrayfire-3.3.2+dfsg1/test/gray_rgb.cpp Examining data/arrayfire-3.3.2+dfsg1/test/gtest/codegear/gtest_all.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/codegear/gtest_link.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/gtest-death-test.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/gtest-message.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/gtest-param-test.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/gtest-printers.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/gtest-spi.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/gtest-test-part.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/gtest-typed-test.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/gtest.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/gtest_pred_impl.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/gtest_prod.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/internal/gtest-death-test-internal.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/internal/gtest-filepath.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/internal/gtest-internal.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/internal/gtest-linked_ptr.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/internal/gtest-param-util-generated.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/internal/gtest-param-util.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/internal/gtest-port.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/internal/gtest-string.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/internal/gtest-tuple.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/internal/gtest-type-util.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/samples/prime_tables.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/samples/sample1.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/samples/sample1.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/samples/sample10_unittest.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/samples/sample1_unittest.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/samples/sample2.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/samples/sample2.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/samples/sample2_unittest.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/samples/sample3-inl.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/samples/sample3_unittest.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/samples/sample4.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/samples/sample4.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/samples/sample4_unittest.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/samples/sample5_unittest.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/samples/sample6_unittest.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/samples/sample7_unittest.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/samples/sample8_unittest.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/samples/sample9_unittest.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-all.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-death-test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-filepath.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-internal-inl.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-port.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-printers.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-test-part.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-typed-test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest_main.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-death-test_ex_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-death-test_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-filepath_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-linked_ptr_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-listener_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-message_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-options_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-param-test2_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-param-test_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-param-test_test.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-port_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-printers_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-test-part_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-tuple_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-typed-test2_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-typed-test_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-typed-test_test.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-unittest-api_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_all_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_break_on_failure_unittest_.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_catch_exceptions_test_.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_color_test_.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_env_var_test_.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_environment_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_filter_unittest_.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_help_test_.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_list_tests_unittest_.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_main_unittest.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_no_test_unittest.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_output_test_.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_pred_impl_unittest.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_premature_exit_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_prod_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_repeat_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_shuffle_test_.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_sole_header_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_stress_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_throw_on_failure_ex_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_throw_on_failure_test_.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_uninitialized_test_.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_unittest.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_xml_outfile1_test_.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_xml_outfile2_test_.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_xml_output_unittest_.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/production.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/test/production.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/xcode/Samples/FrameworkSample/widget.cc Examining data/arrayfire-3.3.2+dfsg1/test/gtest/xcode/Samples/FrameworkSample/widget.h Examining data/arrayfire-3.3.2+dfsg1/test/gtest/xcode/Samples/FrameworkSample/widget_test.cc Examining data/arrayfire-3.3.2+dfsg1/test/hamming.cpp Examining data/arrayfire-3.3.2+dfsg1/test/harris.cpp Examining data/arrayfire-3.3.2+dfsg1/test/histogram.cpp Examining data/arrayfire-3.3.2+dfsg1/test/homography.cpp Examining data/arrayfire-3.3.2+dfsg1/test/hsv_rgb.cpp Examining data/arrayfire-3.3.2+dfsg1/test/iir.cpp Examining data/arrayfire-3.3.2+dfsg1/test/imageio.cpp Examining data/arrayfire-3.3.2+dfsg1/test/index.cpp Examining data/arrayfire-3.3.2+dfsg1/test/info.cpp Examining data/arrayfire-3.3.2+dfsg1/test/internal.cpp Examining data/arrayfire-3.3.2+dfsg1/test/inverse_dense.cpp Examining data/arrayfire-3.3.2+dfsg1/test/iota.cpp Examining data/arrayfire-3.3.2+dfsg1/test/ireduce.cpp Examining data/arrayfire-3.3.2+dfsg1/test/jit.cpp Examining data/arrayfire-3.3.2+dfsg1/test/join.cpp Examining data/arrayfire-3.3.2+dfsg1/test/lu_dense.cpp Examining data/arrayfire-3.3.2+dfsg1/test/main.cpp Examining data/arrayfire-3.3.2+dfsg1/test/manual_memory_test.cpp Examining data/arrayfire-3.3.2+dfsg1/test/match_template.cpp Examining data/arrayfire-3.3.2+dfsg1/test/math.cpp Examining data/arrayfire-3.3.2+dfsg1/test/matrix_manipulation.cpp Examining data/arrayfire-3.3.2+dfsg1/test/mean.cpp Examining data/arrayfire-3.3.2+dfsg1/test/meanshift.cpp Examining data/arrayfire-3.3.2+dfsg1/test/medfilt.cpp Examining data/arrayfire-3.3.2+dfsg1/test/median.cpp Examining data/arrayfire-3.3.2+dfsg1/test/memory.cpp Examining data/arrayfire-3.3.2+dfsg1/test/memory_lock.cpp Examining data/arrayfire-3.3.2+dfsg1/test/missing.cpp Examining data/arrayfire-3.3.2+dfsg1/test/moddims.cpp Examining data/arrayfire-3.3.2+dfsg1/test/morph.cpp Examining data/arrayfire-3.3.2+dfsg1/test/nearest_neighbour.cpp Examining data/arrayfire-3.3.2+dfsg1/test/ocl_ext_context.cpp Examining data/arrayfire-3.3.2+dfsg1/test/orb.cpp Examining data/arrayfire-3.3.2+dfsg1/test/qr_dense.cpp Examining data/arrayfire-3.3.2+dfsg1/test/random.cpp Examining data/arrayfire-3.3.2+dfsg1/test/range.cpp Examining data/arrayfire-3.3.2+dfsg1/test/rank_dense.cpp Examining data/arrayfire-3.3.2+dfsg1/test/reduce.cpp Examining data/arrayfire-3.3.2+dfsg1/test/regions.cpp Examining data/arrayfire-3.3.2+dfsg1/test/reorder.cpp Examining data/arrayfire-3.3.2+dfsg1/test/replace.cpp Examining data/arrayfire-3.3.2+dfsg1/test/resize.cpp Examining data/arrayfire-3.3.2+dfsg1/test/rotate.cpp Examining data/arrayfire-3.3.2+dfsg1/test/rotate_linear.cpp Examining data/arrayfire-3.3.2+dfsg1/test/sat.cpp Examining data/arrayfire-3.3.2+dfsg1/test/scan.cpp Examining data/arrayfire-3.3.2+dfsg1/test/select.cpp Examining data/arrayfire-3.3.2+dfsg1/test/set.cpp Examining data/arrayfire-3.3.2+dfsg1/test/shift.cpp Examining data/arrayfire-3.3.2+dfsg1/test/sobel.cpp Examining data/arrayfire-3.3.2+dfsg1/test/solve_dense.cpp Examining data/arrayfire-3.3.2+dfsg1/test/sort.cpp Examining data/arrayfire-3.3.2+dfsg1/test/sort_by_key.cpp Examining data/arrayfire-3.3.2+dfsg1/test/sort_index.cpp Examining data/arrayfire-3.3.2+dfsg1/test/stdev.cpp Examining data/arrayfire-3.3.2+dfsg1/test/susan.cpp Examining data/arrayfire-3.3.2+dfsg1/test/svd_dense.cpp Examining data/arrayfire-3.3.2+dfsg1/test/testHelpers.hpp Examining data/arrayfire-3.3.2+dfsg1/test/tile.cpp Examining data/arrayfire-3.3.2+dfsg1/test/transform.cpp Examining data/arrayfire-3.3.2+dfsg1/test/transform_coordinates.cpp Examining data/arrayfire-3.3.2+dfsg1/test/translate.cpp Examining data/arrayfire-3.3.2+dfsg1/test/transpose.cpp Examining data/arrayfire-3.3.2+dfsg1/test/transpose_inplace.cpp Examining data/arrayfire-3.3.2+dfsg1/test/triangle.cpp Examining data/arrayfire-3.3.2+dfsg1/test/unwrap.cpp Examining data/arrayfire-3.3.2+dfsg1/test/var.cpp Examining data/arrayfire-3.3.2+dfsg1/test/where.cpp Examining data/arrayfire-3.3.2+dfsg1/test/wrap.cpp Examining data/arrayfire-3.3.2+dfsg1/test/write.cpp Examining data/arrayfire-3.3.2+dfsg1/test/ycbcr_rgb.cpp FINAL RESULTS: data/arrayfire-3.3.2+dfsg1/src/api/c/graphics_common.cpp:56:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buf, "GL Error Skipped at: %s:%d Message: %s Error Code: %d \"%s\"\n", file, line, msg, x, gluErrorString(x)); data/arrayfire-3.3.2+dfsg1/src/api/c/graphics_common.cpp:73:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buf, "GL Error at: %s:%d Message: %s Error Code: %d \"%s\"\n", file, line, msg, x, gluErrorString(x)); data/arrayfire-3.3.2+dfsg1/src/api/c/graphics_common.cpp:88:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buf, "GL Error at: %s:%d Message: %s Error Code: %d \"%s\"\n", file, line, msg, x, gluErrorString(x)); data/arrayfire-3.3.2+dfsg1/src/api/cpp/exception.cpp:16:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/arrayfire-3.3.2+dfsg1/src/api/cpp/exception.cpp:16:18: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cublasManager.hpp:28:13: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf(_err_msg, \ data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cusolverDnManager.hpp:30:13: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf(_err_msg, \ data/arrayfire-3.3.2+dfsg1/src/backend/cuda/driver.cpp:17:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/arrayfire-3.3.2+dfsg1/src/backend/cuda/driver.cpp:17:18: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/arrayfire-3.3.2+dfsg1/src/backend/cuda/err_cuda.hpp:24:13: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf(cuda_err_msg, \ data/arrayfire-3.3.2+dfsg1/src/backend/cuda/err_cufft.hpp:78:13: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf(cufft_res_msg, \ data/arrayfire-3.3.2+dfsg1/src/backend/cuda/jit.cpp:246:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf(nvvm_err_msg, \ data/arrayfire-3.3.2+dfsg1/src/backend/cuda/jit.cpp:304:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf(cu_err_msg, \ data/arrayfire-3.3.2+dfsg1/src/backend/cuda/jit.cpp:316:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf(cu_err_msg, \ data/arrayfire-3.3.2+dfsg1/src/backend/defines.hpp:32:17: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf sprintf_s data/arrayfire-3.3.2+dfsg1/src/backend/opencl/err_clblas.hpp:58:13: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf(clblas_st_msg, \ data/arrayfire-3.3.2+dfsg1/src/backend/opencl/err_clfft.hpp:89:13: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf(clfft_st_msg, \ data/arrayfire-3.3.2+dfsg1/src/backend/opencl/err_opencl.hpp:24:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf(opencl_err_msg, \ data/arrayfire-3.3.2+dfsg1/src/backend/opencl/fft.cpp:100:9: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(key_str_temp, SIZE_T_FRMT_SPECIFIER ":", clLengths[r]); data/arrayfire-3.3.2+dfsg1/src/backend/opencl/fft.cpp:106:13: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(key_str_temp, SIZE_T_FRMT_SPECIFIER ":", istrides[r]); data/arrayfire-3.3.2+dfsg1/src/backend/opencl/fft.cpp:109:9: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(key_str_temp, SIZE_T_FRMT_SPECIFIER ":", idist); data/arrayfire-3.3.2+dfsg1/src/backend/opencl/fft.cpp:115:13: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(key_str_temp, SIZE_T_FRMT_SPECIFIER ":", ostrides[r]); data/arrayfire-3.3.2+dfsg1/src/backend/opencl/fft.cpp:118:9: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(key_str_temp, SIZE_T_FRMT_SPECIFIER ":", odist); data/arrayfire-3.3.2+dfsg1/src/backend/opencl/fft.cpp:122:5: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(key_str_temp, "%d:" SIZE_T_FRMT_SPECIFIER, (int)precision, batch); data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/magma_cpu_lapack.h:61:13: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf(lapacke_st_msg, \ data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/internal/gtest-death-test-internal.h:165:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(\ data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/internal/gtest-port.h:2298:20: [4] (buffer) StrNCpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). inline const char* StrNCpy(char* dest, const char* src, size_t n) { data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/internal/gtest-port.h:2369:26: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. # define GTEST_SNPRINTF_ _snprintf data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/internal/gtest-port.h:2371:26: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. # define GTEST_SNPRINTF_ snprintf data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest.cc:145:10: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. # define vsnprintf _vsnprintf data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest.cc:2925:5: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vprintf(fmt, args); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest.cc:2945:3: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vprintf(fmt, args); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest.cc:2952:3: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vprintf(fmt, args); data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-death-test_test.cc:1306:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, InDeathTestChild() ? "Inside" : "Outside"); data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-death-test_test.cc:1316:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, InDeathTestChild() ? "Inside" : "Outside"); data/arrayfire-3.3.2+dfsg1/src/api/unified/symbol_manager.cpp:65:22: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. HMODULE retVal = LoadLibrary(bkndLibName.c_str()); data/arrayfire-3.3.2+dfsg1/src/api/unified/symbol_manager.cpp:91:22: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. retVal = LoadLibrary(abs_path.c_str()); data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/random.hpp:93:14: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. void random(cl::Buffer out, int elements) data/arrayfire-3.3.2+dfsg1/src/backend/opencl/random.cpp:25:17: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. kernel::random<T, true>(*out.get(), out.elements()); data/arrayfire-3.3.2+dfsg1/src/backend/opencl/random.cpp:34:17: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. kernel::random<T, false>(*out.get(), out.elements()); data/arrayfire-3.3.2+dfsg1/src/backend/opencl/random.cpp:57:17: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. kernel::random<TR, is_randu>(*out.get(), elements); \ data/arrayfire-3.3.2+dfsg1/src/backend/util.cpp:34:18: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * str = getenv(key.c_str()); data/arrayfire-3.3.2+dfsg1/test/blas.cpp:213:23: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* ENV = getenv("AF_MULTI_GPU_TESTS"); \ data/arrayfire-3.3.2+dfsg1/test/fft.cpp:705:23: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* ENV = getenv("AF_MULTI_GPU_TESTS"); \ data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/gtest.h:917:39: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. void ShuffleTests(internal::Random* random); data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/internal/gtest-port.h:2337:27: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* const env = getenv(name); data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/internal/gtest-port.h:2340:10: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. return getenv(name); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-internal-inl.h:311:37: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. void ShuffleRange(internal::Random* random, int begin, int end, data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-internal-inl.h:332:39: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. inline void Shuffle(internal::Random* random, std::vector<E>* v) { data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-internal-inl.h:333:16: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(random, 0, static_cast<int>(v->size()), v); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-internal-inl.h:801:21: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. internal::Random* random() { return &random_; } data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-port.cc:203:5: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. ::InitializeCriticalSection(critical_section_); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-port.cc:221:5: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. ::EnterCriticalSection(critical_section_); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-port.cc:253:11: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. ::InitializeCriticalSection(critical_section_); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest.cc:2749:47: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. void TestCase::ShuffleTests(internal::Random* random) { data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest.cc:2750:11: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. Shuffle(random, &test_indices_); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest.cc:4582:7: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. random()->Reseed(random_seed_); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest.cc:4892:16: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(random(), 0, last_death_test_case_ + 1, &test_case_indices_); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest.cc:4895:16: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(random(), last_death_test_case_ + 1, data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest.cc:4900:34: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. test_cases_[i]->ShuffleTests(random()); data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_unittest.cc:425:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv("TZ")) data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_unittest.cc:426:26: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. saved_tz_ = strdup(getenv("TZ")); data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_unittest.cc:713:29: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. testing::internal::Random random(42); data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_unittest.cc:715:7: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. random.Generate(0), data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_unittest.cc:718:7: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. random.Generate(testing::internal::Random::kMaxRange + 1), data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_unittest.cc:725:29: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. testing::internal::Random random(12345); data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_unittest.cc:727:15: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. EXPECT_LT(random.Generate(kRange), kRange) << " for iteration " << i; data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_unittest.cc:742:29: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. testing::internal::Random random(kSeed); data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_unittest.cc:744:17: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. values[i] = random.Generate(kRange); data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_unittest.cc:747:3: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. random.Reseed(kSeed); data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_unittest.cc:749:26: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. EXPECT_EQ(values[i], random.Generate(kRange)) << " for iteration " << i; data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_unittest.cc:814:29: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. testing::internal::Random random(1); data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_unittest.cc:817:21: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(&random, -1, 1, &a), data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_unittest.cc:820:21: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(&random, 4, 4, &a), data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_unittest.cc:823:21: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(&random, 3, 2, &a), data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_unittest.cc:826:21: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(&random, 3, 4, &a), data/arrayfire-3.3.2+dfsg1/test/info.cpp:38:23: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* ENV = getenv("AF_MULTI_GPU_TESTS"); data/arrayfire-3.3.2+dfsg1/test/mean.cpp:253:3: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. T random() { return T(std::rand()%10); } data/arrayfire-3.3.2+dfsg1/test/mean.cpp:255:19: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. template<> cfloat random<cfloat>() { return cfloat(float(std::rand()%10), float(std::rand()%10)); } data/arrayfire-3.3.2+dfsg1/test/mean.cpp:257:20: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. template<> cdouble random<cdouble>() { return cdouble(double(std::rand()%10), double(std::rand()%10)); } data/arrayfire-3.3.2+dfsg1/test/mean.cpp:281:10: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. std::srand(std::time(0)); data/arrayfire-3.3.2+dfsg1/test/mean.cpp:285:45: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. std::generate(data.begin(), data.end(), random<T>); data/arrayfire-3.3.2+dfsg1/test/mean.cpp:286:43: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. std::generate(wts.begin(), wts.end(), random<wtsType>); data/arrayfire-3.3.2+dfsg1/examples/benchmarks/blas.cpp:29:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/benchmarks/fft.cpp:28:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/benchmarks/pi.cpp:58:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/common/idxio.h:22:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bytes[4]; data/arrayfire-3.3.2+dfsg1/examples/computer_vision/fast.cpp:66:29: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/computer_vision/harris.cpp:122:29: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/computer_vision/matching.cpp:105:29: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/computer_vision/susan.cpp:72:29: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/financial/black_scholes_options.cpp:55:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/getting_started/convolve.cpp:39:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/getting_started/integer.cpp:20:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/getting_started/rainfall.cpp:33:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/graphics/fractal.cpp:70:29: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/graphics/fractal.cpp:71:27: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int iter = argc > 2 ? atoi(argv[2]) : 100; data/arrayfire-3.3.2+dfsg1/examples/helloworld/helloworld.cpp:22:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/image_processing/adaptive_thresholding.cpp:82:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/image_processing/binary_thresholding.cpp:66:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/image_processing/brain_segmentation.cpp:155:29: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/image_processing/edge.cpp:101:29: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/image_processing/filters.cpp:213:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/image_processing/image_demo.cpp:97:29: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/image_processing/image_editing.cpp:98:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/image_processing/morphing.cpp:122:29: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/image_processing/optical_flow.cpp:110:29: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/image_processing/pyramids.cpp:90:29: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/lin_algebra/cholesky.cpp:21:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/lin_algebra/lu.cpp:20:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/lin_algebra/qr.cpp:21:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/lin_algebra/svd.cpp:20:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/machine_learning/bagging.cpp:136:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/machine_learning/bagging.cpp:138:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int perc = argc > 3 ? atoi(argv[3]) : 60; data/arrayfire-3.3.2+dfsg1/examples/machine_learning/deep_belief_net.cpp:357:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/machine_learning/deep_belief_net.cpp:359:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int perc = argc > 3 ? atoi(argv[3]) : 60; data/arrayfire-3.3.2+dfsg1/examples/machine_learning/kmeans.cpp:135:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str_full[32], str_half[32], str_dbl[32]; data/arrayfire-3.3.2+dfsg1/examples/machine_learning/kmeans.cpp:136:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(str_full, "%2d clusters", k); data/arrayfire-3.3.2+dfsg1/examples/machine_learning/kmeans.cpp:137:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(str_half, "%2d clusters", k/2); data/arrayfire-3.3.2+dfsg1/examples/machine_learning/kmeans.cpp:138:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(str_dbl , "%2d clusters", k*2); data/arrayfire-3.3.2+dfsg1/examples/machine_learning/kmeans.cpp:165:29: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/machine_learning/kmeans.cpp:167:24: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int k = argc > 3 ? atoi(argv[3]) : 16; data/arrayfire-3.3.2+dfsg1/examples/machine_learning/knn.cpp:102:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/machine_learning/knn.cpp:104:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int perc = argc > 3 ? atoi(argv[3]) : 60; data/arrayfire-3.3.2+dfsg1/examples/machine_learning/logistic_regression.cpp:186:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/machine_learning/logistic_regression.cpp:188:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int perc = argc > 3 ? atoi(argv[3]) : 60; data/arrayfire-3.3.2+dfsg1/examples/machine_learning/naive_bayes.cpp:152:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/machine_learning/naive_bayes.cpp:154:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int perc = argc > 3 ? atoi(argv[3]) : 60; data/arrayfire-3.3.2+dfsg1/examples/machine_learning/neural_network.cpp:267:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/machine_learning/neural_network.cpp:269:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int perc = argc > 3 ? atoi(argv[3]) : 60; data/arrayfire-3.3.2+dfsg1/examples/machine_learning/perceptron.cpp:132:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/machine_learning/perceptron.cpp:134:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int perc = argc > 3 ? atoi(argv[3]) : 60; data/arrayfire-3.3.2+dfsg1/examples/machine_learning/rbm.cpp:217:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/machine_learning/rbm.cpp:219:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int perc = argc > 3 ? atoi(argv[3]) : 60; data/arrayfire-3.3.2+dfsg1/examples/machine_learning/softmax_regression.cpp:193:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/examples/machine_learning/softmax_regression.cpp:195:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int perc = argc > 3 ? atoi(argv[3]) : 60; data/arrayfire-3.3.2+dfsg1/examples/pde/swe.cpp:74:29: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int device = argc > 1 ? atoi(argv[1]) : 0; data/arrayfire-3.3.2+dfsg1/include/af/exception.h:22:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char m_msg[1024]; data/arrayfire-3.3.2+dfsg1/src/api/c/graphics_common.cpp:55:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1024]; data/arrayfire-3.3.2+dfsg1/src/api/c/graphics_common.cpp:72:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1024]; data/arrayfire-3.3.2+dfsg1/src/api/c/graphics_common.cpp:87:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1024]; data/arrayfire-3.3.2+dfsg1/src/api/c/stream.cpp:69:16: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fs.open(filename, std::fstream::in | std::fstream::out | std::fstream::binary); data/arrayfire-3.3.2+dfsg1/src/api/c/stream.cpp:71:16: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fs.open(filename, std::fstream::out | std::fstream::binary); data/arrayfire-3.3.2+dfsg1/src/api/c/stream.cpp:90:12: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fs.open(filename, std::fstream::out | std::fstream::binary | std::fstream::trunc); data/arrayfire-3.3.2+dfsg1/src/backend/cpu/Array.cpp:234:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(arr.get(), data, bytes); data/arrayfire-3.3.2+dfsg1/src/backend/cpu/Array.cpp:244:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(arr.get(), (const T * const)data, bytes); data/arrayfire-3.3.2+dfsg1/src/backend/cpu/copy.cpp:35:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(to, from.get(), from.elements()*sizeof(T)); data/arrayfire-3.3.2+dfsg1/src/backend/cpu/harris.cpp:119:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(x_out.get(), x_crnrs.get(), corners_out * sizeof(float)); data/arrayfire-3.3.2+dfsg1/src/backend/cpu/harris.cpp:120:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(y_out.get(), y_crnrs.get(), corners_out * sizeof(float)); data/arrayfire-3.3.2+dfsg1/src/backend/cpu/harris.cpp:121:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(outResponses.get(), inResponses.get(), corners_out * sizeof(float)); data/arrayfire-3.3.2+dfsg1/src/backend/cpu/homography.cpp:326:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(bestH.get(), H.get() + bestIdx*9, 9 * sizeof(T)); data/arrayfire-3.3.2+dfsg1/src/backend/cpu/kernel/copy.hpp:26:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dst, src, dims[dim] * sizeof(T)); data/arrayfire-3.3.2+dfsg1/src/backend/cpu/orb.cpp:263:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(h_x+offset, h_x_pyr[i], feat_pyr[i] * sizeof(float)); data/arrayfire-3.3.2+dfsg1/src/backend/cpu/orb.cpp:264:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(h_y+offset, h_y_pyr[i], feat_pyr[i] * sizeof(float)); data/arrayfire-3.3.2+dfsg1/src/backend/cpu/orb.cpp:265:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(h_score+offset, h_score_pyr[i], feat_pyr[i] * sizeof(float)); data/arrayfire-3.3.2+dfsg1/src/backend/cpu/orb.cpp:266:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(h_ori+offset, h_ori_pyr[i], feat_pyr[i] * sizeof(float)); data/arrayfire-3.3.2+dfsg1/src/backend/cpu/orb.cpp:267:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(h_size+offset, h_size_pyr[i], feat_pyr[i] * sizeof(float)); data/arrayfire-3.3.2+dfsg1/src/backend/cpu/orb.cpp:269:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(h_desc+(offset*8), h_desc_pyr[i], feat_pyr[i] * 8 * sizeof(unsigned)); data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cublasManager.hpp:27:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char _err_msg[1024]; \ data/arrayfire-3.3.2+dfsg1/src/backend/cuda/cusolverDnManager.hpp:29:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char _err_msg[1024]; \ data/arrayfire-3.3.2+dfsg1/src/backend/cuda/driver.cpp:61:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[1024]; data/arrayfire-3.3.2+dfsg1/src/backend/cuda/driver.cpp:64:22: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (NULL == (f = fopen("/proc/driver/nvidia/version", "r"))) { data/arrayfire-3.3.2+dfsg1/src/backend/cuda/err_cuda.hpp:23:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cuda_err_msg[1024]; \ data/arrayfire-3.3.2+dfsg1/src/backend/cuda/err_cufft.hpp:77:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cufft_res_msg[1024]; \ data/arrayfire-3.3.2+dfsg1/src/backend/cuda/fft.cpp:67:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char key_str_temp[64]; data/arrayfire-3.3.2+dfsg1/src/backend/cuda/fft.cpp:68:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(key_str_temp, "%d:", rank); data/arrayfire-3.3.2+dfsg1/src/backend/cuda/fft.cpp:73:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(key_str_temp, "%d:", n[r]); data/arrayfire-3.3.2+dfsg1/src/backend/cuda/fft.cpp:79:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(key_str_temp, "%d:", inembed[r]); data/arrayfire-3.3.2+dfsg1/src/backend/cuda/fft.cpp:82:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(key_str_temp, "%d:%d:", istride, idist); data/arrayfire-3.3.2+dfsg1/src/backend/cuda/fft.cpp:88:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(key_str_temp, "%d:", onembed[r]); data/arrayfire-3.3.2+dfsg1/src/backend/cuda/fft.cpp:91:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(key_str_temp, "%d:%d:", ostride, odist); data/arrayfire-3.3.2+dfsg1/src/backend/cuda/fft.cpp:95:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(key_str_temp, "%d:%d", (int)type, batch); data/arrayfire-3.3.2+dfsg1/src/backend/cuda/jit.cpp:245:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char nvvm_err_msg[1024]; \ data/arrayfire-3.3.2+dfsg1/src/backend/cuda/jit.cpp:296:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char linkInfo[size]; data/arrayfire-3.3.2+dfsg1/src/backend/cuda/jit.cpp:297:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char linkError[size]; data/arrayfire-3.3.2+dfsg1/src/backend/cuda/jit.cpp:303:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cu_err_msg[1024]; \ data/arrayfire-3.3.2+dfsg1/src/backend/cuda/jit.cpp:315:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cu_err_msg[1024]; \ data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/morph.hpp:30:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. __constant__ char cFilter[MAX_MORPH_FILTER_LEN*MAX_MORPH_FILTER_LEN*sizeof(double)]; data/arrayfire-3.3.2+dfsg1/src/backend/cuda/kernel/regions.hpp:149:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char write[n_per_thread * n_per_thread]; data/arrayfire-3.3.2+dfsg1/src/backend/cuda/platform.cpp:238:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char driverVersion[1024] = {" ",}; data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cl.hpp:517:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(str_, str, size_ * sizeof(char)); data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cl.hpp:541:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(str_, str, (size_ + 1) * sizeof(char)); data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cl.hpp:567:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(newString, str_, (copySize + 1) * sizeof(char)); data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cl.hpp:616:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(str_, rhs.str_, (size_ + 1) * sizeof(char)); data/arrayfire-3.3.2+dfsg1/src/backend/opencl/err_clblas.hpp:57:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char clblas_st_msg[1024]; \ data/arrayfire-3.3.2+dfsg1/src/backend/opencl/err_clfft.hpp:88:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char clfft_st_msg[1024]; \ data/arrayfire-3.3.2+dfsg1/src/backend/opencl/err_opencl.hpp:23:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char opencl_err_msg[1024]; \ data/arrayfire-3.3.2+dfsg1/src/backend/opencl/fft.cpp:93:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char key_str_temp[64]; data/arrayfire-3.3.2+dfsg1/src/backend/opencl/fft.cpp:94:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(key_str_temp, "%d:%d:%d:", iLayout, oLayout, rank); data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/assign.hpp:41:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char isSeq[4]; data/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/index.hpp:41:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char isSeq[4]; data/arrayfire-3.3.2+dfsg1/src/backend/opencl/magma/magma_cpu_lapack.h:60:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char lapacke_st_msg[32]; \ data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/internal/gtest-port.h:2310:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). return fopen(path, mode); data/arrayfire-3.3.2+dfsg1/test/gtest/samples/sample2.cc:44:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(clone, a_c_string, len + 1); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-death-test.cc:314:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[256]; data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-death-test.cc:730:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char executable_path[_MAX_PATH + 1]; // NOLINT data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-death-test.cc:1011:22: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). const int cwd_fd = open(".", O_RDONLY); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-filepath.cc:105:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-filepath.cc:108:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-port.cc:112:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). const int fd = open("/proc/self/as", O_RDONLY); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-port.cc:825:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buffer, regex, len); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-port.cc:899:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char temp_dir_path[MAX_PATH + 1] = { '\0' }; // NOLINT data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-port.cc:900:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-port.cc:937:29: [2] (tmpfile) mkstemp: Potential for temporary file vulnerability in some circumstances. Some older Unix-like systems create temp files with permission to write by all by default, so be sure to set the umask to override this. Also, some older Unix systems might fail to use O_EXCL when opening the file, so make sure that O_EXCL is used by the library (CWE-377). const int captured_fd = mkstemp(name_template); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-printers.cc:65:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char text[5] = ""; data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest.cc:842:7: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(CP_ACP, 0, ansi, length, data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest.cc:845:3: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(CP_ACP, 0, ansi, length, data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest.cc:1643:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char error_text[kBufSize] = { '\0' }; data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest.cc:1727:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str[5]; // Big enough for the largest valid code point. data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-filepath_test.cc:371:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char current_drive[_MAX_PATH]; // NOLINT data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-filepath_test.cc:388:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char non_drive[_MAX_PATH]; // NOLINT data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-printers_test.cc:127:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. UnprintableInFoo() : z_(0) { memcpy(xy_, "\xEF\x12\x0\x0\x34\xAB\x0\x0", 8); } data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-printers_test.cc:130:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char xy_[8]; data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-printers_test.cc:1117:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char array[257]; data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_unittest.cc:7416:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char a[3] = "hi"; data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest_unittest.cc:7500:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char a[2][3] = { "hi", "lo" }; data/arrayfire-3.3.2+dfsg1/test/gtest/xcode/Samples/FrameworkSample/widget_test.cc:58:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[max_size]; data/arrayfire-3.3.2+dfsg1/examples/common/idxio.h:51:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). f.read(d.bytes, sizeof(d.bytes)); data/arrayfire-3.3.2+dfsg1/examples/common/idxio.h:64:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). f.read(d.bytes, sizeof(d.bytes)); data/arrayfire-3.3.2+dfsg1/examples/common/idxio.h:76:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). f.read(&cdata[0], elem * elemsize); data/arrayfire-3.3.2+dfsg1/examples/machine_learning/kmeans.cpp:146:9: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getchar(); data/arrayfire-3.3.2+dfsg1/examples/machine_learning/mnist_common.h:140:9: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getchar(); data/arrayfire-3.3.2+dfsg1/examples/machine_learning/mnist_common.h:156:9: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getchar(); data/arrayfire-3.3.2+dfsg1/src/api/c/memory.cpp:224:39: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(msg != NULL) ARG_ASSERT(0, strlen(msg) < 256); // 256 character limit on msg data/arrayfire-3.3.2+dfsg1/src/api/c/stream.cpp:83:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fs.read(&prev_version, sizeof(char)); data/arrayfire-3.3.2+dfsg1/src/api/c/stream.cpp:87:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fs.read((char*)&n_arrays, sizeof(int)); data/arrayfire-3.3.2+dfsg1/src/api/c/stream.cpp:150:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fs.read((char*)&dims, 4 * sizeof(intl)); data/arrayfire-3.3.2+dfsg1/src/api/c/stream.cpp:160:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fs.read((char*)&data.front(), size * sizeof(T)); data/arrayfire-3.3.2+dfsg1/src/api/c/stream.cpp:179:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fs.read(&version, sizeof(char)); data/arrayfire-3.3.2+dfsg1/src/api/c/stream.cpp:180:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fs.read((char*)&n_arrays, sizeof(int)); data/arrayfire-3.3.2+dfsg1/src/api/c/stream.cpp:192:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fs.read((char*)&klen, sizeof(int)); data/arrayfire-3.3.2+dfsg1/src/api/c/stream.cpp:202:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fs.read((char*)&offset, sizeof(intl)); data/arrayfire-3.3.2+dfsg1/src/api/c/stream.cpp:209:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fs.read((char*)&klen, sizeof(int)); data/arrayfire-3.3.2+dfsg1/src/api/c/stream.cpp:219:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fs.read((char*)&offset, sizeof(intl)); data/arrayfire-3.3.2+dfsg1/src/api/c/stream.cpp:223:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fs.read(&type_, sizeof(char)); data/arrayfire-3.3.2+dfsg1/src/api/c/stream.cpp:264:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fs.read(&version, sizeof(char)); data/arrayfire-3.3.2+dfsg1/src/api/c/stream.cpp:291:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fs.read(&version, sizeof(char)); data/arrayfire-3.3.2+dfsg1/src/api/c/stream.cpp:297:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fs.read((char*)&n_arrays, sizeof(int)); data/arrayfire-3.3.2+dfsg1/src/api/c/stream.cpp:300:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fs.read((char*)&klen, sizeof(int)); data/arrayfire-3.3.2+dfsg1/src/api/c/stream.cpp:302:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fs.read(readKey, klen); data/arrayfire-3.3.2+dfsg1/src/api/c/stream.cpp:313:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fs.read((char*)&offset, sizeof(intl)); data/arrayfire-3.3.2+dfsg1/src/api/cpp/exception.cpp:23:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(m_msg, "unknown exception", sizeof(m_msg)); data/arrayfire-3.3.2+dfsg1/src/api/cpp/exception.cpp:28:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(m_msg, msg, sizeof(m_msg)); data/arrayfire-3.3.2+dfsg1/src/backend/cuda/driver.cpp:99:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(result, buffer+pos, len); data/arrayfire-3.3.2+dfsg1/src/backend/opencl/cl.hpp:536:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_= ::strlen(str); data/arrayfire-3.3.2+dfsg1/test/array.cpp:147:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. ASSERT_TRUE(std::equal(data.begin(), data.end(), out.begin())); data/arrayfire-3.3.2+dfsg1/test/array.cpp:170:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. ASSERT_TRUE(std::equal(data.begin(), data.end(), out.begin())); data/arrayfire-3.3.2+dfsg1/test/array.cpp:193:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. ASSERT_TRUE(std::equal(data.begin(), data.end(), out.begin())); data/arrayfire-3.3.2+dfsg1/test/array.cpp:216:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. ASSERT_TRUE(std::equal(data.begin(), data.end(), out.begin())); data/arrayfire-3.3.2+dfsg1/test/blas.cpp:90:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if( false == equal(h_out.begin(), h_out.end(), tests[i].begin()) ) { data/arrayfire-3.3.2+dfsg1/test/blas.cpp:181:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (false == equal(h_out.begin(), h_out.end(), tests[i].begin())) { data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/internal/gtest-port.h:2299:10: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). return strncpy(dest, src, n); data/arrayfire-3.3.2+dfsg1/test/gtest/include/gtest/internal/gtest-port.h:2321:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return static_cast<int>(read(fd, buf, count)); data/arrayfire-3.3.2+dfsg1/test/gtest/samples/sample2.cc:42:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t len = strlen(a_c_string); data/arrayfire-3.3.2+dfsg1/test/gtest/samples/sample2.h:77:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return c_string_ == NULL ? 0 : strlen(c_string_); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-port.cc:559:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t full_regex_len = strlen(regex) + 10; data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-port.cc:813:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t len = strlen(regex); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-printers.cc:325:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). PrintCharsAsStringTo(s, strlen(s), os); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest-printers.cc:342:34: [1] (buffer) wcslen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). PrintCharsAsStringTo(s, std::wcslen(s), os); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest.cc:840:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const int length = strlen(ansi); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest.cc:1788:34: [1] (buffer) wcslen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). num_chars = static_cast<int>(wcslen(str)); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest.cc:3552:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). segment = next_segment + strlen("]]>"); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest.cc:3717:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). result.reserve(strlen(str) + 1); data/arrayfire-3.3.2+dfsg1/test/gtest/src/gtest.cc:4953:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t prefix_len = strlen(prefix); data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-filepath_test.cc:524:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). else if (temp_dir[strlen(temp_dir) - 1] == '\\') data/arrayfire-3.3.2+dfsg1/test/gtest/test/gtest-printers_test.cc:868:20: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. EXPECT_TRUE(std::equal(a, a + kSize, numbers.begin())); data/arrayfire-3.3.2+dfsg1/test/gtest/xcode/Samples/FrameworkSample/widget.cc:60:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buffer, name_.c_str(), max_size-1); data/arrayfire-3.3.2+dfsg1/test/histogram.cpp:162:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if( false == equal(h_out.begin(), h_out.end(), output) ) { data/arrayfire-3.3.2+dfsg1/test/histogram.cpp:195:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if( false == equal(h_out.begin(), h_out.end(), output) ) { data/arrayfire-3.3.2+dfsg1/test/histogram.cpp:232:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if( false == equal(h_out.begin(), h_out.end(), output) ) { data/arrayfire-3.3.2+dfsg1/test/index.cpp:284:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if(false == equal(ptr, ptr + tests[i].size(), tests[i].begin())) { data/arrayfire-3.3.2+dfsg1/test/index.cpp:531:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if(false == equal(ptr, ptr + tests[i].size(), tests[i].begin())) { data/arrayfire-3.3.2+dfsg1/test/reduce.cpp:84:17: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if(std::equal(currGoldBar.begin(), currGoldBar.end(), outData) == false) ANALYSIS SUMMARY: Hits = 273 Lines analyzed = 206870 in approximately 5.53 seconds (37378 lines/second) Physical Source Lines of Code (SLOC) = 138332 Hits@level = [0] 407 [1] 56 [2] 134 [3] 48 [4] 35 [5] 0 Hits@level+ = [0+] 680 [1+] 273 [2+] 217 [3+] 83 [4+] 35 [5+] 0 Hits/KSLOC@level+ = [0+] 4.91571 [1+] 1.97351 [2+] 1.56869 [3+] 0.600006 [4+] 0.253014 [5+] 0 Dot directories skipped = 2 (--followdotdir overrides) Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.