Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Ctypes
1. a foreign function library for Python
交大資工系103級
戴嘉駿/darkgerm
<darkgerm@gmail.com>
2. How can Python combine with
C?
Python API
Python built-in module - ctypes
third party module (ex: boost.python, SWIG)
3. What is ctypes
A foreign function library for Python.
It provides C compatible data types.
It allows calling functions in DLLs or shared
libraries.
5. Reasons to use ctypes
more portable between implementations
of Python.
It has a much lower startup cost.
It is in Python Standard Library.
you're still writing Python!