-
TheFuzzStone[m]
-
tomsmedingthe cold-outputs and cold-transaction fuzz tests in monero cancel the AFL persistent-mode loop if an import or sign, respectively, fails
-
tomsmedingsince this happens pretty often with randomly-generated inputs, that means that the persistent-mode loop is basically not used
-
tomsmedingand thus that you have <1 execution per second, which makes fuzzing only questionably useful
-
tomsmedingdo I understand this correctly / is this known?
-
moneromoooI don't think anyone runs those. I don't recall anything running at anywhere close to 1/s, though I think when I added persistent mode I did not have support for it.
-
moneromoooFeel free to fix.
-
tomsmedinginitialisation of the wallet takes ~1.5 seconds on the machine I was trying it on
-
moneromoooOh, that's probably the subaddresses init. See unit_tests for how to punch it in the face.
-
» moneromooo looks
-
tomsmeding(the wallet initialisation slowness is also an issue for the 'signature' fuzz test, but there at least it properly loops with persistent mode so it isn't as much of a performance problem)
-
moneromooowallet.set_subaddress_lookahead(1, 1);
-
tomsmedingcold-outputs and cold-transaction seem to call that
-
moneromoooThen maybe the SSL cert.
-
moneromoooHmm. Also handles that. I dunno then.
-
moneromoooOh. Randomx
-
moneromoooMight be the dataset init.
-
tomsmedingrunning under perf doesn't give me anything useful but that's probably a lack of symbols
-
tomsmedingwait does the 'fuzz' target not compile in release mode?
-
SnipaI'll be running through merges again tommrow. Main PC decided to brick itself yesterday, so couldn't continue. I've got my massive list-o-things to merge though.
-
moneromoooThanks
-
dqntThis: loki-project/loki 6cf5668 adds a full second of delay on start up