Thanks to visit codestin.com
Credit goes to github.com

Skip to content

SetEquate incorrectly renders names with quotes. #9155

@astrelsky

Description

@astrelsky

Describe the bug
When setting an equate to an "Equate String" that contains quotes, it will be rendered incorrectly.

To Reproduce
Steps to reproduce the behavior:

  1. Find a value to create an equate with.
  2. Set the equate string to be anything that has a quote in it.
  3. See the value incorrectly rendered in wide char hex escaped format, instead of the equate string.

Expected behavior
It should show the set equate string or it should not accept the input.

Environment (please complete the following information):

  • Ghidra Version: 12.2_DEV

Additional context
Technically the way I'm trying to use it in this context is invalid c, but it's easier on the eyes. Either way, the current behavior is unexpected.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions