This is a pattern I've noticed 3c bounds inference doesn't support while converting yacr2
extern int baz;
void foo(int *a) {
for (int i = 0; i < baz; i++) {
(void) a[i];
}
}
Here baz is being used as the length of a, so I would like to get _Array_ptr<int> a : count(baz). This is the result we see if baz is instead a parameter of foo.
This is a pattern I've noticed 3c bounds inference doesn't support while converting yacr2
Here
bazis being used as the length ofa, so I would like to get_Array_ptr<int> a : count(baz). This is the result we see ifbazis instead a parameter offoo.