Coder Social home page Coder Social logo

Comments (2)

vt-alt avatar vt-alt commented on June 7, 2024

Possible solution:

diff --git a/fuzz.c b/fuzz.c
index 398cae34..0e6919f9 100644
--- a/fuzz.c
+++ b/fuzz.c
@@ -255,8 +255,7 @@ static void fuzz_perfFeedback(run_t* run) {
             size_t tot_exec_per_sec = elapsed_sec ? (curr_exec_cnt / elapsed_sec) : 0;

             dprintf(run->global->io.statsFileFd,
-                "%lu, %lu, %lu, %lu, "
-                "%" PRIu64 ", %" PRIu64 ", %" PRIu64 ", %" PRIu64 ", %" PRIu64 "\n",
+                "%lu, %lu, %zu, %zu, %zu, %zu, %zu, %ju, %ju\n",
                 curr_sec,                                 /* unix_time */
                 run->global->timing.lastCovUpdate,        /* last_cov_update */
                 curr_exec_cnt,                            /* total_exec */
diff --git a/input.c b/input.c
index a03b6674..e056d3a5 100644
--- a/input.c
+++ b/input.c
@@ -660,7 +660,7 @@ void input_enqueueDynamicInputs(honggfuzz_t* hfuzz) {
             continue;
         }

-        LOG_I("Loading dynamic input file: %s (%lu)", dynamicInputFileName, dynamicFileSz);
+        LOG_I("Loading dynamic input file: %s (%zu)", dynamicInputFileName, dynamicFileSz);

         run_t tmp_run;
         tmp_run.global        = hfuzz;

from honggfuzz.

robertswiecki avatar robertswiecki commented on June 7, 2024

Looks good, would it be possible to send a PR with this?

from honggfuzz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.