honggfuzz/honggfuzz.spec

57 lines
1.9 KiB
RPMSpec
Raw Normal View History

#
# spec file for package honggfuzz
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: honggfuzz
Version: 2.5
Release: 0
Summary: Security-oriented fuzzer with various analysis options
License: Apache-2.0
Group: Development/Tools/Other
URL: https://honggfuzz.com
Source: https://github.com/google/honggfuzz/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM -- binutils compatibility changes
Patch0: 0001-Always-pass-4-arguments-to-init_disassemble_info-no-.patch
Patch1: 0002-linux-bfd-use-DIAGNOSTIC_ERROR_SWITCH-define-to-figu.patch
Patch2: 0003-linux-bfd-cover-include-diagnostics.h-with-__has_inc.patch
BuildRequires: binutils-devel
BuildRequires: libunwind-devel
BuildRequires: zlib-devel
%description
Security-oriented fuzzer with powerful analysis options. Supports
evolutionary, feedback-driven fuzzing based on code coverage
(software and hardware).
%prep
%autosetup -p1
%build
export CFLAGS="%{optflags}"
%make_build ARCH_LDFLAGS="-L/usr/local/include -L/usr/include -lpthread -lunwind-ptrace -lunwind-generic -lbfd -lopcodes -lrt -liberty -lz -ldl"
%install
install -Dpm 0755 %{name} \
%{buildroot}%{_bindir}/%{name}
%files
%license COPYING
Accepting request 829698 from home:dirkmueller:branches:devel:tools - update to 2.3.1: - honggfuzz.h - split run_t into substructs - clang-format options in .clang-format - added missing mutex initializers - removed unncessary comparisons to 'true' and 'false' - improved NetBSD compatibility - removed unnecessary memory fences (speed ups) - faster searching through the binary for const 4/8-byte values - removed unnecessary includes with iwyu - libhfnetdriver - general improvements around local socket fuzzing and timeouts - Added 8bitcnt instrumentation - use hfuzz-cc/hfuzz-8bitcnt-(gcc|clang) for that - PC-guard instrumentation now uses edge counting - --experimental_const_feedback is now set to true by default - additional string instrumentation wrappers: glib, lcms - additional mutators: splicing, changing ascii numbers - additional integer comparison instrumentation (adding integers to the dynamic dictionary) - fixed linking with ld.lld - removed `sanitizer-coverage-prune-blocks` from hfuzz-cc.c - most mutators have now either overwrite or insert versions - fixed memory barriers in libhfuzz/ - implemented skip_factor which dictates how often a given input is fuzzed - lowered the default timeout to 1 second - honggfuzz now uses microseconds, instead of milliseconds across the code - added some new functions to libhfcommon/files - enabled more aggressive inlining in hfuzz-cc/ - fixed compilation dependency under MacOS X - remove 0001-fix-some-m32-compilation-issues-type-casting.patch (upstream) OBS-URL: https://build.opensuse.org/request/show/829698 OBS-URL: https://build.opensuse.org/package/show/devel:tools/honggfuzz?expand=0&rev=20
2020-08-31 09:45:49 +02:00
%doc CHANGELOG CONTRIBUTING.md README.md
%{_bindir}/%{name}
%changelog