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

Integrate mmap model from CBMC #2543

Open
feliperodri opened this issue Jun 20, 2023 · 3 comments
Open

Integrate mmap model from CBMC #2543

feliperodri opened this issue Jun 20, 2023 · 3 comments
Assignees
Labels
[E] Unsupported Construct Add support to an unsupported construct T-CBMC Issue related to an existing CBMC issue

Comments

@feliperodri
Copy link
Contributor

Currently, we have harnesses blocked by unsupported libc libraries. Current blockers:

  • mmap;
  • sysconf;

We should rely on CBMC C Library models while make sure that customers can create their own stubs of these models in Kani as well.

@feliperodri feliperodri added [E] Unsupported Construct Add support to an unsupported construct T-CBMC Issue related to an existing CBMC issue labels Jun 20, 2023
@feliperodri
Copy link
Contributor Author

We are unable to fully support mmap due to the following issue diffblue/cbmc#7773.

@feliperodri feliperodri added this to the Stubbing milestone Jun 20, 2023
@feliperodri feliperodri self-assigned this Jun 20, 2023
@celinval celinval modified the milestones: Stubbing, C-FFI Milestone Jun 20, 2023
@celinval
Copy link
Contributor

I think we need a better mechanism to import these functions to Kani. In the meantime, we might want to keep doing this by demand.

@roypat
Copy link

roypat commented Jul 5, 2023

For what its worth with the mmap one, firecracker only uses MAP_ANONYMOUS without MAP_FIXED, which if I read CBMC code correctly wont run into the deprecation issue you linked.

@feliperodri feliperodri changed the title Integrate all libc models from CBMC Integrate mmap model from CBMC Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[E] Unsupported Construct Add support to an unsupported construct T-CBMC Issue related to an existing CBMC issue
Projects
No open projects
Status: In Progress
Status: In Progress
Development

No branches or pull requests

3 participants