Files
capstone/bindings
Duncan Ogilvie 90943652bb Python: use setattr to rewire Cs.disasm to avoid type checking errors (#2915)
```
error[invalid-argument-type]: Argument to function `Cs.disasm` is incorrect
  --> test.py:15:36
   |
15 |         insn = list(self.cs.disasm(code, address, 1))[0]
   |                                    ^^^^ Expected `Cs`, found `bytes`
   |
info: Function defined here
    --> .venv/lib/python3.14/site-packages/capstone/__init__.py:1466:9
     |
1466 |     def disasm(self, code, offset, count=0):
     |         ^^^^^^ ---- Parameter declared here
     |
info: Union variant `def disasm(self, code, offset, count=0) -> Unknown` is incompatible with this call site
info: Attempted to call union type `(bound method Cs.disasm(code, offset, count=0) -> Unknown) | (def disasm(self, code, offset, count=0) -> Unknown)`
```
2026-05-12 10:58:16 +00:00
..
2025-01-28 22:34:24 +08:00
2024-09-30 11:35:51 +08:00

This directory contains bindings & test code for Python, Java & OCaml. See <language>/README.md for how to compile & install each binding.

More bindings created & maintained by the community are available as followings.