-
Notifications
You must be signed in to change notification settings - Fork 6
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
Support for fixed arrays and structs as function parameters #121
Conversation
spencerhaoxiao
commented
Oct 23, 2023
- Support fixed arrays as function arguments
- Support the combination of, nested structs and multi-dimensional arrays and all their combinations
- The predicate on an array argument is to add the relevant predicates on its element type.
Could you add some unit tests for this in https://github.com/runtimeverification/kontrol/blob/master/src/tests/unit/test_solc_to_k.py? |
…kontrol into function_array_args
…abi_tuple and abi_array and abi_calldata
@spencerhaoxiao could you please move a Solidity
|
1c8b3c7
to
8ed1339
Compare
As discussed with @anvacaru, we might want to remove references to array elements within
Referencing array elements is impractical for dynamically-sized arrays or statically-sized ones with a large number of elements. This, however, would make generation of range predicates for elements less straightforward, so I'll continue the investigation on it. |
As @anvacaru has suggested, we'll proceed in three different directions: we will
in this order. |
I'm closing this due to staleness. |