question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Kotlin Version Support

See original GitHub issue

I 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:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
schirrmachercommented, Sep 14, 2021

Thanks for the fast response! I now used gcr.io/oss-fuzz-base/base-builder-jvm as a base image and it works:

OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
INFO: Loaded 8 hooks from com.code_intelligence.jazzer.sanitizers.Deserialization
INFO: Loaded 1 hooks from com.code_intelligence.jazzer.sanitizers.ReflectiveCall
INFO: Loaded 8649 no-throw method signatures
INFO: Instrumented net.grandcentrix.cellulariot.cellularhub.fuzztests.targets.LwAuthorizerFuzzer (took 103 ms, size +13%)

Your changes regarding the Kotlin version seem to work 😃

I will figure out my problem from above, thanks for the advice!

1reaction
fmeumcommented, Sep 13, 2021
Read more comments on GitHub >

github_iconTop 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 >
Compatibility guide for Kotlin 1.7
Keymap: Compatibility guide for Kotlin 1.7.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found