New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C#: Explicitly quote arguments in the LUA tracer on windows. #14150
Merged
michaelnebel
merged 2 commits into
github:main
from
michaelnebel:csharp/tracerwhitespace
Sep 11, 2023
Merged
C#: Explicitly quote arguments in the LUA tracer on windows. #14150
michaelnebel
merged 2 commits into
github:main
from
michaelnebel:csharp/tracerwhitespace
Sep 11, 2023
+4
−9
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
From the tracer log we can see that which explains the failure: |
29350bc
to
7b9a6ea
Compare
aibaars
reviewed
Sep 6, 2023
|
@michaelnebel |
aibaars
reviewed
Sep 7, 2023
aibaars
reviewed
Sep 7, 2023
e6bf8fa
to
21070ae
Compare
aibaars
reviewed
Sep 7, 2023
19b5638
to
e664427
Compare
aibaars
previously approved these changes
Sep 8, 2023
e664427
to
36a7ee0
Compare
36a7ee0
to
d4a1c29
Compare
tamasvajk
approved these changes
Sep 11, 2023
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
no-change-note-required
This PR does not need a change note
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
If quoted arguments are used these will not be respected by the LUA tracer on windows.
In this PR we explicitly quote all compiler arguments containing whitespaces (windows only) in the
dotnetmatcher.Something similar is already being done in the
dotnet execmatcher: https://github.com/github/codeql/blob/main/csharp/tools/tracing-config.lua#L177