-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CS_ARCH_TRICORE? #1
Comments
Hello! TriCore is not official in capstone framework. We have llvm-tricore and a forked repository of aquynh/capstone. I updated the README.md saying that those are our dependencies. If you install our capstone and llvm-tricore as stated in README.md, the ditricore is going to work. |
cool! thanks I will try it. BTW. Would be great if you could send pull req to capstone so they officially support tricore. |
@arkup The full support of Tricore was added into the mainstream capstone: https://github.com/capstone-engine/capstone/tree/next/arch/TriCore Feel free to try and report any bugs if there are any. See also #2 (comment) |
@XVilka Thank you for adding support for Tricore. I conducted a quick test, and it works fine, well done. There is one thing I dislike : the "%" symbol prepended to the registry name. |
@imbillow what do you think about that? It's different from other architectures in Rizin as well, maybe we could change it before the 5.0 release? |
cc @XVilka I referred to the disassembly style of objdump, which can be easily changed if desired. However, considering that the existing tests are also in this style, it feels a bit troublesome. |
Objdump uses AT&T style by default, while many prefer Intel style, which is the default everywhere else outside binutils.
Maybe some simple python script could help with renaming? @wargio @ret2libc @thestr4ng3r do you have any opinion on the matter? |
we could implement it |
@wargio implement what? Sorry I don't understand without details. |
Add the implementation to change the "assembly style". this should be an easy task in any language. |
If most other architectures, like ARM, are using the style with |
@imbillow so, I guess the consensus that removing |
@kabeor please wait for this before tagging |
@XVilka Sure. I was going to release at Saturday morning. |
I'm sorry. Due to some personal matters at home, I will not be able to submit code for the next few days (estimated 3-7 days). |
@imbillow Don't worry, we can wait for it. |
No worries, I will do it tonight. |
By the way, in most cases, just modifying 'TriCoreInsnPrinter.c' will be enough, which should be fairly easy. |
Sent a PR here: capstone-engine/capstone#2067 |
Hi, which fork of the capstone framework are you using? I see in the src:
err_no = cs_open(CS_ARCH_TRICORE, (cs_mode)0, handle);
but capstone is not official supporting tricore(?)
The text was updated successfully, but these errors were encountered: