microsoft / infersharp

Infer# is an interprocedural and scalable static code analyzer for C#. Via the capabilities of Facebook's Infer, this tool detects null dereferences, resource leaks, and thread-safety violations. It also performs taint flow tracking to detect critical security vulnerabilities like SQL injections.
MIT License
732 stars 29 forks source link

Infersharp Visual Studio 2022 plugin doesn't handle spaces in directory path correct. #151

Open timg83 opened 2 years ago

timg83 commented 2 years ago

When using the Visual Studio 2022 plugin of Infersharp the spaces in a directory path are not handled correct.

Output:

InferSharp is analyzing: //mnt/c/DEV/KBVB/License App/src/license-app Processing {//mnt/c/DEV/KBVB/License} cp: cannot stat '//mnt/c/DEV/KBVB/License': No such file or directory Copying binaries to a staging folder...

cp: target 'App/src/license-app' is not a directory

Expected: Spaces in directory paths are handled correctly.

matjin commented 2 years ago

Thanks for posting this issue!