Skip to content

Asm printing: quote command-line arguments when needed#586

Open
xavierleroy wants to merge 1 commit into
masterfrom
quote-arguments
Open

Asm printing: quote command-line arguments when needed#586
xavierleroy wants to merge 1 commit into
masterfrom
quote-arguments

Conversation

@xavierleroy

Copy link
Copy Markdown
Contributor

The command-line arguments to ccomp are printed in a comment at the beginning of the generated assembly file. This PR adds some quoting so that the assembly comment remains well formed and understandable if some arguments contain newlines or whitespace.

Suggested by Christos Papakonstantinou (Cantina Security).

Arguments containing newlines would break the assembly comment.
Arguments containing whitespace would look like multiple arguments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant