We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3ec7b5 commit 5e71207Copy full SHA for 5e71207
1 file changed
cpp/ql/src/semmle/code/cpp/File.qll
@@ -313,6 +313,8 @@ class File extends Container, @file {
313
getAbsolutePath().charAt(1) = ":"
314
// this is not ideal, it detects compilation on a Windows file system
315
// as a heuristic approximation to compilation with a Microsoft compiler.
316
+ ) or (
317
+ getAbsolutePath().charAt(1) = "/"
318
)
319
}
320
0 commit comments