35a7ecb683
* Simplified and improved hfuzz_cc compiler * More string instrumentation in libhfuzz * Android: works with Android-NDK 15 and newer only * Dockerfile * Refreshed docs * Linux: Faster BTS/PT due to less PMU state resets * Linux: tests and by-pass for the Linux' fork-when-multithreaded problem * libFuzzer/AFL style dictionaries * Runnable under docker/oss-fuzz - Changes for version 1.0: * Multiple stability improvements for most of the supported architectures * More examples in examples/ (e.g. Linux kernel IP for BTS/PT) * Documentation updates * Added honggfuzz compiler wrapper in hfuzz_cc/ * Reworked buffer mangling logic - Drope reproducible.patch and gcc7.patch - Add honggfuzz-binutils_2.29.patch to fix building with latest binutils OBS-URL: https://build.opensuse.org/package/show/devel:tools/honggfuzz?expand=0&rev=10
56 lines
1.8 KiB
RPMSpec
56 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package honggfuzz
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: honggfuzz
|
|
Version: 1.1
|
|
Release: 0
|
|
Summary: Security-oriented fuzzer with various analysis options
|
|
License: Apache-2.0
|
|
Group: Development/Tools/Other
|
|
Url: https://google.github.io/honggfuzz/
|
|
Source: https://github.com/google/honggfuzz/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
# PATCH-FIX-UPSTREAM https://github.com/google/honggfuzz/commit/fe2934bd59e7a1dbe58dafcd71bb8383505de092
|
|
Patch0: honggfuzz-binutils_2.29.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
|
|
%setup -q
|
|
%patch0 -p1
|
|
|
|
%build
|
|
export CFLAGS="%{optflags}"
|
|
make %{?_smp_mflags} ARCH_LDFLAGS="-L/usr/local/include -L/usr/include -lpthread -lunwind-ptrace -lunwind-generic -lbfd -lopcodes -lrt -liberty -lz -ldl"
|
|
|
|
%install
|
|
install -D -p -m 0755 %{name} \
|
|
%{buildroot}%{_bindir}/%{name}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING CHANGELOG CONTRIBUTING README.md
|
|
%{_bindir}/%{name}
|
|
|
|
%changelog
|