pyroniasys / pyronia-cpython

Pyronia-aware implementation of CPython
Other
1 stars 1 forks source link

Add hooks for native extensions isolation #5

Open masomel opened 6 years ago

masomel commented 6 years ago

To protect native Python extensions against tampering by other libraries, we isolate them into their own memory domains at import time.

Add hooks for allocating the memory domains at import time, and for running the libraries in separate SMVthreads in the evaluation loop.

masomel commented 6 years ago

The API for these hooks is covered by https://github.com/masomel/libpyronia/issues/10