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/papi-6.0.0~dfsg/src/freebsd-lock.h Examining data/papi-6.0.0~dfsg/src/freebsd.c Examining data/papi-6.0.0~dfsg/src/freebsd.h Examining data/papi-6.0.0~dfsg/src/papi_debug.h Examining data/papi-6.0.0~dfsg/src/papiStdEventDefs.h Examining data/papi-6.0.0~dfsg/src/solaris-ultra.h Examining data/papi-6.0.0~dfsg/src/aix-context.h Examining data/papi-6.0.0~dfsg/src/linux-common.c Examining data/papi-6.0.0~dfsg/src/linux-bgq.c Examining data/papi-6.0.0~dfsg/src/genpapifdef.c Examining data/papi-6.0.0~dfsg/src/components/micpower/tests/micpower_basic.c Examining data/papi-6.0.0~dfsg/src/components/micpower/linux-micpower.h Examining data/papi-6.0.0~dfsg/src/components/micpower/linux-micpower.c Examining data/papi-6.0.0~dfsg/src/components/infiniband/tests/infiniband_values_by_code.c Examining data/papi-6.0.0~dfsg/src/components/infiniband/tests/MPI_test_infiniband_events.c Examining data/papi-6.0.0~dfsg/src/components/infiniband/tests/infiniband_list_events.c Examining data/papi-6.0.0~dfsg/src/components/infiniband/pscanf.h Examining data/papi-6.0.0~dfsg/src/components/infiniband/linux-infiniband.c Examining data/papi-6.0.0~dfsg/src/components/nvml/tests/benchSANVML.c Examining data/papi-6.0.0~dfsg/src/components/nvml/linux-nvml.h Examining data/papi-6.0.0~dfsg/src/components/nvml/linux-nvml.c Examining data/papi-6.0.0~dfsg/src/components/rapl/tests/rapl_basic.c Examining data/papi-6.0.0~dfsg/src/components/rapl/tests/rapl_overflow.c Examining data/papi-6.0.0~dfsg/src/components/rapl/utils/rapl_plot.c Examining data/papi-6.0.0~dfsg/src/components/rapl/linux-rapl.c Examining data/papi-6.0.0~dfsg/src/components/perf_event_uncore/tests/perf_event_amd_northbridge.c Examining data/papi-6.0.0~dfsg/src/components/perf_event_uncore/tests/perf_event_uncore_lib.h Examining data/papi-6.0.0~dfsg/src/components/perf_event_uncore/tests/perf_event_uncore.c Examining data/papi-6.0.0~dfsg/src/components/perf_event_uncore/tests/perf_event_uncore_cbox.c Examining data/papi-6.0.0~dfsg/src/components/perf_event_uncore/tests/perf_event_uncore_lib.c Examining data/papi-6.0.0~dfsg/src/components/perf_event_uncore/tests/perf_event_uncore_multiple.c Examining data/papi-6.0.0~dfsg/src/components/perf_event_uncore/tests/perf_event_uncore_attach.c Examining data/papi-6.0.0~dfsg/src/components/perf_event_uncore/perf_event_uncore.c Examining data/papi-6.0.0~dfsg/src/components/coretemp/tests/coretemp_pretty.c Examining data/papi-6.0.0~dfsg/src/components/coretemp/tests/coretemp_basic.c Examining data/papi-6.0.0~dfsg/src/components/coretemp/linux-coretemp.c Examining data/papi-6.0.0~dfsg/src/components/coretemp/linux-coretemp.h Examining data/papi-6.0.0~dfsg/src/components/sensors_ppc/tests/sensors_ppc_basic.c Examining data/papi-6.0.0~dfsg/src/components/sensors_ppc/linux-sensors-ppc.h Examining data/papi-6.0.0~dfsg/src/components/sensors_ppc/linux-sensors-ppc.c Examining data/papi-6.0.0~dfsg/src/components/host_micpower/tests/host_micpower_basic.c Examining data/papi-6.0.0~dfsg/src/components/host_micpower/utils/host_micpower_plot.c Examining data/papi-6.0.0~dfsg/src/components/host_micpower/linux-host_micpower.c Examining data/papi-6.0.0~dfsg/src/components/powercap/tests/powercap_limit.c Examining data/papi-6.0.0~dfsg/src/components/powercap/tests/powercap_basic.c Examining data/papi-6.0.0~dfsg/src/components/powercap/utils/powercap_plot.c Examining data/papi-6.0.0~dfsg/src/components/powercap/linux-powercap.c Examining data/papi-6.0.0~dfsg/src/components/bgpm/CNKunit/linux-CNKunit.c Examining data/papi-6.0.0~dfsg/src/components/bgpm/CNKunit/linux-CNKunit.h Examining data/papi-6.0.0~dfsg/src/components/bgpm/NWunit/linux-NWunit.h Examining data/papi-6.0.0~dfsg/src/components/bgpm/NWunit/linux-NWunit.c Examining data/papi-6.0.0~dfsg/src/components/bgpm/IOunit/linux-IOunit.c Examining data/papi-6.0.0~dfsg/src/components/bgpm/IOunit/linux-IOunit.h Examining data/papi-6.0.0~dfsg/src/components/bgpm/L2unit/linux-L2unit.c Examining data/papi-6.0.0~dfsg/src/components/bgpm/L2unit/linux-L2unit.h Examining data/papi-6.0.0~dfsg/src/components/rocm_smi/tests/rocm_command_line.cpp Examining data/papi-6.0.0~dfsg/src/components/rocm_smi/tests/rocm_smi_all.cpp Examining data/papi-6.0.0~dfsg/src/components/rocm_smi/tests/rocm_smi_writeTests.cpp Examining data/papi-6.0.0~dfsg/src/components/rocm_smi/tests/rocmcap_plot.cpp Examining data/papi-6.0.0~dfsg/src/components/rocm_smi/linux-rocm-smi.c Examining data/papi-6.0.0~dfsg/src/components/lmsensors/linux-lmsensors.c Examining data/papi-6.0.0~dfsg/src/components/perfctr_ppc/perfctr-ppc64.h Examining data/papi-6.0.0~dfsg/src/components/perfctr_ppc/ppc970_events_map.c Examining data/papi-6.0.0~dfsg/src/components/perfctr_ppc/ppc64_events.h Examining data/papi-6.0.0~dfsg/src/components/perfctr_ppc/power7_events.h Examining data/papi-6.0.0~dfsg/src/components/perfctr_ppc/power5_events.h Examining data/papi-6.0.0~dfsg/src/components/perfctr_ppc/linux-ppc64.h Examining data/papi-6.0.0~dfsg/src/components/perfctr_ppc/power5+_events_map.c Examining data/papi-6.0.0~dfsg/src/components/perfctr_ppc/perfctr-ppc64.c Examining data/papi-6.0.0~dfsg/src/components/perfctr_ppc/ppc64_events.c Examining data/papi-6.0.0~dfsg/src/components/perfctr_ppc/ppc970_events.h Examining data/papi-6.0.0~dfsg/src/components/perfctr_ppc/power5_events_map.c Examining data/papi-6.0.0~dfsg/src/components/perfctr_ppc/power6_events.h Examining data/papi-6.0.0~dfsg/src/components/perfctr_ppc/power5+_events.h Examining data/papi-6.0.0~dfsg/src/components/perfctr_ppc/power6_events_map.c Examining data/papi-6.0.0~dfsg/src/components/stealtime/linux-stealtime.c Examining data/papi-6.0.0~dfsg/src/components/stealtime/tests/stealtime_basic.c Examining data/papi-6.0.0~dfsg/src/components/example/tests/example_basic.c Examining data/papi-6.0.0~dfsg/src/components/example/tests/example_multiple_components.c Examining data/papi-6.0.0~dfsg/src/components/example/example.c Examining data/papi-6.0.0~dfsg/src/components/example/example.h Examining data/papi-6.0.0~dfsg/src/components/perfmon2/perfmon.h Examining data/papi-6.0.0~dfsg/src/components/perfmon2/perfmon.c Examining data/papi-6.0.0~dfsg/src/components/emon/linux-emon.c Examining data/papi-6.0.0~dfsg/src/components/lustre/tests/lustre_basic.c Examining data/papi-6.0.0~dfsg/src/components/lustre/linux-lustre.c Examining data/papi-6.0.0~dfsg/src/components/perf_event/tests/perf_event_system_wide.c Examining data/papi-6.0.0~dfsg/src/components/perf_event/tests/event_name_lib.h Examining data/papi-6.0.0~dfsg/src/components/perf_event/tests/event_name_lib.c Examining data/papi-6.0.0~dfsg/src/components/perf_event/tests/perf_event_user_kernel.c Examining data/papi-6.0.0~dfsg/src/components/perf_event/tests/nmi_watchdog.c Examining data/papi-6.0.0~dfsg/src/components/perf_event/tests/perf_event_offcore_response.c Examining data/papi-6.0.0~dfsg/src/components/perf_event/tests/broken_events.c Examining data/papi-6.0.0~dfsg/src/components/perf_event/perf_helpers.h Examining data/papi-6.0.0~dfsg/src/components/perf_event/pe_libpfm4_events.c Examining data/papi-6.0.0~dfsg/src/components/perf_event/pe_libpfm4_events.h Examining data/papi-6.0.0~dfsg/src/components/perf_event/perf_event.c Examining data/papi-6.0.0~dfsg/src/components/perf_event/perf_event_lib.h Examining data/papi-6.0.0~dfsg/src/components/io/tests/io_basic.c Examining data/papi-6.0.0~dfsg/src/components/io/linux-io.c Examining data/papi-6.0.0~dfsg/src/components/appio/tests/appio_test_socket.c Examining data/papi-6.0.0~dfsg/src/components/appio/tests/appio_values_by_code.c Examining data/papi-6.0.0~dfsg/src/components/appio/tests/appio_values_by_name.c Examining data/papi-6.0.0~dfsg/src/components/appio/tests/appio_test_blocking.c Examining data/papi-6.0.0~dfsg/src/components/appio/tests/appio_test_fread_fwrite.c Examining data/papi-6.0.0~dfsg/src/components/appio/tests/init_fini.c Examining data/papi-6.0.0~dfsg/src/components/appio/tests/appio_list_events.c Examining data/papi-6.0.0~dfsg/src/components/appio/tests/appio_test_recv.c Examining data/papi-6.0.0~dfsg/src/components/appio/tests/appio_test_select.c Examining data/papi-6.0.0~dfsg/src/components/appio/tests/appio_test_read_write.c Examining data/papi-6.0.0~dfsg/src/components/appio/tests/appio_test_pthreads.c Examining data/papi-6.0.0~dfsg/src/components/appio/tests/appio_test_seek.c Examining data/papi-6.0.0~dfsg/src/components/appio/appio.c Examining data/papi-6.0.0~dfsg/src/components/appio/appio.h Examining data/papi-6.0.0~dfsg/src/components/rocm/tests/rocm_command_line.c Examining data/papi-6.0.0~dfsg/src/components/rocm/tests/rocm_all.cpp Examining data/papi-6.0.0~dfsg/src/components/rocm/linux-rocm.c Examining data/papi-6.0.0~dfsg/src/components/net/tests/net_list_events.c Examining data/papi-6.0.0~dfsg/src/components/net/tests/net_values_by_code.c Examining data/papi-6.0.0~dfsg/src/components/net/tests/net_values_by_name.c Examining data/papi-6.0.0~dfsg/src/components/net/linux-net.h Examining data/papi-6.0.0~dfsg/src/components/net/linux-net.c Examining data/papi-6.0.0~dfsg/src/components/sde/tests/Recorder/Lib_With_Recorder.c Examining data/papi-6.0.0~dfsg/src/components/sde/tests/Recorder/Recorder_Driver.c Examining data/papi-6.0.0~dfsg/src/components/sde/tests/Advanced_C+FORTRAN/Gamum.c Examining data/papi-6.0.0~dfsg/src/components/sde/tests/Simple/Simple_Driver.c Examining data/papi-6.0.0~dfsg/src/components/sde/tests/Simple/Simple_Lib.c Examining data/papi-6.0.0~dfsg/src/components/sde/tests/Minimal/Minimal_Test.c Examining data/papi-6.0.0~dfsg/src/components/sde/tests/Simple2/Simple2_Driver.c Examining data/papi-6.0.0~dfsg/src/components/sde/tests/Simple2/Simple2_Lib.c Examining data/papi-6.0.0~dfsg/src/components/sde/sde_internal.h Examining data/papi-6.0.0~dfsg/src/components/sde/sde.c Examining data/papi-6.0.0~dfsg/src/components/sde/interface/papi_sde_interface.c Examining data/papi-6.0.0~dfsg/src/components/sde/interface/papi_sde_interface.h Examining data/papi-6.0.0~dfsg/src/components/cuda/tests/timer.h Examining data/papi-6.0.0~dfsg/src/components/cuda/tests/cuda_ld_preload_example.c Examining data/papi-6.0.0~dfsg/src/components/cuda/tests/simpleMultiGPU.h Examining data/papi-6.0.0~dfsg/src/components/cuda/linux-cuda.c Examining data/papi-6.0.0~dfsg/src/components/cuda/sampling/activity.c Examining data/papi-6.0.0~dfsg/src/components/cuda/sampling/gpu_activity.c Examining data/papi-6.0.0~dfsg/src/components/powercap_ppc/tests/powercap_limit.c Examining data/papi-6.0.0~dfsg/src/components/powercap_ppc/tests/powercap_basic.c Examining data/papi-6.0.0~dfsg/src/components/powercap_ppc/linux-powercap-ppc.c Examining data/papi-6.0.0~dfsg/src/components/powercap_ppc/linux-powercap-ppc.h Examining data/papi-6.0.0~dfsg/src/components/libmsr/tests/libmsr_basic.c Examining data/papi-6.0.0~dfsg/src/components/libmsr/linux-libmsr.c Examining data/papi-6.0.0~dfsg/src/components/libmsr/utils/libmsr_write_test.c Examining data/papi-6.0.0~dfsg/src/components/vmware/tests/vmware_basic.c Examining data/papi-6.0.0~dfsg/src/components/vmware/vmware.c Examining data/papi-6.0.0~dfsg/src/components/coretemp_freebsd/coretemp_freebsd.c Examining data/papi-6.0.0~dfsg/src/components/coretemp_freebsd/coretemp_freebsd.h Examining data/papi-6.0.0~dfsg/src/components/perfmon_ia64/perfmon-ia64.c Examining data/papi-6.0.0~dfsg/src/components/perfmon_ia64/perfmon-ia64.h Examining data/papi-6.0.0~dfsg/src/components/perfctr/perfctr.c Examining data/papi-6.0.0~dfsg/src/components/perfctr/perfctr-x86.h Examining data/papi-6.0.0~dfsg/src/components/perfctr/perfctr-x86.c Examining data/papi-6.0.0~dfsg/src/components/mx/tests/mx_basic.c Examining data/papi-6.0.0~dfsg/src/components/mx/tests/mx_elapsed.c Examining data/papi-6.0.0~dfsg/src/components/mx/utils/fake_mx_counters.c Examining data/papi-6.0.0~dfsg/src/components/mx/linux-mx.c Examining data/papi-6.0.0~dfsg/src/components/pcp/tests/benchStats.c Examining data/papi-6.0.0~dfsg/src/components/pcp/tests/benchPCP.c Examining data/papi-6.0.0~dfsg/src/components/pcp/tests/testPCP.c Examining data/papi-6.0.0~dfsg/src/components/pcp/linux-pcp.c Examining data/papi-6.0.0~dfsg/src/solaris-common.h Examining data/papi-6.0.0~dfsg/src/papi_memory.c Examining data/papi-6.0.0~dfsg/src/linux-timer.h Examining data/papi-6.0.0~dfsg/src/papi_fwrappers.c Examining data/papi-6.0.0~dfsg/src/linux-timer.c Examining data/papi-6.0.0~dfsg/src/linux-bgq-memory.c Examining data/papi-6.0.0~dfsg/src/Matlab/PAPI_Matlab.c Examining data/papi-6.0.0~dfsg/src/darwin-context.h Examining data/papi-6.0.0~dfsg/src/solaris-common.c Examining data/papi-6.0.0~dfsg/src/solaris-memory.h Examining data/papi-6.0.0~dfsg/src/linux-generic.h Examining data/papi-6.0.0~dfsg/src/x86_cpuid_info.c