pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
honggfuzz-git: Disable Linux specific fields in reports
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Fri Aug 10 14:40:21 2018 +0200
Changeset: 2aa497e9ac779b1287d6a6cd03082e743733e29a
Modified Files:
honggfuzz-git/distinfo
Added Files:
honggfuzz-git/patches/patch-report.c
Log Message:
honggfuzz-git: Disable Linux specific fields in reports
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2aa497e9ac779b1287d6a6cd03082e743733e29a
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
honggfuzz-git/distinfo | 1 +
honggfuzz-git/patches/patch-report.c | 38 ++++++++++++++++++++++++++++++++++++
2 files changed, 39 insertions(+)
diffs:
diff --git a/honggfuzz-git/distinfo b/honggfuzz-git/distinfo
index ed185c6986..adb18959cc 100644
--- a/honggfuzz-git/distinfo
+++ b/honggfuzz-git/distinfo
@@ -4,3 +4,4 @@ SHA1 (honggfuzz-1.6.tar.gz) = e6ab2a411fe8726e57815209d6fb1b6f4268538c
RMD160 (honggfuzz-1.6.tar.gz) = 8ef15a0e38cd09a26f82a3683da6a363257ddce1
SHA512 (honggfuzz-1.6.tar.gz) = db4f0f31d36080db983068435be82b3e1132145e0bad5c4e8e6504563f10ce66df4f977fbd0a9f1cbcd262e479f635a68ab7c1df70d23e8437164734ea562c90
Size (honggfuzz-1.6.tar.gz) = 79322453 bytes
+SHA1 (patch-report.c) = 2d181c54924f004d5d9cad3e8ab7996ced8b91b9
diff --git a/honggfuzz-git/patches/patch-report.c b/honggfuzz-git/patches/patch-report.c
new file mode 100644
index 0000000000..2525aa7e9d
--- /dev/null
+++ b/honggfuzz-git/patches/patch-report.c
@@ -0,0 +1,38 @@
+$NetBSD$
+
+--- report.c.orig 2018-08-08 23:14:18.000000000 +0000
++++ report.c
+@@ -97,21 +97,31 @@ void report_Report(run_t* run) {
+ " externalCmd : %s\n"
+ " fuzzStdin : %s\n"
+ " timeout : %ld (sec)\n"
++#if defined(_HF_ARCH_LINUX)
+ " ignoreAddr : %p\n"
++#endif
+ " ASLimit : %" PRIu64
+ " (MiB)\n"
+ " RSSLimit : %" PRIu64
+ " (MiB)\n"
+ " DATALimit : %" PRIu64
+ " (MiB)\n"
++#if defined(_HF_ARCH_LINUX)
+ " targetPid : %d\n"
+ " targetCmd : %s\n"
++#endif
+ " wordlistFile : %s\n",
+ localtmstr, run->global->mutate.mutationsPerRun,
+ run->global->exe.externalCommand == NULL ? "NULL" : run->global->exe.externalCommand,
+ run->global->exe.fuzzStdin ? "TRUE" : "FALSE", run->global->timing.tmOut,
+- run->global->linux.ignoreAddr, run->global->exe.asLimit, run->global->exe.rssLimit,
+- run->global->exe.dataLimit, run->global->linux.pid, run->global->linux.pidCmd,
++#if defined(_HF_ARCH_LINUX)
++ run->global->linux.ignoreAddr,
++#endif
++ run->global->exe.asLimit, run->global->exe.rssLimit,
++ run->global->exe.dataLimit,
++#if defined(_HF_ARCH_LINUX)
++ run->global->linux.pid, run->global->linux.pidCmd,
++#endif
+ run->global->mutate.dictionaryFile == NULL ? "NULL" : run->global->mutate.dictionaryFile);
+
+ #if defined(_HF_ARCH_LINUX)
Home |
Main Index |
Thread Index |
Old Index