google / fuzzing

Tutorials, examples, discussions, research proposals, and other resources related to fuzzing
Apache License 2.0
3.5k stars 432 forks source link

msvc compiler doesn't support "-fsanitize=fuzzer-no-link" #85

Open TechForBad opened 3 years ago

TechForBad commented 3 years ago

I successfully compiled libfuzzer.lib on the windows platform with vs2019. The msvc compiler supports "-fsanitize-coverage=trace-pc", and I successfully use libfuzzer to deploy exe and lib projects, but the msvc compiler does not support "-fsanitize= fuzzer-no-link", which prevents me from deploying dll projects with libfuzzer.lib, what should I do?

TechForBad commented 3 years ago

how can I use the msvc compiler to deploy libfuzzer on dynamic link library projects?