Extending exisitng Architecture #3230
Answered
by
psifertex
clark-ja
asked this question in
Architectures
|
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... |
Answered by
psifertex
Jul 3, 2022
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: |
4 replies
Answer selected by
clark-ja
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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