Skip to content

Add rewriter tests of multi-dimensional arrays #306

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

Closed
dtarditi opened this issue May 17, 2017 · 1 comment
Closed

Add rewriter tests of multi-dimensional arrays #306

dtarditi opened this issue May 17, 2017 · 1 comment
Assignees
Labels
work item This labels issues that are not exactly bugs but are about improvements.

Comments

@dtarditi
Copy link
Member

It would be good to have a test for a multi-dimensional array of pointers that converted to _Ptr as well as a pointer to an array of pointers. Multi-dimensional arrays are tricky in C because of the way * and lvalue-to-rvalue conversion works for array types. It is worth checking that things work as you expect.

@dtarditi dtarditi added the work item This labels issues that are not exactly bugs but are about improvements. label May 31, 2017
@dtarditi
Copy link
Member Author

dtarditi commented Sep 2, 2019

The convert tool has been mostly rewritten (see PR #642), and extensive tests have been added. This issue can be reopened if more tests are needed.

@dtarditi dtarditi closed this as completed Sep 2, 2019
dopelsunce pushed a commit to dopelsunce/checkedc-clang that referenced this issue Sep 28, 2020
Changed the signature of malloc, calloc and free to make them polymorphic bounds safe interface functions and fixed the tests that failed due to the change in signature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
work item This labels issues that are not exactly bugs but are about improvements.
Projects
None yet
Development

No branches or pull requests

2 participants