You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
...
The text was updated successfully, but these errors were encountered:
Feature
language
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 theprinter
,decoder
andreg_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
...
The text was updated successfully, but these errors were encountered: