summaryrefslogtreecommitdiff
path: root/report.c
diff options
context:
space:
mode:
authorRobert Swiecki <robert@swiecki.net>2017-11-13 23:32:26 +0100
committerRobert Swiecki <robert@swiecki.net>2017-11-13 23:32:26 +0100
commitd50ed4254e9260cd0b4ddb5f6608ec54447ec08d (patch)
treec71c7db0bca8d8b7622cabbb207e49d296d1b0a8 /report.c
parent78633d1b907775e7067fb04332859703de72ac3f (diff)
downloadhonggfuzz-d50ed4254e9260cd0b4ddb5f6608ec54447ec08d.tar.gz
all: indent webkit->google
Diffstat (limited to 'report.c')
-rw-r--r--report.c18
1 files changed, 7 insertions, 11 deletions
diff --git a/report.c b/report.c
index 1ff650fb..57942eca 100644
--- a/report.c
+++ b/report.c
@@ -36,18 +36,15 @@
static int reportFD = -1;
#if defined(_HF_ARCH_LINUX)
-static void report_printdynFileMethod(run_t* run)
-{
+static void report_printdynFileMethod(run_t* run) {
dprintf(reportFD, " dynFileMethod: ");
if (run->global->dynFileMethod == 0)
dprintf(reportFD, "NONE\n");
else {
- if (run->global->dynFileMethod & _HF_DYNFILE_INSTR_COUNT)
- dprintf(reportFD, "INSTR_COUNT ");
+ if (run->global->dynFileMethod & _HF_DYNFILE_INSTR_COUNT) dprintf(reportFD, "INSTR_COUNT ");
if (run->global->dynFileMethod & _HF_DYNFILE_BRANCH_COUNT)
dprintf(reportFD, "BRANCH_COUNT ");
- if (run->global->dynFileMethod & _HF_DYNFILE_BTS_EDGE)
- dprintf(reportFD, "BTS_EDGE_COUNT ");
+ if (run->global->dynFileMethod & _HF_DYNFILE_BTS_EDGE) dprintf(reportFD, "BTS_EDGE_COUNT ");
if (run->global->dynFileMethod & _HF_DYNFILE_IPT_BLOCK)
dprintf(reportFD, "IPT_BLOCK_COUNT ");
@@ -56,8 +53,7 @@ static void report_printdynFileMethod(run_t* run)
}
#endif
-static void report_printTargetCmd(run_t* run)
-{
+static void report_printTargetCmd(run_t* run) {
dprintf(reportFD, " fuzzTarget : ");
for (int x = 0; run->global->cmdline[x]; x++) {
dprintf(reportFD, "%s ", run->global->cmdline[x]);
@@ -65,8 +61,7 @@ static void report_printTargetCmd(run_t* run)
dprintf(reportFD, "\n");
}
-void report_Report(run_t* run)
-{
+void report_Report(run_t* run) {
if (run->report == NULL || run->report[0] == '\0') {
return;
}
@@ -101,7 +96,8 @@ void report_Report(run_t* run)
" fuzzStdin : %s\n"
" timeout : %ld (sec)\n"
" ignoreAddr : %p\n"
- " memoryLimit : %" PRIu64 " (MiB)\n"
+ " memoryLimit : %" PRIu64
+ " (MiB)\n"
" targetPid : %d\n"
" targetCmd : %s\n"
" wordlistFile : %s\n",