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

check basic memory allocation inside loop #15

Merged
merged 2 commits into from
Jul 22, 2024
Merged

check basic memory allocation inside loop #15

merged 2 commits into from
Jul 22, 2024

Conversation

notJoon
Copy link
Contributor

@notJoon notJoon commented Jul 22, 2024

Description

  • Detect unneccesary memory allocation, especially declare new variables inside the loop conditions.

TODO

Introduce DFA (data Flow Analysis) to achieve the advancing static analysis.

@notJoon notJoon added the A-lint Adding or updating lint label Jul 22, 2024
@notJoon notJoon marked this pull request as ready for review July 22, 2024 04:33
@notJoon notJoon merged commit 7501092 into main Jul 22, 2024
1 check passed
@notJoon notJoon deleted the detect-mem-alloc branch July 22, 2024 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lint Adding or updating lint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant