Building AOSP with libFuzzer including SanitizerCoverage

23 views
Skip to first unread message

fa de

unread,
May 15, 2020, 12:05:14 PM5/15/20
to Android Building
I was able to build AOSP with libFuzzer and fuzz my target on an emulator. In order to get visual coverage feedback for libFuzzer I need to built it again, with the `Source-based Code Coverage`-modul (https://clang.llvm.org/docs/SourceBasedCodeCoverage.html).

How can I add this module when building AOSP? Do I need to add the two flags `-fprofile-instr-generate -fcoverage-mapping` in the blueprints?


Thank you very much in advance.
Reply all
Reply to author
Forward
0 new messages