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

Tracking issue: Tock errors #740

Open
enjhnsn2 opened this issue Aug 21, 2024 · 0 comments
Open

Tracking issue: Tock errors #740

enjhnsn2 opened this issue Aug 21, 2024 · 0 comments

Comments

@enjhnsn2
Copy link
Collaborator

enjhnsn2 commented Aug 21, 2024

This issue is intended to track progress on supporting Tock kernel code. Below, I have made two tables describing the code that we currently have to ignore or trust in Tock. As I create minimized examples and create issues for these individual bugs, I will add links here

Trusted functions

Category Num bugs Example Related issues
ICE: to_sort_list called on bound variable list with non-refinements 6 PrioritySched::next #829
ICE: Expected array or slice type 3 ReadableProcessSlice::copy_to_slice_or_err #733
assignment might be unsafe caused by extern spec on Option 2 ProcessStandard::switch_to #782
Cannot move out of non-strong reference 1 ProcessStandard::create #671
ICE: incompatible types 1 ProcessGrant::access_grant_with_allocator
ICE: Invalid deref of *mut 1 assign_gpios
Other (below) 12 N/A N/A
Total 26 N/A N/A

Here I outline the functions that are trusted because of valid refinement errors (i.e., Arithmetic errors, OOB, can't prove predondition, etc.) for my own use.

Other

Category Num functions Reasons
Arithmetic 7 Need range spec, bitwise logic
Refinement 3
Need spec for enumerate 1
??? 1
Total 12
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

No branches or pull requests

1 participant