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

Add VmModule.mmap() to Python API. #14124

Merged
merged 2 commits into from
Jun 15, 2023
Merged

Add VmModule.mmap() to Python API. #14124

merged 2 commits into from
Jun 15, 2023

Commits on Jun 15, 2023

  1. Add VmModule.mmap() to Python API.

    We really need page aligned flatbuffer blobs vs normal malloc alignment. The best way to be loading a file is via mmap, so just make that available as an API.
    
    This could be done in Python by the caller but is error-prone. The public API will make this more robust.
    
    Provides the mechanism to fix #13887
    stellaraccident committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    1af38b5 View commit details
    Browse the repository at this point in the history
  2. Format

    stellaraccident committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    ff08615 View commit details
    Browse the repository at this point in the history