🌘 GitHub - DavidBuchanan314/unsafe-python:一個在「純」Python 程式中協助編寫不安全記憶體碼的函式庫,無需任何匯入(也就是沒有 ctypes 等)
➤ 支援在「純」Python 程式中進行不安全記憶體操作的庫
https://github.com/DavidBuchanan314/unsafe-python
此庫可協助編寫不安全記憶體碼,支援在「純」Python 程式中進行記憶體操作,而無需匯入其他庫。它使用 CPython 的程式碼物件檢視 API 和堆積整理技術,在 CPython 自身的位元碼編譯器中製造「易受攻擊」的程式碼物件。
+ 這個函式庫看起來很有趣,但標題有點誇張。
+ 聽起來有點危險,但對於測試和研究非常有用。
#Python函式庫 #記憶體管理 #安全問題
GitHub - DavidBuchanan314/unsafe-python: A library to assist writing memory-unsafe code in "pure" python, without any imports (i.e. no ctypes etc.)

A library to assist writing memory-unsafe code in "pure" python, without any imports (i.e. no ctypes etc.) - DavidBuchanan314/unsafe-python

GitHub