Description
Feature
- New architecture module
- Support for processor extension
- Add more instruction details (elaborated below)
- Binding support for:
language
- Other (elaborated below)
Describe the feature you'd like
One of the most annoying things are, that we have no automated way of translate namespace yet.
Some arch modules have function with the same name. And we have make all of them static, otherwise we get linking issues due to duplicated symbols.
The best way is probably to compile each module separately and link it accordingly, if possible. Currently CMake just adds everything to "capstone".
Or at least the LLVM code should be it's own compilation unit. Auto-Sync modules have the ARCHLinkage.h
file. With the printer
, decoder
and reg_name
APIs to the module.
So we can make it a compilation unit.
Or we have to move the declarations to the C files and make all of them static. Which is really annoying to patch. So this is not the way we should go if avoidable.
Additional context
...