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

Make type information of NewArray more precise #1784

Merged
merged 9 commits into from
May 22, 2023
Merged

Conversation

Troublor
Copy link
Contributor

Fix #1776, i.e., incorrect array_type in NewArray operation.
This PR also makes the array_type field more precise by including the length of the fixed-sized nested array.

@Troublor Troublor requested a review from 0xalpharush April 20, 2023 20:33
@0xalpharush
Copy link
Contributor

I think this makes sense but it will need @montyly's review too. Would you make this change against dev if possible please?

@Troublor Troublor changed the base branch from master to dev April 21, 2023 16:12
@Troublor
Copy link
Contributor Author

I think this makes sense but it will need @montyly's review too. Would you make this change against dev if possible please?

The base branch of this PR has been made to dev branch.

@0xalpharush
Copy link
Contributor

@Troublor Do you mind resolving the merge conflicts please?

# Conflicts:
#	tests/unit/slithir/test_ssa_generation.py
@Troublor
Copy link
Contributor Author

@Troublor Do you mind resolving the merge conflicts please?

@0xalpharush Conflict fixed.

@Troublor Troublor requested a review from 0xalpharush April 25, 2023 21:57
@montyly
Copy link
Member

montyly commented May 22, 2023

This is a great improvement, thanks @Troublor

@montyly montyly merged commit bb76a5b into crytic:dev May 22, 2023
@Troublor Troublor deleted the array-type branch May 22, 2023 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Incorrect variable type for NewArray operation
3 participants