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

Desconsider incorrect identifiers #90

Open
joaovam opened this issue Feb 24, 2025 · 0 comments
Open

Desconsider incorrect identifiers #90

joaovam opened this issue Feb 24, 2025 · 0 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@joaovam
Copy link
Member

joaovam commented Feb 24, 2025

In the example below, id_10 was renamed as an identifier and used, however, id_10 refers to an undeclared module, it occurs due to lack of context when generating programs. We must modify the IdentifierRenaming pass to ignore declared identifiers when there's a chance to generate this kind of construct. We must investigate it further but a starting point would be to discover which production generates it, add a new context to the IdentifierRenaming pass, and ignore all the identifiers created during this context.

id_10(
      1, 1, id_7
  );
  assign id_10 = id_2;
@joaovam joaovam added bug Something isn't working help wanted Extra attention is needed labels Feb 24, 2025
@luizademelo luizademelo self-assigned this Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants