Kotlin Version Support
See original GitHub issueI have updated a project to a new Kotlin version (1.5.10
) and now the fuzzer stops working (tests haven’t been changed):
INFO: Loaded 8562 no-throw method signatures
INFO: libFuzzer ignores flags that start with '--'
INFO: Seed: 4294574280
INFO: Loaded 1 modules (512 inline 8-bit counters): 512 [0x7f4e83eff010, 0x7f4e83eff210),
INFO: Loaded 1 PC tables (512 PCs): 512 [0x7f4e82afd010,0x7f4e82aff010),
INFO: -max_len is not provided; libFuzzer will not generate inputs larger than 4096 bytes
INFO: New number of inline 8-bit counters: 1024
INFO: New number of inline 8-bit counters: 2048
INFO: New number of inline 8-bit counters: 4096
INFO: New number of inline 8-bit counters: 8192
INFO: New number of inline 8-bit counters: 16384
INFO: New number of inline 8-bit counters: 32768
INFO: New number of inline 8-bit counters: 65536
INFO: A corpus is not provided, starting from an empty corpus
#2 INITED exec/s: 2 rss: 207Mb
ERROR: no interesting inputs were found. Is the code instrumented for coverage? Exiting.
Before (Kotlin 1.4.31
):
INFO: Loaded 8562 no-throw method signatures
INFO: Instrumented net.grandcentrix.cellulariot.cellularhub.fuzztests.targets.MessageMustacheSerializerFuzzer (took 153 ms, size +43%)
INFO: libFuzzer ignores flags that start with '--'
INFO: Seed: 1145321598
INFO: Loaded 1 modules (512 inline 8-bit counters): 512 [0x7fe4fedce010, 0x7fe4fedce210),
INFO: Loaded 1 PC tables (512 PCs): 512 [0x7fe4fd9cc010,0x7fe4fd9ce010),
INFO: -max_len is not provided; libFuzzer will not generate inputs larger than 4096 bytes
INFO: Instrumented net.grandcentrix.cellulariot.cellularhub.utils.serialisation.models.SerialisationContext (took 14 ms, size +25%)
INFO: Instrumented net.grandcentrix.cellulariot.cellularhub.utils.serialisation.models.SerialisationProductDto (took 5 ms, size +37%)
...
Might this be related to Jazzer?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Kotlin releases
1.7.20. Released: September 29, 2022. Release on GitHub. An incremental release with new language features, the support for several compiler plugins in the ......
Read more >What's new in Kotlin 1.7.0
Kotlin 1.7.0 has been released. It unveils the Alpha version of the new Kotlin/JVM K2 compiler, stabilizes language features, and brings ...
Read more >What's new in Kotlin 1.8.0-RC
The Kotlin 1.8.0-RC release is out! Here are some highlights from this release: We removed the old backend for Kotlin/JVM. We now support...
Read more >What's new in Kotlin 1.6.0
Starting with Kotlin 1.6.0, we will support development for three previous API versions instead of two, along with the current stable one.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the fast response! I now used
gcr.io/oss-fuzz-base/base-builder-jvm
as a base image and it works:Your changes regarding the Kotlin version seem to work 😃
I will figure out my problem from above, thanks for the advice!
@schirrmacher Could you try again using Jazzer built from https://github.com/CodeIntelligenceTesting/jazzer/pull/181?