Skip to content
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

String index out of range in CParser #6701

Open
yair-c opened this issue Jul 9, 2024 · 0 comments · May be fixed by #6702
Open

String index out of range in CParser #6701

yair-c opened this issue Jul 9, 2024 · 0 comments · May be fixed by #6702
Assignees
Labels
Feature: C-Parser Status: Triage Information is being gathered

Comments

@yair-c
Copy link

yair-c commented Jul 9, 2024

Describe the bug
String index out of range in CParser.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'File->Parse C Source...'
  2. Try to parse header with #define ( ) (This can be a real case with auto created header)
  3. See error

Expected behavior
The header should be parsed.

Screenshots
image

Environment (please complete the following information):
Build Date: 2024-Jan-30 1212 EST
Ghidra Version: 11.0.1 (official)
Java Home: C:\Program Files\Java\jdk-17
JVM Version: 17.0.6
OS: Windows 11 10.0 amd64

Additional context
Merge request below

@yair-c yair-c linked a pull request Jul 9, 2024 that will close this issue
@ryanmkurtz ryanmkurtz added Feature: C-Parser Status: Triage Information is being gathered labels Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: C-Parser Status: Triage Information is being gathered
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants