Extending exisitng Architecture #3230
-
is it possible to extend pre-existing architectures e.g. via the python API? My use case would be to extend mips32 with the mips16e2 ase without having to re-model the entire underlying architecture... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Yes, there are two ways. The first is using an architecture extension but that is useful for small changes to existing architectures: https://github.com/Vector35/binaryninja-api/tree/dev/examples/x86_extension https://github.com/Vector35/binaryninja-api/blob/dev/python/examples/arch_hook.py The second method is to modify the existing open source architecture and either submit a PR or you can disable the built-in plugin and load your own in its place: |
Beta Was this translation helpful? Give feedback.
Yes, there are two ways. The first is using an architecture extension but that is useful for small changes to existing architectures:
https://github.com/Vector35/binaryninja-api/tree/dev/examples/x86_extension
https://github.com/Vector35/binaryninja-api/blob/dev/python/examples/arch_hook.py
The second method is to modify the existing open source architecture and either submit a PR or you can disable the built-in plugin and load your own in its place:
https://github.com/Vector35/arch-mips