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

Initial attempt at liveness analysis #329

Merged
merged 4 commits into from
Aug 8, 2023
Merged

Initial attempt at liveness analysis #329

merged 4 commits into from
Aug 8, 2023

Conversation

drcjt
Copy link
Owner

@drcjt drcjt commented Aug 8, 2023

Updates local variables mustinit based on results of liveness analysis.
Future PR will use mustinit to do local initialisation

  • Still need to write tests
  • Manually tested for simple local variable types
  • Not tested complex value types e.g. structs yet.
  • Doesn't handle jmp at end of blocks - note this is not necessary as currently importer can't handle jmp cil anyway

@drcjt drcjt self-assigned this Aug 8, 2023
@drcjt drcjt added the enhancement New feature or request label Aug 8, 2023
@drcjt
Copy link
Owner Author

drcjt commented Aug 8, 2023

Initial work for #327

@sonarcloud
Copy link

sonarcloud bot commented Aug 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

95.5% 95.5% Coverage
0.0% 0.0% Duplication

warning The version of Java (11.0.20) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

@drcjt drcjt merged commit 7e03bea into main Aug 8, 2023
3 checks passed
@drcjt drcjt deleted the Add-Liveness-Analysis branch August 8, 2023 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant