microsoft / microsoft/MIEngine

Investigate special characters that will require quoting in ExeArguments

Open
#741 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
859
Forks
233
Avg merge
1d 6h
Merged PRs (30d)
3

Description

gdb doesn't like certain characters in ExeArguments and will say it returns code 1 when trying to exec-run.

We have found '(' and ')' but probably should write a more exhaustive test to verify that other characters aren't affected and if they are to add them to the list.

PR: https://github.com/Microsoft/MIEngine/pull/740

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how ExeArguments are passed to gdb during exec-run and reproduce the failure with the known '(' and ')' characters. Expand the test coverage to check other special characters and document the characters that require quoting; the referenced PR may contain relevant prior work.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.