Skip to content

CPP: Fix FormatLiteral.isMicrosoft#1219

Merged
jbj merged 2 commits intogithub:masterfrom
geoffw0:msfix2
May 13, 2019
Merged

CPP: Fix FormatLiteral.isMicrosoft#1219
jbj merged 2 commits intogithub:masterfrom
geoffw0:msfix2

Conversation

@geoffw0
Copy link
Contributor

@geoffw0 geoffw0 commented Apr 8, 2019

It turns out File.compiledAsMicrosoft() is missing a lot of Microsoft compiled files that are built with extractor.exe --mimic @-. As a quick fix, have the string formatting functions look for any Microsoft compiled file in the snapshot (i.e. assume a mix of compilers is not being used). This should produce good reliability in practice.

@geoffw0 geoffw0 added the C++ label Apr 8, 2019
@geoffw0 geoffw0 requested a review from a team as a code owner April 8, 2019 09:45
@jbj
Copy link
Contributor

jbj commented Apr 11, 2019

@geoffw0 The test job failed.

@geoffw0
Copy link
Contributor Author

geoffw0 commented May 1, 2019

redo failed

@geoffw0
Copy link
Contributor Author

geoffw0 commented May 1, 2019

I've now added a submodule update to https://git.semmle.com/Semmle/code/pull/31505, the test should pass there.

@jbj jbj added the depends on internal PR This PR should only be merged in sync with an internal Semmle PR label May 1, 2019
@jbj
Copy link
Contributor

jbj commented May 1, 2019

Okay. I'd expected the tests to pass because there was no "depends on internal PR" label on this PR.

@geoffw0 geoffw0 force-pushed the msfix2 branch 3 times, most recently from 0820959 to 15090ef Compare May 7, 2019 14:14
jbj
jbj previously approved these changes May 8, 2019
@jbj jbj merged commit bb67ac9 into github:master May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C++ depends on internal PR This PR should only be merged in sync with an internal Semmle PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants