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/libunwind-1.3.2/src/mi/Lget_accessors.c
Examining data/libunwind-1.3.2/src/mi/Lget_proc_info_by_ip.c
Examining data/libunwind-1.3.2/src/mi/dyn-cancel.c
Examining data/libunwind-1.3.2/src/mi/Lset_cache_size.c
Examining data/libunwind-1.3.2/src/mi/Lset_caching_policy.c
Examining data/libunwind-1.3.2/src/mi/Gdyn-extract.c
Examining data/libunwind-1.3.2/src/mi/backtrace.c
Examining data/libunwind-1.3.2/src/mi/init.c
Examining data/libunwind-1.3.2/src/mi/Gget_proc_info_by_ip.c
Examining data/libunwind-1.3.2/src/mi/Lget_proc_name.c
Examining data/libunwind-1.3.2/src/mi/dyn-register.c
Examining data/libunwind-1.3.2/src/mi/Gdestroy_addr_space.c
Examining data/libunwind-1.3.2/src/mi/_ReadULEB.c
Examining data/libunwind-1.3.2/src/mi/Lset_reg.c
Examining data/libunwind-1.3.2/src/mi/Gput_dynamic_unwind_info.c
Examining data/libunwind-1.3.2/src/mi/Gset_cache_size.c
Examining data/libunwind-1.3.2/src/mi/Gset_fpreg.c
Examining data/libunwind-1.3.2/src/mi/Gset_reg.c
Examining data/libunwind-1.3.2/src/mi/_ReadSLEB.c
Examining data/libunwind-1.3.2/src/mi/Gset_caching_policy.c
Examining data/libunwind-1.3.2/src/mi/Gdyn-remote.c
Examining data/libunwind-1.3.2/src/mi/strerror.c
Examining data/libunwind-1.3.2/src/mi/Ldestroy_addr_space.c
Examining data/libunwind-1.3.2/src/mi/Ldyn-extract.c
Examining data/libunwind-1.3.2/src/mi/Gget_accessors.c
Examining data/libunwind-1.3.2/src/mi/Gget_reg.c
Examining data/libunwind-1.3.2/src/mi/dyn-info-list.c
Examining data/libunwind-1.3.2/src/mi/mempool.c
Examining data/libunwind-1.3.2/src/mi/Gget_proc_name.c
Examining data/libunwind-1.3.2/src/mi/Lset_fpreg.c
Examining data/libunwind-1.3.2/src/mi/Gget_fpreg.c
Examining data/libunwind-1.3.2/src/mi/Lput_dynamic_unwind_info.c
Examining data/libunwind-1.3.2/src/mi/Lfind_dynamic_proc_info.c
Examining data/libunwind-1.3.2/src/mi/Lget_reg.c
Examining data/libunwind-1.3.2/src/mi/flush_cache.c
Examining data/libunwind-1.3.2/src/mi/Lget_fpreg.c
Examining data/libunwind-1.3.2/src/mi/Gfind_dynamic_proc_info.c
Examining data/libunwind-1.3.2/src/unwind/Resume_or_Rethrow.c
Examining data/libunwind-1.3.2/src/unwind/GetRegionStart.c
Examining data/libunwind-1.3.2/src/unwind/GetBSP.c
Examining data/libunwind-1.3.2/src/unwind/GetDataRelBase.c
Examining data/libunwind-1.3.2/src/unwind/GetTextRelBase.c
Examining data/libunwind-1.3.2/src/unwind/GetGR.c
Examining data/libunwind-1.3.2/src/unwind/SetGR.c
Examining data/libunwind-1.3.2/src/unwind/RaiseException.c
Examining data/libunwind-1.3.2/src/unwind/SetIP.c
Examining data/libunwind-1.3.2/src/unwind/Resume.c
Examining data/libunwind-1.3.2/src/unwind/GetCFA.c
Examining data/libunwind-1.3.2/src/unwind/unwind-internal.h
Examining data/libunwind-1.3.2/src/unwind/GetLanguageSpecificData.c
Examining data/libunwind-1.3.2/src/unwind/GetIPInfo.c
Examining data/libunwind-1.3.2/src/unwind/ForcedUnwind.c
Examining data/libunwind-1.3.2/src/unwind/FindEnclosingFunction.c
Examining data/libunwind-1.3.2/src/unwind/GetIP.c
Examining data/libunwind-1.3.2/src/unwind/DeleteException.c
Examining data/libunwind-1.3.2/src/unwind/Backtrace.c
Examining data/libunwind-1.3.2/src/dwarf/Gfde.c
Examining data/libunwind-1.3.2/src/dwarf/global.c
Examining data/libunwind-1.3.2/src/dwarf/Gexpr.c
Examining data/libunwind-1.3.2/src/dwarf/Lparser.c
Examining data/libunwind-1.3.2/src/dwarf/Lexpr.c
Examining data/libunwind-1.3.2/src/dwarf/Gfind_unwind_table.c
Examining data/libunwind-1.3.2/src/dwarf/Gparser.c
Examining data/libunwind-1.3.2/src/dwarf/Lpe.c
Examining data/libunwind-1.3.2/src/dwarf/Lfind_proc_info-lsb.c
Examining data/libunwind-1.3.2/src/dwarf/Gfind_proc_info-lsb.c
Examining data/libunwind-1.3.2/src/dwarf/Lfind_unwind_table.c
Examining data/libunwind-1.3.2/src/dwarf/Lfde.c
Examining data/libunwind-1.3.2/src/dwarf/Gpe.c
Examining data/libunwind-1.3.2/src/elf32.h
Examining data/libunwind-1.3.2/src/os-freebsd.c
Examining data/libunwind-1.3.2/src/hppa/unwind_i.h
Examining data/libunwind-1.3.2/src/hppa/Gget_save_loc.c
Examining data/libunwind-1.3.2/src/hppa/Ginit_local.c
Examining data/libunwind-1.3.2/src/hppa/Lapply_reg_state.c
Examining data/libunwind-1.3.2/src/hppa/Greg_states_iterate.c
Examining data/libunwind-1.3.2/src/hppa/Lregs.c
Examining data/libunwind-1.3.2/src/hppa/regname.c
Examining data/libunwind-1.3.2/src/hppa/Ginit_remote.c
Examining data/libunwind-1.3.2/src/hppa/Linit_remote.c
Examining data/libunwind-1.3.2/src/hppa/Gstep.c
Examining data/libunwind-1.3.2/src/hppa/Linit_local.c
Examining data/libunwind-1.3.2/src/hppa/Gis_signal_frame.c
Examining data/libunwind-1.3.2/src/hppa/Linit.c
Examining data/libunwind-1.3.2/src/hppa/Gglobal.c
Examining data/libunwind-1.3.2/src/hppa/Lstep.c
Examining data/libunwind-1.3.2/src/hppa/Lget_save_loc.c
Examining data/libunwind-1.3.2/src/hppa/Lglobal.c
Examining data/libunwind-1.3.2/src/hppa/Gresume.c
Examining data/libunwind-1.3.2/src/hppa/Gcreate_addr_space.c
Examining data/libunwind-1.3.2/src/hppa/offsets.h
Examining data/libunwind-1.3.2/src/hppa/Lis_signal_frame.c
Examining data/libunwind-1.3.2/src/hppa/Lreg_states_iterate.c
Examining data/libunwind-1.3.2/src/hppa/Gget_proc_info.c
Examining data/libunwind-1.3.2/src/hppa/Gapply_reg_state.c
Examining data/libunwind-1.3.2/src/hppa/Lcreate_addr_space.c
Examining data/libunwind-1.3.2/src/hppa/Lget_proc_info.c
Examining data/libunwind-1.3.2/src/hppa/Gregs.c
Examining data/libunwind-1.3.2/src/hppa/Lresume.c
Examining data/libunwind-1.3.2/src/hppa/init.h
Examining data/libunwind-1.3.2/src/hppa/Ginit.c
Examining data/libunwind-1.3.2/src/os-hpux.c
Examining data/libunwind-1.3.2/src/ppc32/unwind_i.h
Examining data/libunwind-1.3.2/src/ppc32/Lapply_reg_state.c
Examining data/libunwind-1.3.2/src/ppc32/Greg_states_iterate.c
Examining data/libunwind-1.3.2/src/ppc32/Lregs.c
Examining data/libunwind-1.3.2/src/ppc32/regname.c
Examining data/libunwind-1.3.2/src/ppc32/Gstep.c
Examining data/libunwind-1.3.2/src/ppc32/Linit.c
Examining data/libunwind-1.3.2/src/ppc32/ucontext_i.h
Examining data/libunwind-1.3.2/src/ppc32/Gglobal.c
Examining data/libunwind-1.3.2/src/ppc32/Lstep.c
Examining data/libunwind-1.3.2/src/ppc32/get_func_addr.c
Examining data/libunwind-1.3.2/src/ppc32/Lglobal.c
Examining data/libunwind-1.3.2/src/ppc32/Gresume.c
Examining data/libunwind-1.3.2/src/ppc32/Gcreate_addr_space.c
Examining data/libunwind-1.3.2/src/ppc32/Lreg_states_iterate.c
Examining data/libunwind-1.3.2/src/ppc32/Gapply_reg_state.c
Examining data/libunwind-1.3.2/src/ppc32/Lcreate_addr_space.c
Examining data/libunwind-1.3.2/src/ppc32/is_fpreg.c
Examining data/libunwind-1.3.2/src/ppc32/Gregs.c
Examining data/libunwind-1.3.2/src/ppc32/Lresume.c
Examining data/libunwind-1.3.2/src/ppc32/init.h
Examining data/libunwind-1.3.2/src/ppc32/Ginit.c
Examining data/libunwind-1.3.2/src/tilegx/unwind_i.h
Examining data/libunwind-1.3.2/src/tilegx/Gget_save_loc.c
Examining data/libunwind-1.3.2/src/tilegx/Ginit_local.c
Examining data/libunwind-1.3.2/src/tilegx/Lapply_reg_state.c
Examining data/libunwind-1.3.2/src/tilegx/Greg_states_iterate.c
Examining data/libunwind-1.3.2/src/tilegx/Lregs.c
Examining data/libunwind-1.3.2/src/tilegx/regname.c
Examining data/libunwind-1.3.2/src/tilegx/Ginit_remote.c
Examining data/libunwind-1.3.2/src/tilegx/Linit_remote.c
Examining data/libunwind-1.3.2/src/tilegx/Gstep.c
Examining data/libunwind-1.3.2/src/tilegx/Linit_local.c
Examining data/libunwind-1.3.2/src/tilegx/Gis_signal_frame.c
Examining data/libunwind-1.3.2/src/tilegx/Linit.c
Examining data/libunwind-1.3.2/src/tilegx/Gglobal.c
Examining data/libunwind-1.3.2/src/tilegx/Lstep.c
Examining data/libunwind-1.3.2/src/tilegx/Lget_save_loc.c
Examining data/libunwind-1.3.2/src/tilegx/Lglobal.c
Examining data/libunwind-1.3.2/src/tilegx/Gresume.c
Examining data/libunwind-1.3.2/src/tilegx/Gcreate_addr_space.c
Examining data/libunwind-1.3.2/src/tilegx/offsets.h
Examining data/libunwind-1.3.2/src/tilegx/Lis_signal_frame.c
Examining data/libunwind-1.3.2/src/tilegx/Lreg_states_iterate.c
Examining data/libunwind-1.3.2/src/tilegx/Gget_proc_info.c
Examining data/libunwind-1.3.2/src/tilegx/Gapply_reg_state.c
Examining data/libunwind-1.3.2/src/tilegx/Lcreate_addr_space.c
Examining data/libunwind-1.3.2/src/tilegx/Lget_proc_info.c
Examining data/libunwind-1.3.2/src/tilegx/is_fpreg.c
Examining data/libunwind-1.3.2/src/tilegx/Gregs.c
Examining data/libunwind-1.3.2/src/tilegx/Lresume.c
Examining data/libunwind-1.3.2/src/tilegx/init.h
Examining data/libunwind-1.3.2/src/tilegx/Ginit.c
Examining data/libunwind-1.3.2/src/elf64.c
Examining data/libunwind-1.3.2/src/os-qnx.c
Examining data/libunwind-1.3.2/src/ppc/Gget_save_loc.c
Examining data/libunwind-1.3.2/src/ppc/Ginit_local.c
Examining data/libunwind-1.3.2/src/ppc/Ginit_remote.c
Examining data/libunwind-1.3.2/src/ppc/Linit_remote.c
Examining data/libunwind-1.3.2/src/ppc/Linit_local.c
Examining data/libunwind-1.3.2/src/ppc/Gis_signal_frame.c
Examining data/libunwind-1.3.2/src/ppc/Lget_save_loc.c
Examining data/libunwind-1.3.2/src/ppc/Lis_signal_frame.c
Examining data/libunwind-1.3.2/src/ppc/Gget_proc_info.c
Examining data/libunwind-1.3.2/src/ppc/Lget_proc_info.c
Examining data/libunwind-1.3.2/src/x86_64/unwind_i.h
Examining data/libunwind-1.3.2/src/x86_64/Gget_save_loc.c
Examining data/libunwind-1.3.2/src/x86_64/Los-linux.c
Examining data/libunwind-1.3.2/src/x86_64/Ginit_local.c
Examining data/libunwind-1.3.2/src/x86_64/Lapply_reg_state.c
Examining data/libunwind-1.3.2/src/x86_64/Lstash_frame.c
Examining data/libunwind-1.3.2/src/x86_64/Gstash_frame.c
Examining data/libunwind-1.3.2/src/x86_64/Greg_states_iterate.c
Examining data/libunwind-1.3.2/src/x86_64/Lregs.c
Examining data/libunwind-1.3.2/src/x86_64/Gtrace.c
Examining data/libunwind-1.3.2/src/x86_64/regname.c
Examining data/libunwind-1.3.2/src/x86_64/Ginit_remote.c
Examining data/libunwind-1.3.2/src/x86_64/Linit_remote.c
Examining data/libunwind-1.3.2/src/x86_64/Gstep.c
Examining data/libunwind-1.3.2/src/x86_64/Linit_local.c
Examining data/libunwind-1.3.2/src/x86_64/Linit.c
Examining data/libunwind-1.3.2/src/x86_64/ucontext_i.h
Examining data/libunwind-1.3.2/src/x86_64/Gglobal.c
Examining data/libunwind-1.3.2/src/x86_64/Lstep.c
Examining data/libunwind-1.3.2/src/x86_64/Gos-linux.c
Examining data/libunwind-1.3.2/src/x86_64/Los-freebsd.c
Examining data/libunwind-1.3.2/src/x86_64/Lget_save_loc.c
Examining data/libunwind-1.3.2/src/x86_64/Lglobal.c
Examining data/libunwind-1.3.2/src/x86_64/Gresume.c
Examining data/libunwind-1.3.2/src/x86_64/Ltrace.c
Examining data/libunwind-1.3.2/src/x86_64/Gcreate_addr_space.c
Examining data/libunwind-1.3.2/src/x86_64/offsets.h
Examining data/libunwind-1.3.2/src/x86_64/Lreg_states_iterate.c
Examining data/libunwind-1.3.2/src/x86_64/Gget_proc_info.c
Examining data/libunwind-1.3.2/src/x86_64/Gos-freebsd.c
Examining data/libunwind-1.3.2/src/x86_64/Gapply_reg_state.c
Examining data/libunwind-1.3.2/src/x86_64/Lcreate_addr_space.c
Examining data/libunwind-1.3.2/src/x86_64/Lget_proc_info.c
Examining data/libunwind-1.3.2/src/x86_64/is_fpreg.c
Examining data/libunwind-1.3.2/src/x86_64/Gregs.c
Examining data/libunwind-1.3.2/src/x86_64/Lresume.c
Examining data/libunwind-1.3.2/src/x86_64/init.h
Examining data/libunwind-1.3.2/src/x86_64/Ginit.c
Examining data/libunwind-1.3.2/src/arm/unwind_i.h
Examining data/libunwind-1.3.2/src/arm/Gget_save_loc.c
Examining data/libunwind-1.3.2/src/arm/Los-linux.c
Examining data/libunwind-1.3.2/src/arm/Ginit_local.c
Examining data/libunwind-1.3.2/src/arm/Lapply_reg_state.c
Examining data/libunwind-1.3.2/src/arm/Lstash_frame.c
Examining data/libunwind-1.3.2/src/arm/Gstash_frame.c
Examining data/libunwind-1.3.2/src/arm/Gos-other.c
Examining data/libunwind-1.3.2/src/arm/Greg_states_iterate.c
Examining data/libunwind-1.3.2/src/arm/Lregs.c
Examining data/libunwind-1.3.2/src/arm/Gtrace.c
Examining data/libunwind-1.3.2/src/arm/regname.c
Examining data/libunwind-1.3.2/src/arm/Ginit_remote.c
Examining data/libunwind-1.3.2/src/arm/Linit_remote.c
Examining data/libunwind-1.3.2/src/arm/Gstep.c
Examining data/libunwind-1.3.2/src/arm/Linit_local.c
Examining data/libunwind-1.3.2/src/arm/Lex_tables.c
Examining data/libunwind-1.3.2/src/arm/Linit.c
Examining data/libunwind-1.3.2/src/arm/Gglobal.c
Examining data/libunwind-1.3.2/src/arm/Lstep.c
Examining data/libunwind-1.3.2/src/arm/Gex_tables.c
Examining data/libunwind-1.3.2/src/arm/Gos-linux.c
Examining data/libunwind-1.3.2/src/arm/Los-freebsd.c
Examining data/libunwind-1.3.2/src/arm/Los-other.c
Examining data/libunwind-1.3.2/src/arm/Lget_save_loc.c
Examining data/libunwind-1.3.2/src/arm/Lglobal.c
Examining data/libunwind-1.3.2/src/arm/Gresume.c
Examining data/libunwind-1.3.2/src/arm/Ltrace.c
Examining data/libunwind-1.3.2/src/arm/Gcreate_addr_space.c
Examining data/libunwind-1.3.2/src/arm/offsets.h
Examining data/libunwind-1.3.2/src/arm/Lreg_states_iterate.c
Examining data/libunwind-1.3.2/src/arm/Gget_proc_info.c
Examining data/libunwind-1.3.2/src/arm/Gos-freebsd.c
Examining data/libunwind-1.3.2/src/arm/Gapply_reg_state.c
Examining data/libunwind-1.3.2/src/arm/Lcreate_addr_space.c
Examining data/libunwind-1.3.2/src/arm/Lget_proc_info.c
Examining data/libunwind-1.3.2/src/arm/is_fpreg.c
Examining data/libunwind-1.3.2/src/arm/Gregs.c
Examining data/libunwind-1.3.2/src/arm/Lresume.c
Examining data/libunwind-1.3.2/src/arm/init.h
Examining data/libunwind-1.3.2/src/arm/Ginit.c
Examining data/libunwind-1.3.2/src/sh/unwind_i.h
Examining data/libunwind-1.3.2/src/sh/Gget_save_loc.c
Examining data/libunwind-1.3.2/src/sh/Lapply_reg_state.c
Examining data/libunwind-1.3.2/src/sh/Greg_states_iterate.c
Examining data/libunwind-1.3.2/src/sh/Lregs.c
Examining data/libunwind-1.3.2/src/sh/regname.c
Examining data/libunwind-1.3.2/src/sh/Ginit_remote.c
Examining data/libunwind-1.3.2/src/sh/Linit_remote.c
Examining data/libunwind-1.3.2/src/sh/Gstep.c
Examining data/libunwind-1.3.2/src/sh/Linit_local.c
Examining data/libunwind-1.3.2/src/sh/Gis_signal_frame.c
Examining data/libunwind-1.3.2/src/sh/Linit.c
Examining data/libunwind-1.3.2/src/sh/Gglobal.c
Examining data/libunwind-1.3.2/src/sh/Lstep.c
Examining data/libunwind-1.3.2/src/sh/Lget_save_loc.c
Examining data/libunwind-1.3.2/src/sh/Lglobal.c
Examining data/libunwind-1.3.2/src/sh/Gresume.c
Examining data/libunwind-1.3.2/src/sh/Gcreate_addr_space.c
Examining data/libunwind-1.3.2/src/sh/offsets.h
Examining data/libunwind-1.3.2/src/sh/Lis_signal_frame.c
Examining data/libunwind-1.3.2/src/sh/Lreg_states_iterate.c
Examining data/libunwind-1.3.2/src/sh/Gget_proc_info.c
Examining data/libunwind-1.3.2/src/sh/Gapply_reg_state.c
Examining data/libunwind-1.3.2/src/sh/Lcreate_addr_space.c
Examining data/libunwind-1.3.2/src/sh/Lget_proc_info.c
Examining data/libunwind-1.3.2/src/sh/is_fpreg.c
Examining data/libunwind-1.3.2/src/sh/Gregs.c
Examining data/libunwind-1.3.2/src/sh/Lresume.c
Examining data/libunwind-1.3.2/src/sh/init.h
Examining data/libunwind-1.3.2/src/sh/Ginit.c
Examining data/libunwind-1.3.2/src/sh/Ginit_local.c
Examining data/libunwind-1.3.2/src/mips/unwind_i.h
Examining data/libunwind-1.3.2/src/mips/Gget_save_loc.c
Examining data/libunwind-1.3.2/src/mips/Ginit_local.c
Examining data/libunwind-1.3.2/src/mips/Lapply_reg_state.c
Examining data/libunwind-1.3.2/src/mips/Greg_states_iterate.c
Examining data/libunwind-1.3.2/src/mips/Lregs.c
Examining data/libunwind-1.3.2/src/mips/regname.c
Examining data/libunwind-1.3.2/src/mips/Ginit_remote.c
Examining data/libunwind-1.3.2/src/mips/Linit_remote.c
Examining data/libunwind-1.3.2/src/mips/Gstep.c
Examining data/libunwind-1.3.2/src/mips/Linit_local.c
Examining data/libunwind-1.3.2/src/mips/Gis_signal_frame.c
Examining data/libunwind-1.3.2/src/mips/Linit.c
Examining data/libunwind-1.3.2/src/mips/Gglobal.c
Examining data/libunwind-1.3.2/src/mips/Lstep.c
Examining data/libunwind-1.3.2/src/mips/Lget_save_loc.c
Examining data/libunwind-1.3.2/src/mips/Lglobal.c
Examining data/libunwind-1.3.2/src/mips/Gresume.c
Examining data/libunwind-1.3.2/src/mips/Gcreate_addr_space.c
Examining data/libunwind-1.3.2/src/mips/offsets.h
Examining data/libunwind-1.3.2/src/mips/Lis_signal_frame.c
Examining data/libunwind-1.3.2/src/mips/Lreg_states_iterate.c
Examining data/libunwind-1.3.2/src/mips/Gget_proc_info.c
Examining data/libunwind-1.3.2/src/mips/Gapply_reg_state.c
Examining data/libunwind-1.3.2/src/mips/Lcreate_addr_space.c
Examining data/libunwind-1.3.2/src/mips/Lget_proc_info.c
Examining data/libunwind-1.3.2/src/mips/is_fpreg.c
Examining data/libunwind-1.3.2/src/mips/Gregs.c
Examining data/libunwind-1.3.2/src/mips/Lresume.c
Examining data/libunwind-1.3.2/src/mips/init.h
Examining data/libunwind-1.3.2/src/mips/Ginit.c
Examining data/libunwind-1.3.2/src/ptrace/_UPT_access_fpreg.c
Examining data/libunwind-1.3.2/src/ptrace/_UPT_accessors.c
Examining data/libunwind-1.3.2/src/ptrace/_UPT_access_mem.c
Examining data/libunwind-1.3.2/src/ptrace/_UPT_destroy.c
Examining data/libunwind-1.3.2/src/ptrace/_UPT_put_unwind_info.c
Examining data/libunwind-1.3.2/src/ptrace/_UPT_reg_offset.c
Examining data/libunwind-1.3.2/src/ptrace/_UPT_get_proc_name.c
Examining data/libunwind-1.3.2/src/ptrace/_UPT_resume.c
Examining data/libunwind-1.3.2/src/ptrace/_UPT_elf.c
Examining data/libunwind-1.3.2/src/ptrace/_UPT_internal.h
Examining data/libunwind-1.3.2/src/ptrace/_UPT_access_reg.c
Examining data/libunwind-1.3.2/src/ptrace/_UPT_find_proc_info.c
Examining data/libunwind-1.3.2/src/ptrace/_UPT_create.c
Examining data/libunwind-1.3.2/src/ptrace/_UPT_get_dyn_info_list_addr.c
Examining data/libunwind-1.3.2/src/elf64.h
Examining data/libunwind-1.3.2/src/coredump/_UCD_accessors.c
Examining data/libunwind-1.3.2/src/coredump/_UCD_destroy.c
Examining data/libunwind-1.3.2/src/coredump/_UCD_access_mem.c
Examining data/libunwind-1.3.2/src/coredump/_UPT_access_fpreg.c
Examining data/libunwind-1.3.2/src/coredump/_UCD_lib.h
Examining data/libunwind-1.3.2/src/coredump/_UCD_access_reg_freebsd.c
Examining data/libunwind-1.3.2/src/coredump/_UCD_create.c
Examining data/libunwind-1.3.2/src/coredump/_UCD_find_proc_info.c
Examining data/libunwind-1.3.2/src/coredump/_UPT_put_unwind_info.c
Examining data/libunwind-1.3.2/src/coredump/_UPT_resume.c
Examining data/libunwind-1.3.2/src/coredump/_UPT_elf.c
Examining data/libunwind-1.3.2/src/coredump/_UCD_internal.h
Examining data/libunwind-1.3.2/src/coredump/_UCD_get_proc_name.c
Examining data/libunwind-1.3.2/src/coredump/_UCD_elf_map_image.c
Examining data/libunwind-1.3.2/src/coredump/_UCD_access_reg_linux.c
Examining data/libunwind-1.3.2/src/coredump/_UPT_get_dyn_info_list_addr.c
Examining data/libunwind-1.3.2/src/aarch64/unwind_i.h
Examining data/libunwind-1.3.2/src/aarch64/Gget_save_loc.c
Examining data/libunwind-1.3.2/src/aarch64/Ginit_local.c
Examining data/libunwind-1.3.2/src/aarch64/Lapply_reg_state.c
Examining data/libunwind-1.3.2/src/aarch64/Lstash_frame.c
Examining data/libunwind-1.3.2/src/aarch64/Gstash_frame.c
Examining data/libunwind-1.3.2/src/aarch64/Greg_states_iterate.c
Examining data/libunwind-1.3.2/src/aarch64/Lregs.c
Examining data/libunwind-1.3.2/src/aarch64/Gtrace.c
Examining data/libunwind-1.3.2/src/aarch64/regname.c
Examining data/libunwind-1.3.2/src/aarch64/Ginit_remote.c
Examining data/libunwind-1.3.2/src/aarch64/Linit_remote.c
Examining data/libunwind-1.3.2/src/aarch64/Gstep.c
Examining data/libunwind-1.3.2/src/aarch64/Linit_local.c
Examining data/libunwind-1.3.2/src/aarch64/Gis_signal_frame.c
Examining data/libunwind-1.3.2/src/aarch64/Linit.c
Examining data/libunwind-1.3.2/src/aarch64/Gglobal.c
Examining data/libunwind-1.3.2/src/aarch64/Lstep.c
Examining data/libunwind-1.3.2/src/aarch64/Lget_save_loc.c
Examining data/libunwind-1.3.2/src/aarch64/Lglobal.c
Examining data/libunwind-1.3.2/src/aarch64/Gresume.c
Examining data/libunwind-1.3.2/src/aarch64/Ltrace.c
Examining data/libunwind-1.3.2/src/aarch64/Gcreate_addr_space.c
Examining data/libunwind-1.3.2/src/aarch64/offsets.h
Examining data/libunwind-1.3.2/src/aarch64/Lis_signal_frame.c
Examining data/libunwind-1.3.2/src/aarch64/Lreg_states_iterate.c
Examining data/libunwind-1.3.2/src/aarch64/Gget_proc_info.c
Examining data/libunwind-1.3.2/src/aarch64/Gapply_reg_state.c
Examining data/libunwind-1.3.2/src/aarch64/Lcreate_addr_space.c
Examining data/libunwind-1.3.2/src/aarch64/Lget_proc_info.c
Examining data/libunwind-1.3.2/src/aarch64/is_fpreg.c
Examining data/libunwind-1.3.2/src/aarch64/Gregs.c
Examining data/libunwind-1.3.2/src/aarch64/Lresume.c
Examining data/libunwind-1.3.2/src/aarch64/init.h
Examining data/libunwind-1.3.2/src/aarch64/Ginit.c
Examining data/libunwind-1.3.2/src/elfxx.h
Examining data/libunwind-1.3.2/src/elf32.c
Examining data/libunwind-1.3.2/src/os-linux.c
Examining data/libunwind-1.3.2/src/ppc64/unwind_i.h
Examining data/libunwind-1.3.2/src/ppc64/Lapply_reg_state.c
Examining data/libunwind-1.3.2/src/ppc64/Greg_states_iterate.c
Examining data/libunwind-1.3.2/src/ppc64/Lregs.c
Examining data/libunwind-1.3.2/src/ppc64/regname.c
Examining data/libunwind-1.3.2/src/ppc64/Gstep.c
Examining data/libunwind-1.3.2/src/ppc64/Linit.c
Examining data/libunwind-1.3.2/src/ppc64/ucontext_i.h
Examining data/libunwind-1.3.2/src/ppc64/Gglobal.c
Examining data/libunwind-1.3.2/src/ppc64/Lstep.c
Examining data/libunwind-1.3.2/src/ppc64/get_func_addr.c
Examining data/libunwind-1.3.2/src/ppc64/Lglobal.c
Examining data/libunwind-1.3.2/src/ppc64/Gresume.c
Examining data/libunwind-1.3.2/src/ppc64/Gcreate_addr_space.c
Examining data/libunwind-1.3.2/src/ppc64/Lreg_states_iterate.c
Examining data/libunwind-1.3.2/src/ppc64/Gapply_reg_state.c
Examining data/libunwind-1.3.2/src/ppc64/Lcreate_addr_space.c
Examining data/libunwind-1.3.2/src/ppc64/is_fpreg.c
Examining data/libunwind-1.3.2/src/ppc64/Gregs.c
Examining data/libunwind-1.3.2/src/ppc64/Lresume.c
Examining data/libunwind-1.3.2/src/ppc64/init.h
Examining data/libunwind-1.3.2/src/ppc64/Ginit.c
Examining data/libunwind-1.3.2/src/elfxx.c
Examining data/libunwind-1.3.2/src/os-linux.h
Examining data/libunwind-1.3.2/src/setjmp/longjmp.c
Examining data/libunwind-1.3.2/src/setjmp/setjmp_i.h
Examining data/libunwind-1.3.2/src/setjmp/siglongjmp.c
Examining data/libunwind-1.3.2/src/x86/unwind_i.h
Examining data/libunwind-1.3.2/src/x86/Gget_save_loc.c
Examining data/libunwind-1.3.2/src/x86/Los-linux.c
Examining data/libunwind-1.3.2/src/x86/Ginit_local.c
Examining data/libunwind-1.3.2/src/x86/Lapply_reg_state.c
Examining data/libunwind-1.3.2/src/x86/Greg_states_iterate.c
Examining data/libunwind-1.3.2/src/x86/Lregs.c
Examining data/libunwind-1.3.2/src/x86/regname.c
Examining data/libunwind-1.3.2/src/x86/Ginit_remote.c
Examining data/libunwind-1.3.2/src/x86/Linit_remote.c
Examining data/libunwind-1.3.2/src/x86/Gstep.c
Examining data/libunwind-1.3.2/src/x86/Linit_local.c
Examining data/libunwind-1.3.2/src/x86/Linit.c
Examining data/libunwind-1.3.2/src/x86/Gglobal.c
Examining data/libunwind-1.3.2/src/x86/Lstep.c
Examining data/libunwind-1.3.2/src/x86/Gos-linux.c
Examining data/libunwind-1.3.2/src/x86/Los-freebsd.c
Examining data/libunwind-1.3.2/src/x86/Lget_save_loc.c
Examining data/libunwind-1.3.2/src/x86/Lglobal.c
Examining data/libunwind-1.3.2/src/x86/Gresume.c
Examining data/libunwind-1.3.2/src/x86/Gcreate_addr_space.c
Examining data/libunwind-1.3.2/src/x86/offsets.h
Examining data/libunwind-1.3.2/src/x86/Lreg_states_iterate.c
Examining data/libunwind-1.3.2/src/x86/Gget_proc_info.c
Examining data/libunwind-1.3.2/src/x86/Gos-freebsd.c
Examining data/libunwind-1.3.2/src/x86/Gapply_reg_state.c
Examining data/libunwind-1.3.2/src/x86/Lcreate_addr_space.c
Examining data/libunwind-1.3.2/src/x86/Lget_proc_info.c
Examining data/libunwind-1.3.2/src/x86/is_fpreg.c
Examining data/libunwind-1.3.2/src/x86/Gregs.c
Examining data/libunwind-1.3.2/src/x86/Lresume.c
Examining data/libunwind-1.3.2/src/x86/init.h
Examining data/libunwind-1.3.2/src/x86/Ginit.c
Examining data/libunwind-1.3.2/src/ia64/unwind_i.h
Examining data/libunwind-1.3.2/src/ia64/Gget_save_loc.c
Examining data/libunwind-1.3.2/src/ia64/Ltables.c
Examining data/libunwind-1.3.2/src/ia64/Ginit_local.c
Examining data/libunwind-1.3.2/src/ia64/Gscript.c
Examining data/libunwind-1.3.2/src/ia64/Lapply_reg_state.c
Examining data/libunwind-1.3.2/src/ia64/Greg_states_iterate.c
Examining data/libunwind-1.3.2/src/ia64/Lregs.c
Examining data/libunwind-1.3.2/src/ia64/regname.c
Examining data/libunwind-1.3.2/src/ia64/Ginit_remote.c
Examining data/libunwind-1.3.2/src/ia64/unwind_decoder.h
Examining data/libunwind-1.3.2/src/ia64/Linit_remote.c
Examining data/libunwind-1.3.2/src/ia64/Gstep.c
Examining data/libunwind-1.3.2/src/ia64/Lrbs.c
Examining data/libunwind-1.3.2/src/ia64/Lparser.c
Examining data/libunwind-1.3.2/src/ia64/Gtables.c
Examining data/libunwind-1.3.2/src/ia64/Linit_local.c
Examining data/libunwind-1.3.2/src/ia64/Gis_signal_frame.c
Examining data/libunwind-1.3.2/src/ia64/Linit.c
Examining data/libunwind-1.3.2/src/ia64/ucontext_i.h
Examining data/libunwind-1.3.2/src/ia64/Gfind_unwind_table.c
Examining data/libunwind-1.3.2/src/ia64/Gglobal.c
Examining data/libunwind-1.3.2/src/ia64/Gparser.c
Examining data/libunwind-1.3.2/src/ia64/Lstep.c
Examining data/libunwind-1.3.2/src/ia64/Lget_save_loc.c
Examining data/libunwind-1.3.2/src/ia64/Lglobal.c
Examining data/libunwind-1.3.2/src/ia64/Gresume.c
Examining data/libunwind-1.3.2/src/ia64/Gcreate_addr_space.c
Examining data/libunwind-1.3.2/src/ia64/offsets.h
Examining data/libunwind-1.3.2/src/ia64/Grbs.c
Examining data/libunwind-1.3.2/src/ia64/Lis_signal_frame.c
Examining data/libunwind-1.3.2/src/ia64/Lfind_unwind_table.c
Examining data/libunwind-1.3.2/src/ia64/Lreg_states_iterate.c
Examining data/libunwind-1.3.2/src/ia64/Gget_proc_info.c
Examining data/libunwind-1.3.2/src/ia64/Gapply_reg_state.c
Examining data/libunwind-1.3.2/src/ia64/Lscript.c
Examining data/libunwind-1.3.2/src/ia64/Lcreate_addr_space.c
Examining data/libunwind-1.3.2/src/ia64/Lget_proc_info.c
Examining data/libunwind-1.3.2/src/ia64/Gregs.c
Examining data/libunwind-1.3.2/src/ia64/Lresume.c
Examining data/libunwind-1.3.2/src/ia64/regs.h
Examining data/libunwind-1.3.2/src/ia64/init.h
Examining data/libunwind-1.3.2/src/ia64/Ginit.c
Examining data/libunwind-1.3.2/src/ia64/mk_Gcursor_i.c
Examining data/libunwind-1.3.2/src/ia64/mk_Lcursor_i.c
Examining data/libunwind-1.3.2/include/libunwind-arm.h
Examining data/libunwind-1.3.2/include/tdep-mips/dwarf-config.h
Examining data/libunwind-1.3.2/include/tdep-mips/jmpbuf.h
Examining data/libunwind-1.3.2/include/tdep-mips/libunwind_i.h
Examining data/libunwind-1.3.2/include/remote.h
Examining data/libunwind-1.3.2/include/libunwind-mips.h
Examining data/libunwind-1.3.2/include/libunwind-ia64.h
Examining data/libunwind-1.3.2/include/mempool.h
Examining data/libunwind-1.3.2/include/libunwind-x86.h
Examining data/libunwind-1.3.2/include/libunwind-ptrace.h
Examining data/libunwind-1.3.2/include/libunwind-dynamic.h
Examining data/libunwind-1.3.2/include/dwarf.h
Examining data/libunwind-1.3.2/include/tdep-ppc32/dwarf-config.h
Examining data/libunwind-1.3.2/include/tdep-ppc32/jmpbuf.h
Examining data/libunwind-1.3.2/include/tdep-ppc32/libunwind_i.h
Examining data/libunwind-1.3.2/include/libunwind-ppc32.h
Examining data/libunwind-1.3.2/include/libunwind-ppc64.h
Examining data/libunwind-1.3.2/include/libunwind-tilegx.h
Examining data/libunwind-1.3.2/include/libunwind-x86_64.h
Examining data/libunwind-1.3.2/include/libunwind.h
Examining data/libunwind-1.3.2/include/libunwind-coredump.h
Examining data/libunwind-1.3.2/include/tdep-x86_64/dwarf-config.h
Examining data/libunwind-1.3.2/include/tdep-x86_64/jmpbuf.h
Examining data/libunwind-1.3.2/include/tdep-x86_64/libunwind_i.h
Examining data/libunwind-1.3.2/include/dwarf_i.h
Examining data/libunwind-1.3.2/include/libunwind-sh.h
Examining data/libunwind-1.3.2/include/libunwind_i.h
Examining data/libunwind-1.3.2/include/tdep-x86/dwarf-config.h
Examining data/libunwind-1.3.2/include/tdep-x86/jmpbuf.h
Examining data/libunwind-1.3.2/include/tdep-x86/libunwind_i.h
Examining data/libunwind-1.3.2/include/tdep/dwarf-config.h
Examining data/libunwind-1.3.2/include/tdep/jmpbuf.h
Examining data/libunwind-1.3.2/include/tdep/libunwind_i.h
Examining data/libunwind-1.3.2/include/tdep-aarch64/dwarf-config.h
Examining data/libunwind-1.3.2/include/tdep-aarch64/jmpbuf.h
Examining data/libunwind-1.3.2/include/tdep-aarch64/libunwind_i.h
Examining data/libunwind-1.3.2/include/tdep-arm/dwarf-config.h
Examining data/libunwind-1.3.2/include/tdep-arm/jmpbuf.h
Examining data/libunwind-1.3.2/include/tdep-arm/libunwind_i.h
Examining data/libunwind-1.3.2/include/tdep-arm/ex_tables.h
Examining data/libunwind-1.3.2/include/tdep-ppc64/dwarf-config.h
Examining data/libunwind-1.3.2/include/tdep-ppc64/jmpbuf.h
Examining data/libunwind-1.3.2/include/tdep-ppc64/libunwind_i.h
Examining data/libunwind-1.3.2/include/tdep-hppa/dwarf-config.h
Examining data/libunwind-1.3.2/include/tdep-hppa/jmpbuf.h
Examining data/libunwind-1.3.2/include/tdep-hppa/libunwind_i.h
Examining data/libunwind-1.3.2/include/libunwind-hppa.h
Examining data/libunwind-1.3.2/include/tdep-tilegx/dwarf-config.h
Examining data/libunwind-1.3.2/include/tdep-tilegx/jmpbuf.h
Examining data/libunwind-1.3.2/include/tdep-tilegx/libunwind_i.h
Examining data/libunwind-1.3.2/include/tdep-sh/dwarf-config.h
Examining data/libunwind-1.3.2/include/tdep-sh/jmpbuf.h
Examining data/libunwind-1.3.2/include/tdep-sh/libunwind_i.h
Examining data/libunwind-1.3.2/include/compiler.h
Examining data/libunwind-1.3.2/include/dwarf-eh.h
Examining data/libunwind-1.3.2/include/unwind.h
Examining data/libunwind-1.3.2/include/tdep-ia64/script.h
Examining data/libunwind-1.3.2/include/tdep-ia64/jmpbuf.h
Examining data/libunwind-1.3.2/include/tdep-ia64/libunwind_i.h
Examining data/libunwind-1.3.2/include/tdep-ia64/rse.h
Examining data/libunwind-1.3.2/include/libunwind-aarch64.h
Examining data/libunwind-1.3.2/tests/ia64-test-stack.h
Examining data/libunwind-1.3.2/tests/Lia64-test-nat.c
Examining data/libunwind-1.3.2/tests/mapper.c
Examining data/libunwind-1.3.2/tests/Ltest-resume-sig-rt.c
Examining data/libunwind-1.3.2/tests/Ltest-trace.c
Examining data/libunwind-1.3.2/tests/Lia64-test-rbs.c
Examining data/libunwind-1.3.2/tests/Ltest-dyn1.c
Examining data/libunwind-1.3.2/tests/flush-cache.h
Examining data/libunwind-1.3.2/tests/test-async-sig.c
Examining data/libunwind-1.3.2/tests/test-reg-state.c
Examining data/libunwind-1.3.2/tests/ia64-test-dyn1.c
Examining data/libunwind-1.3.2/tests/crasher.c
Examining data/libunwind-1.3.2/tests/Gtest-concurrent.c
Examining data/libunwind-1.3.2/tests/Gtest-bt.c
Examining data/libunwind-1.3.2/tests/test-strerror.c
Examining data/libunwind-1.3.2/tests/Gtest-init.cxx
Examining data/libunwind-1.3.2/tests/ia64-test-setjmp.c
Examining data/libunwind-1.3.2/tests/Lia64-test-stack.c
Examining data/libunwind-1.3.2/tests/Ltest-init-local-signal.c
Examining data/libunwind-1.3.2/tests/test-proc-info.c
Examining data/libunwind-1.3.2/tests/Gtest-dyn1.c
Examining data/libunwind-1.3.2/tests/test-ptrace-misc.c
Examining data/libunwind-1.3.2/tests/Ltest-varargs.c
Examining data/libunwind-1.3.2/tests/Ltest-resume-sig.c
Examining data/libunwind-1.3.2/tests/Lia64-test-readonly.c
Examining data/libunwind-1.3.2/tests/test-flush-cache.c
Examining data/libunwind-1.3.2/tests/Gia64-test-readonly.c
Examining data/libunwind-1.3.2/tests/Ltest-bt.c
Examining data/libunwind-1.3.2/tests/ppc64-test-altivec.c
Examining data/libunwind-1.3.2/tests/Gtest-nomalloc.c
Examining data/libunwind-1.3.2/tests/test-static-link-gen.c
Examining data/libunwind-1.3.2/tests/Lrs-race.c
Examining data/libunwind-1.3.2/tests/Gperf-simple.c
Examining data/libunwind-1.3.2/tests/Gtest-resume-sig-rt.c
Examining data/libunwind-1.3.2/tests/Lperf-trace.c
Examining data/libunwind-1.3.2/tests/Lperf-simple.c
Examining data/libunwind-1.3.2/tests/Ltest-init-local-signal-lib.c
Examining data/libunwind-1.3.2/tests/test-setjmp.c
Examining data/libunwind-1.3.2/tests/ppc64-test-altivec-utils.c
Examining data/libunwind-1.3.2/tests/Ltest-nocalloc.c
Examining data/libunwind-1.3.2/tests/Gperf-trace.c
Examining data/libunwind-1.3.2/tests/Gia64-test-rbs.c
Examining data/libunwind-1.3.2/tests/test-coredump-unwind.c
Examining data/libunwind-1.3.2/tests/Gtest-resume-sig.c
Examining data/libunwind-1.3.2/tests/test-static-link-loc.c
Examining data/libunwind-1.3.2/tests/Ltest-cxx-exceptions.cxx
Examining data/libunwind-1.3.2/tests/Ltest-exc.c
Examining data/libunwind-1.3.2/tests/ia64-test-sig.c
Examining data/libunwind-1.3.2/tests/test-mem.c
Examining data/libunwind-1.3.2/tests/ident.c
Examining data/libunwind-1.3.2/tests/Ltest-concurrent.c
Examining data/libunwind-1.3.2/tests/test-init-remote.c
Examining data/libunwind-1.3.2/tests/ia64-test-rbs.h
Examining data/libunwind-1.3.2/tests/Gtest-trace.c
Examining data/libunwind-1.3.2/tests/test-ptrace.c
Examining data/libunwind-1.3.2/tests/forker.c
Examining data/libunwind-1.3.2/tests/Ltest-nomalloc.c
Examining data/libunwind-1.3.2/tests/Gia64-test-stack.c
Examining data/libunwind-1.3.2/tests/Ltest-init.cxx
Examining data/libunwind-1.3.2/tests/Gtest-exc.c
Examining data/libunwind-1.3.2/tests/Ltest-mem-validate.c
Examining data/libunwind-1.3.2/tests/Gia64-test-nat.c

FINAL RESULTS:

data/libunwind-1.3.2/include/libunwind_i.h:281:7:  [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, format);                                         \
data/libunwind-1.3.2/include/libunwind_i.h:284:37:  [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.
# define Dprintf(format...)         fprintf (stderr, format)
data/libunwind-1.3.2/src/elfxx.c:441:7:  [4] (buffer) strcpy:
  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).
      strcpy (newname, basedir);
data/libunwind-1.3.2/src/elfxx.c:443:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat (newname, linkbuf);
data/libunwind-1.3.2/src/elfxx.c:448:4:  [4] (buffer) strcpy:
  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).
	  strcpy (newname, basedir);
data/libunwind-1.3.2/src/elfxx.c:450:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	  strcat (newname, linkbuf);
data/libunwind-1.3.2/src/elfxx.c:456:4:  [4] (buffer) strcpy:
  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).
	  strcpy (newname, debugdir);
data/libunwind-1.3.2/src/elfxx.c:457:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	  strcat (newname, basedir);
data/libunwind-1.3.2/src/elfxx.c:459:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	  strcat (newname, linkbuf);
data/libunwind-1.3.2/src/ia64/Grbs.c:62:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (buf + strlen (buf), "%s", unw_regname (IA64_GET_REG (loc)));
data/libunwind-1.3.2/tests/Gia64-test-nat.c:50:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	do { printf (args); ++nerrors; } while (0)
data/libunwind-1.3.2/tests/Gia64-test-rbs.c:40:7:  [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.
	do { fprintf (stderr, args); ++nerrors; return -9999; } while (0)
data/libunwind-1.3.2/tests/Gia64-test-readonly.c:36:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	do { printf (args); ++nerrors; } while (0)
data/libunwind-1.3.2/tests/Gia64-test-stack.c:38:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	{ printf (args); ++nerrors; }
data/libunwind-1.3.2/tests/Gperf-simple.c:36:7:  [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.
	do { fprintf (stderr, args); exit (-1); } while (0)
data/libunwind-1.3.2/tests/Gperf-trace.c:36:7:  [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.
	do { fprintf (stderr, args); exit (-1); } while (0)
data/libunwind-1.3.2/tests/Gtest-bt.c:45:4:  [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, args); exit (-1); }
data/libunwind-1.3.2/tests/Gtest-concurrent.c:43:7:  [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.
	do { fprintf (stderr, args); ++nerrors; } while (0)
data/libunwind-1.3.2/tests/Gtest-dyn1.c:47:4:  [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, args); exit (-1); }
data/libunwind-1.3.2/tests/Gtest-dyn1.c:217:26:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    (*funcp) (10, funcp, printf, "iteration %c%s\n", strarr);
data/libunwind-1.3.2/tests/Gtest-exc.c:42:15:  [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.
	{ ++nerrors; fprintf (stderr, args); }
data/libunwind-1.3.2/tests/Gtest-init.cxx:39:14:  [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.
	{ ++errors; fprintf (stderr, args); return; }
data/libunwind-1.3.2/tests/Gtest-nomalloc.c:31:4:  [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, args); exit (-1); }
data/libunwind-1.3.2/tests/Gtest-resume-sig.c:45:7:  [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.
	do { fprintf (stderr, args); ++nerrors; } while (0)
data/libunwind-1.3.2/tests/Gtest-trace.c:44:4:  [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, args); exit (-1); }
data/libunwind-1.3.2/tests/Ltest-cxx-exceptions.cxx:31:4:  [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, args); exit (-1); }
data/libunwind-1.3.2/tests/Ltest-mem-validate.c:42:4:  [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, args); exit (-1); }
data/libunwind-1.3.2/tests/Ltest-nocalloc.c:34:4:  [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, args); exit (-1); }
data/libunwind-1.3.2/tests/ia64-test-sig.c:34:4:  [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, args); exit (-1); }
data/libunwind-1.3.2/tests/ppc64-test-altivec.c:12:26:  [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.
#define panic(args...)	{ fprintf (stderr, args);  abort(); }
data/libunwind-1.3.2/tests/test-async-sig.c:64:15:  [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.
	{ ++nerrors; fprintf (stderr, args); return; }
data/libunwind-1.3.2/tests/test-coredump-unwind.c:132:7:  [4] (buffer) strcpy:
  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).
      strcpy(&msg[used], strerr);
data/libunwind-1.3.2/tests/test-coredump-unwind.c:135:3:  [4] (buffer) strcpy:
  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).
  strcpy(&msg[used], msg_eol);
data/libunwind-1.3.2/tests/test-init-remote.c:43:4:  [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, args); exit (-1); }
data/libunwind-1.3.2/tests/test-mem.c:39:4:  [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, args); exit (-1); }
data/libunwind-1.3.2/tests/test-proc-info.c:44:14:  [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.
	{ ++errors; fprintf (stderr, args); return -1; }
data/libunwind-1.3.2/tests/test-ptrace.c:68:7:  [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.
	do { fprintf (stderr, args); ++nerrors; } while (0)
data/libunwind-1.3.2/tests/test-reg-state.c:40:4:  [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, args); exit (-1); }
data/libunwind-1.3.2/tests/test-static-link-gen.c:58:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf (__FILE__": funcs[0]=%p\n", funcs[0]);
data/libunwind-1.3.2/tests/test-static-link-loc.c:81:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf (__FILE__": funcs[0]=%p\n", funcs[0]);
data/libunwind-1.3.2/src/arm/Gglobal.c:48: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* str = getenv ("UNW_ARM_UNWIND_METHOD");
data/libunwind-1.3.2/src/mi/init.c:47:21:  [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 *str = getenv ("UNW_DEBUG_LEVEL");
data/libunwind-1.3.2/tests/Gia64-test-nat.c:121: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.
  unw_word_t val = random ();
data/libunwind-1.3.2/tests/Gia64-test-nat.c:124: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.
    val |= ((unw_word_t) random ()) << 32;
data/libunwind-1.3.2/tests/Gia64-test-nat.c:582: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.
    num_checks = (random () % MAX_CHECKS) + 1;
data/libunwind-1.3.2/tests/Gia64-test-nat.c:593:10:  [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.
	index = random () % (int) ARRAY_SIZE (all_funcs);
data/libunwind-1.3.2/tests/Gia64-test-rbs.c:142:23:  [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.
      reg_values[i] = random ();
data/libunwind-1.3.2/tests/Gia64-test-rbs.c:152: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.
      n = random () % (int) ARRAY_SIZE (spill_funcs);
data/libunwind-1.3.2/tests/Gia64-test-rbs.c:159:23:  [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.
  unwind_count = 1 + (random () % (nfuncs + RECURSION_DEPTH - 1));
data/libunwind-1.3.2/include/dwarf.h:248: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 where[DWARF_NUM_PRESERVED_REGS + 2];        /* how is the register saved? */
data/libunwind-1.3.2/include/tdep-ia64/libunwind_i.h:193:20:  [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 unsigned char save_order[8];
data/libunwind-1.3.2/include/tdep-ia64/libunwind_i.h:215:11:  [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 *preg_name[IA64_NUM_PREGS];
data/libunwind-1.3.2/src/aarch64/Gresume.c:71: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 x[sizeof(regs)];
data/libunwind-1.3.2/src/arm/Gglobal.c:51:30:  [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).
        unwi_unwind_method = atoi (str);
data/libunwind-1.3.2/src/arm/Gresume.c:56:15:  [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 x[sizeof(regs)];
data/libunwind-1.3.2/src/coredump/_UCD_create.c:94:30:  [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).
  int fd = ui->coredump_fd = open(filename, O_RDONLY);
data/libunwind-1.3.2/src/coredump/_UCD_create.c:322: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).
  int fd = open(filename, O_RDONLY);
data/libunwind-1.3.2/src/coredump/_UCD_find_proc_info.c:139:15:  [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 (mem, pi->unwind_info, pi->unwind_info_size);
data/libunwind-1.3.2/src/coredump/_UPT_get_dyn_info_list_addr.c:41: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 path[PATH_MAX];
data/libunwind-1.3.2/src/dwarf/Gfde.c:356:7:  [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 (pi->unwind_info, &dci, sizeof (dci));
data/libunwind-1.3.2/src/dwarf/Gfind_proc_info-lsb.c:129: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(*buf, shdr->sh_offset + ei.image, *bufsize);
data/libunwind-1.3.2/src/dwarf/Gfind_proc_info-lsb.c:161: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 (name, mi.path, len + 1);
data/libunwind-1.3.2/src/dwarf/Gfind_proc_info-lsb.c:181: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 path[PATH_MAX];
data/libunwind-1.3.2/src/dwarf/Gfind_proc_info-lsb.c:438: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 exepath[PATH_MAX];
data/libunwind-1.3.2/src/dwarf/Gparser.c:852: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(c->loc, new_loc, sizeof(new_loc));
data/libunwind-1.3.2/src/dwarf/Gparser.c:899:7:  [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 (&sr->rs_current, rs, sizeof (*rs));
data/libunwind-1.3.2/src/dwarf/Gparser.c:920:4:  [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(rs, &sr->rs_current, sizeof(*rs));
data/libunwind-1.3.2/src/elfxx.c:315: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 file[PATH_MAX];
data/libunwind-1.3.2/src/elfxx.c:416: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 linkbuf[shdr->sh_size];
data/libunwind-1.3.2/src/elfxx.c:420: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 basedir[strlen(file) + 1];
data/libunwind-1.3.2/src/elfxx.c:421: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 newname[shdr->sh_size + strlen (debugdir) + strlen (file) + 9];
data/libunwind-1.3.2/src/elfxx.c:423:7:  [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(linkbuf, link, shdr->sh_size);
data/libunwind-1.3.2/src/elfxx.c:435:4:  [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 (basedir, file, p - file);
data/libunwind-1.3.2/src/elfxx.c:449:4:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
	  strcat (newname, "/.debug/");
data/libunwind-1.3.2/src/elfxx.h:78:8:  [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).
  fd = open (path, O_RDONLY);
data/libunwind-1.3.2/src/ia64/Ginit.c:237:11:  [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 (val, &fp_regval, sizeof (*val));
data/libunwind-1.3.2/src/ia64/Gparser.c:53: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 (rs, &sr->curr, sizeof (*rs));
data/libunwind-1.3.2/src/ia64/Gparser.c:67: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 (&sr->curr, rs, sizeof (*rs));
data/libunwind-1.3.2/src/ia64/Gparser.c:85:7:  [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 (copy, rs, sizeof (*copy));
data/libunwind-1.3.2/src/ia64/Gparser.c:226:29:  [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.
      static const unsigned char limit[3] =
data/libunwind-1.3.2/src/ia64/Grbs.c:47:10:  [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.
  static char buf[128];
data/libunwind-1.3.2/src/ia64/Grbs.c:55:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat (buf, "memstk_nat(");
data/libunwind-1.3.2/src/ia64/Grbs.c:57:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat (buf, "uc(");
data/libunwind-1.3.2/src/ia64/Grbs.c:59:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat (buf, "fp(");
data/libunwind-1.3.2/src/ia64/Grbs.c:64: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 (buf + strlen (buf), "0x%llx",
data/libunwind-1.3.2/src/ia64/Gtables.c:452: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 (di, &kernel_table, sizeof (*di));
data/libunwind-1.3.2/src/mi/init.c:50: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).
    unwi_debug_level = atoi (str);
data/libunwind-1.3.2/src/mi/mempool.c:42:8:  [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.
static char sos_memory[SOS_MEMORY_SIZE] ALIGNED(MAX_ALIGN);
data/libunwind-1.3.2/src/os-linux.c:70:3:  [2] (buffer) strcpy:
  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). Risk is low because the source is a constant string.
  strcpy(path, "/proc/self/exe");
data/libunwind-1.3.2/src/os-linux.h:68: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 path[sizeof ("/proc/0123456789/maps")], *cp;
data/libunwind-1.3.2/src/os-linux.h:70: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 (path, "/proc/", 6);
data/libunwind-1.3.2/src/os-linux.h:73: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 (cp, "/maps", 6);
data/libunwind-1.3.2/src/os-linux.h:75: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).
  mi->fd = open (path, O_RDONLY);
data/libunwind-1.3.2/src/os-linux.h:206: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 perm[16], dash = 0, colon = 0, *cp;
data/libunwind-1.3.2/src/ptrace/_UPT_access_fpreg.c:97:11:  [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(&fpreg.fpr_xacc[reg], val, sizeof(unw_fpreg_t));
data/libunwind-1.3.2/src/ptrace/_UPT_access_fpreg.c:99:11:  [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(&fpreg.fpr_acc[reg], val, sizeof(unw_fpreg_t));
data/libunwind-1.3.2/src/ptrace/_UPT_access_fpreg.c:101:11:  [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(&fpreg.fpr[reg], val, sizeof(unw_fpreg_t));
data/libunwind-1.3.2/src/ptrace/_UPT_access_fpreg.c:109:11:  [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(val, &fpreg.fpr_xacc[reg], sizeof(unw_fpreg_t));
data/libunwind-1.3.2/src/ptrace/_UPT_access_fpreg.c:111:11:  [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(val, &fpreg.fpr_acc[reg], sizeof(unw_fpreg_t));
data/libunwind-1.3.2/src/ptrace/_UPT_access_fpreg.c:113:11:  [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(val, &fpreg.fpr[reg], sizeof(unw_fpreg_t));
data/libunwind-1.3.2/src/ptrace/_UPT_access_reg.c:69: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(r, val, sizeof(unw_word_t));
data/libunwind-1.3.2/src/ptrace/_UPT_access_reg.c:73: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(val, r, sizeof(unw_word_t));
data/libunwind-1.3.2/src/ptrace/_UPT_access_reg.c:339:7:  [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(r, val, sizeof(unw_word_t));
data/libunwind-1.3.2/src/ptrace/_UPT_access_reg.c:343:7:  [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(val, r, sizeof(unw_word_t));
data/libunwind-1.3.2/src/ptrace/_UPT_find_proc_info.c:39: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 path[PATH_MAX];
data/libunwind-1.3.2/src/ptrace/_UPT_find_proc_info.c:123:15:  [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 (mem, pi->unwind_info, pi->unwind_info_size);
data/libunwind-1.3.2/src/ptrace/_UPT_get_dyn_info_list_addr.c:39: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 path[PATH_MAX];
data/libunwind-1.3.2/src/sh/Gresume.c: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 x[sizeof(regs)];
data/libunwind-1.3.2/src/x86/Ginit.c:90:12:  [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.
  unsigned char mvec[2]; /* Unaligned access may cross page boundary */
data/libunwind-1.3.2/src/x86/Gos-linux.c:319: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(sc_mcontext, &c->uc->uc_mcontext,
data/libunwind-1.3.2/src/x86_64/Ginit.c:132:12:  [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.
  unsigned char mvec[2]; /* Unaligned access may cross page boundary */
data/libunwind-1.3.2/src/x86_64/Ginit.c:158:12:  [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.
  unsigned char mvec[1];
data/libunwind-1.3.2/src/x86_64/Gos-linux.c:143: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(sc_mcontext, &c->uc->uc_mcontext,
data/libunwind-1.3.2/tests/Gperf-simple.c:46:8:  [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.
static char big[64*MB];	/* should be >> max. cache size */
data/libunwind-1.3.2/tests/Gperf-simple.c:157: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 padding[1024];	/* should be > 2 * max. cacheline size */
data/libunwind-1.3.2/tests/Gperf-simple.c:163: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 padding[1024];	/* should be > 2 * max. cacheline size */
data/libunwind-1.3.2/tests/Gperf-simple.c:245:18:  [2] (integer) atol:
  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).
      maxlevel = atol (argv[1]);
data/libunwind-1.3.2/tests/Gperf-simple.c:247:15:  [2] (integer) atol:
  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).
	iterations = atol (argv[2]);
data/libunwind-1.3.2/tests/Gperf-trace.c:46:8:  [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.
static char big[64*MB];	/* should be >> max. cache size */
data/libunwind-1.3.2/tests/Gperf-trace.c:143: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 padding[1024];	/* should be > 2 * max. cacheline size */
data/libunwind-1.3.2/tests/Gperf-trace.c:149: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 padding[1024];	/* should be > 2 * max. cacheline size */
data/libunwind-1.3.2/tests/Gperf-trace.c:231:18:  [2] (integer) atol:
  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).
      maxlevel = atol (argv[1]);
data/libunwind-1.3.2/tests/Gperf-trace.c:233:15:  [2] (integer) atol:
  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).
	iterations = atol (argv[2]);
data/libunwind-1.3.2/tests/Gtest-bt.c:54: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 buf[512], name[256];
data/libunwind-1.3.2/tests/Gtest-dyn1.c:106: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 name[128], off[32];
data/libunwind-1.3.2/tests/Gtest-dyn1.c:186: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 (mem, (void *) fdesc.code, MAX_FUNC_SIZE);
data/libunwind-1.3.2/tests/Gtest-exc.c:141:15:  [2] (integer) atol:
  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).
      depth = atol (argv[1]);
data/libunwind-1.3.2/tests/Gtest-init.cxx:51: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 name[128], off[32];
data/libunwind-1.3.2/tests/Gtest-trace.c:53: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 buf[512], name[256];
data/libunwind-1.3.2/tests/Ltest-mem-validate.c:92: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 string[1024];
data/libunwind-1.3.2/tests/Ltest-mem-validate.c:94:3:  [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 (string, "hello %p %p\n", &cursor, &uc);
data/libunwind-1.3.2/tests/crasher.c:18: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 buf[512], path[128];
data/libunwind-1.3.2/tests/crasher.c:21:18:  [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).
    FILE *maps = fopen("/proc/self/maps", "r");
data/libunwind-1.3.2/tests/crasher.c:22:17:  [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).
    FILE *out = fopen(fname, "w");
data/libunwind-1.3.2/tests/crasher.c:53:11:  [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).
    out = fopen(fname, "w");
data/libunwind-1.3.2/tests/forker.c:42:11:  [2] (integer) atol:
  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).
  count = atol (argv[1]);
data/libunwind-1.3.2/tests/ia64-test-dyn1.c:66: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 (mem, addr, len);
data/libunwind-1.3.2/tests/ppc64-test-altivec.c:83: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 proc_name_buffer[256];
data/libunwind-1.3.2/tests/test-async-sig.c:69: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 buf[512], name[256];
data/libunwind-1.3.2/tests/test-async-sig.c:103: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 (buf + 1, name, len);
data/libunwind-1.3.2/tests/test-coredump-unwind.c:278: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 test_names[TEST_FRAMES][TEST_NAME_LEN];
data/libunwind-1.3.2/tests/test-init-remote.c:50: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 buf[512], name[256];
data/libunwind-1.3.2/tests/test-mem.c:79: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 string[1024];
data/libunwind-1.3.2/tests/test-mem.c:83:10:  [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.
  return sprintf (string, "hello %p %p\n", &cursor, &uc);
data/libunwind-1.3.2/tests/test-ptrace.c:82: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 buf[512];
data/libunwind-1.3.2/tests/test-ptrace.c:109:8:  [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 (buf + len, "+0x%lx", (unsigned long) off);
data/libunwind-1.3.2/tests/test-ptrace.c:222:8:  [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).
	dup2 (open ("/dev/null", O_WRONLY), 1);
data/libunwind-1.3.2/tests/test-reg-state.c:62:7:  [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(data->reg_state, rs, size);
data/libunwind-1.3.2/tests/test-reg-state.c:110: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 string[1024];
data/libunwind-1.3.2/tests/test-reg-state.c:114:10:  [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.
  return sprintf (string, "hello %p %p\n", &cursor, &uc);
data/libunwind-1.3.2/include/libunwind_i.h:293:28:  [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 write (2, string, strlen (string));
data/libunwind-1.3.2/src/coredump/_UCD_access_mem.c:72:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      goto read;
data/libunwind-1.3.2/src/coredump/_UCD_access_mem.c:78:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
 read:
data/libunwind-1.3.2/src/coredump/_UCD_access_mem.c:81:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read(fd, val, sizeof(*val)) != sizeof(*val))
data/libunwind-1.3.2/src/coredump/_UCD_create.c:102:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read(fd, &elf_header64, sizeof(elf_header64)) != sizeof(elf_header64))
data/libunwind-1.3.2/src/coredump/_UCD_create.c:161:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          if (read(fd, &hdr64, sizeof(hdr64)) != sizeof(hdr64))
data/libunwind-1.3.2/src/coredump/_UCD_create.c:187:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          if (read(fd, &hdr32, sizeof(hdr32)) != sizeof(hdr32))
data/libunwind-1.3.2/src/coredump/_UCD_create.c:220:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
             || (uoff_t)read(fd, ui->note_phdr, cur->p_filesz) != cur->p_filesz)
data/libunwind-1.3.2/src/coredump/_UCD_create.c:360:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
       || (uoff_t)read(ui->coredump_fd, core_buf, phdr->p_filesz) != phdr->p_filesz
data/libunwind-1.3.2/src/coredump/_UCD_create.c:369:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if ((uoff_t)read(fd, file_buf, phdr->p_filesz) != phdr->p_filesz)
data/libunwind-1.3.2/src/dwarf/Gfind_proc_info-lsb.c:157: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_t len = strlen (mi.path);
data/libunwind-1.3.2/src/dwarf/Gfind_proc_info-lsb.c:440:7:  [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 (strlen(file) == 0)
data/libunwind-1.3.2/src/elfxx.c:142:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                      strncpy (buf, strtab + sym->st_name, buf_len);
data/libunwind-1.3.2/src/elfxx.c:144:30:  [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).
                      ret = (strlen (strtab + sym->st_name) >= buf_len
data/libunwind-1.3.2/src/elfxx.c:420:20:  [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).
      char basedir[strlen(file) + 1];
data/libunwind-1.3.2/src/elfxx.c:421: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).
      char newname[shdr->sh_size + strlen (debugdir) + strlen (file) + 9];
data/libunwind-1.3.2/src/elfxx.c:421:56:  [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).
      char newname[shdr->sh_size + strlen (debugdir) + strlen (file) + 9];
data/libunwind-1.3.2/src/elfxx.c:442:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat (newname, "/");
data/libunwind-1.3.2/src/elfxx.c:458:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
	  strcat (newname, "/");
data/libunwind-1.3.2/src/ia64/Grbs.c:62:20:  [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).
    sprintf (buf + strlen (buf), "%s", unw_regname (IA64_GET_REG (loc)));
data/libunwind-1.3.2/src/ia64/Grbs.c:64:20:  [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).
    sprintf (buf + strlen (buf), "0x%llx",
data/libunwind-1.3.2/src/ia64/Grbs.c:68:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat (buf, ")");
data/libunwind-1.3.2/src/ia64/Grbs.c:70:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat (buf, ")");
data/libunwind-1.3.2/src/ia64/Grbs.c:72:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat (buf, ")");
data/libunwind-1.3.2/src/os-freebsd.c:138:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
         strncpy(path, kv->kve_path, pathlen);
data/libunwind-1.3.2/src/os-hpux.c:59:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(path, path2, pathlen);
data/libunwind-1.3.2/src/os-linux.c:58:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(path, mi.path, pathlen);
data/libunwind-1.3.2/src/os-linux.h:235:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          nread = read (mi->fd, mi->buf + bytes_left,
data/libunwind-1.3.2/src/os-qnx.c:97:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (path, cbi.path, pathlen);
data/libunwind-1.3.2/src/x86_64/Ginit.c:97:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      bytes = read (mem_validate_pipe[0], &buf, 1);
data/libunwind-1.3.2/tests/test-async-sig.c:101: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).
		  size_t len = strlen (name);
data/libunwind-1.3.2/tests/test-coredump-unwind.c:104: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).
  prefix_len = msg_prefix[0] ? strlen(msg_prefix) + 2 : 0;
data/libunwind-1.3.2/tests/test-coredump-unwind.c:105:25:  [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).
  strerr_len = strerr ? strlen(strerr) : 0;
data/libunwind-1.3.2/tests/test-coredump-unwind.c:106:16:  [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).
  msgeol_len = strlen(msg_eol);
data/libunwind-1.3.2/tests/test-ptrace.c:106:14:  [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).
	      len = strlen (buf);

ANALYSIS SUMMARY:

Hits = 185
Lines analyzed = 55125 in approximately 2.64 seconds (20910 lines/second)
Physical Source Lines of Code (SLOC) = 35888
Hits@level = [0] 250 [1]  35 [2] 101 [3]   9 [4]  40 [5]   0
Hits@level+ = [0+] 435 [1+] 185 [2+] 150 [3+]  49 [4+]  40 [5+]   0
Hits/KSLOC@level+ = [0+] 12.121 [1+] 5.15493 [2+] 4.17967 [3+] 1.36536 [4+] 1.11458 [5+]   0
Dot directories skipped = 1 (--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.