SHA256
1
0
forked from pool/afl

Accepting request 297081 from devel:tools

1

OBS-URL: https://build.opensuse.org/request/show/297081
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/afl?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2015-04-16 12:14:14 +00:00 committed by Git OBS Bridge
commit 89efda2f3c
5 changed files with 46 additions and 118 deletions

View File

@ -1,112 +0,0 @@
Index: afl-1.60b/afl-as.c
===================================================================
--- afl-1.60b.orig/afl-as.c
+++ afl-1.60b/afl-as.c
@@ -471,8 +471,7 @@ int main(int argc, char** argv) {
if (isatty(2) && !getenv("AFL_QUIET")) {
- SAYF(cCYA "afl-as " cBRI VERSION cRST " (" __DATE__ " " __TIME__
- ") by <lcamtuf@google.com>\n");
+ SAYF(cCYA "afl-as " cBRI VERSION cRST " by <lcamtuf@google.com>\n");
} else be_quiet = 1;
Index: afl-1.60b/afl-fuzz.c
===================================================================
--- afl-1.60b.orig/afl-fuzz.c
+++ afl-1.60b/afl-fuzz.c
@@ -6859,8 +6859,7 @@ int main(int argc, char** argv) {
char** use_argv;
- SAYF(cCYA "afl-fuzz " cBRI VERSION cRST " (" __DATE__ " " __TIME__
- ") by <lcamtuf@google.com>\n");
+ SAYF(cCYA "afl-fuzz " cBRI VERSION cRST " by <lcamtuf@google.com>\n");
doc_path = access(DOC_PATH, F_OK) ? "docs" : DOC_PATH;
Index: afl-1.60b/afl-gcc.c
===================================================================
--- afl-1.60b.orig/afl-gcc.c
+++ afl-1.60b/afl-gcc.c
@@ -276,8 +276,7 @@ int main(int argc, char** argv) {
if (isatty(2) && !getenv("AFL_QUIET")) {
- SAYF(cCYA "afl-cc " cBRI VERSION cRST " (" __DATE__ " " __TIME__
- ") by <lcamtuf@google.com>\n");
+ SAYF(cCYA "afl-cc " cBRI VERSION cRST " by <lcamtuf@google.com>\n");
} else be_quiet = 1;
Index: afl-1.60b/afl-gotcpu.c
===================================================================
--- afl-1.60b.orig/afl-gotcpu.c
+++ afl-1.60b/afl-gotcpu.c
@@ -77,8 +77,7 @@ int main(int argc, char** argv) {
s32 loop_repeats = 0, util_perc;
u64 st_t, en_t, st_c, en_c, real_delta, slice_delta;
- SAYF(cCYA "afl-gotcpu " cBRI VERSION cRST " (" __DATE__ " " __TIME__
- ") by <lcamtuf@google.com>\n");
+ SAYF(cCYA "afl-gotcpu " cBRI VERSION cRST " by <lcamtuf@google.com>\n");
/* Run a busy loop for CTEST_TARGET_MS. */
Index: afl-1.60b/afl-showmap.c
===================================================================
--- afl-1.60b.orig/afl-showmap.c
+++ afl-1.60b/afl-showmap.c
@@ -416,8 +416,7 @@ static void detect_file_args(char** argv
static void show_banner(void) {
- SAYF(cCYA "afl-showmap " cBRI VERSION cRST " (" __DATE__ " " __TIME__
- ") by <lcamtuf@google.com>\n");
+ SAYF(cCYA "afl-showmap " cBRI VERSION cRST " by <lcamtuf@google.com>\n");
}
Index: afl-1.60b/afl-tmin.c
===================================================================
--- afl-1.60b.orig/afl-tmin.c
+++ afl-1.60b/afl-tmin.c
@@ -899,8 +899,7 @@ int main(int argc, char** argv) {
doc_path = access(DOC_PATH, F_OK) ? "docs" : DOC_PATH;
- SAYF(cCYA "afl-tmin " cBRI VERSION cRST " (" __DATE__ " " __TIME__
- ") by <lcamtuf@google.com>\n");
+ SAYF(cCYA "afl-tmin " cBRI VERSION cRST " by <lcamtuf@google.com>\n");
while ((opt = getopt(argc,argv,"+i:o:f:m:t:xeQ")) > 0)
Index: afl-1.60b/llvm_mode/afl-clang-fast.c
===================================================================
--- afl-1.60b.orig/llvm_mode/afl-clang-fast.c
+++ afl-1.60b/llvm_mode/afl-clang-fast.c
@@ -194,8 +194,7 @@ int main(int argc, char** argv) {
if (isatty(2) && !getenv("AFL_QUIET")) {
- SAYF(cCYA "afl-clang-fast " cBRI VERSION cRST " (" __DATE__ " " __TIME__
- ") by <lszekeres@google.com>\n");
+ SAYF(cCYA "afl-clang-fast " cBRI VERSION cRST " by <lszekeres@google.com>\n");
}
Index: afl-1.60b/llvm_mode/afl-llvm-pass.so.cc
===================================================================
--- afl-1.60b.orig/llvm_mode/afl-llvm-pass.so.cc
+++ afl-1.60b/llvm_mode/afl-llvm-pass.so.cc
@@ -77,8 +77,7 @@ bool AFLCoverage::runOnModule(Module &M)
if (isatty(2) && !getenv("AFL_QUIET")) {
- SAYF(cCYA "afl-llvm-pass " cBRI VERSION cRST " (" __DATE__ " " __TIME__
- ") by <lszekeres@google.com>\n");
+ SAYF(cCYA "afl-llvm-pass " cBRI VERSION cRST " by <lszekeres@google.com>\n");
} else be_quiet = 1;

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93eaf1a67e570e730157c34b31567ff36c4d0058f48f1be986763463973c887e
size 788560

3
afl-1.69b.tgz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f471d6299c01a974a8a0598f61b67f0baad95f70c5a8eb89c738acd31fdef00e
size 790217

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Thu Apr 16 07:19:18 UTC 2015 - astieger@suse.com
- afl 1.69b:
- Added support for deferred initialization in LLVM mode.
- afl 1.68b:
- Fixed a minor PRNG glitch that would make the first seconds of
a fuzzing job deterministic.
- Made tmp[] static in the LLVM runtime to keep Valgrind happy
- Clarified the footnote in README.
-------------------------------------------------------------------
Mon Apr 13 19:58:55 UTC 2015 - astieger@suse.com
- afl 1.67b:
- One more correction to llvm_mode Makefile
- afl 1.66b:
- Added CC / CXX support to llvm_mode Makefile
- Fixed 'make clean' with gmake
- Fixed 'make -j n clean all'
- Removed build date and time from banners to give people deterministic
builds
- drop afl-1.46b-nodate.patch, thus obsoleted
-------------------------------------------------------------------
Mon Apr 13 15:11:11 UTC 2015 - astieger@suse.com
- afl 1.65b:
- Fixed a snafu with some leftover code in afl-clang-fast.
- Corrected even moar typos.
-------------------------------------------------------------------
Sun Apr 12 09:41:38 UTC 2015 - astieger@suse.com
- afl 1.64b:
- improve compatibility with non-ELF platforms.
- Fixed a problem with afl-clang-fast and -shared libraries.
- Removed unnecessary instrumentation density adjustment for LLVM
- includes changes from 1.63b:
- Updated cgroups_asan/
- Fixed typos
-------------------------------------------------------------------
Sat Apr 11 07:15:12 UTC 2015 - astieger@suse.com

View File

@ -17,7 +17,7 @@
Name: afl
Version: 1.62b
Version: 1.69b
Release: 0
Summary: American fuzzy lop is a security-oriented fuzzer
License: Apache-2.0
@ -25,7 +25,6 @@ Group: Development/Tools/Debuggers
Url: http://lcamtuf.coredump.cx/afl/
Source: http://lcamtuf.coredump.cx/afl/releases/%{name}-%{version}.tgz
Source1: afl-rpmlintrc
Patch0: afl-1.46b-nodate.patch
Patch1: afl-1.58b-fix-paths.patch
BuildRequires: gcc-c++
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -37,7 +36,6 @@ Compared to other instrumented fuzzers, afl-fuzz is designed to be practical: it
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build