Skip to content
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

Is this still supported/working #2

Open
DarrylC03 opened this issue Jul 23, 2020 · 4 comments
Open

Is this still supported/working #2

DarrylC03 opened this issue Jul 23, 2020 · 4 comments

Comments

@DarrylC03
Copy link

I have tried to build this and it will not build. Also the llvm-tricore distribution you reference will not build as well. Can you provide information on how to build a release. Any help would be greatly appreciated.

@sidneyp
Copy link
Collaborator

sidneyp commented Jul 23, 2020

Hello Darryl,
Sure! First, you need to install the llvm-tricore. I sent you the building command in the issue you sent there. I think this is the commands I used to build ditricore:

mkdir build-ditricore
cd build-ditricore
cmake -DCMAKE_CXX_COMPILER=g++-5 -DCMAKE_C_COMPILER=gcc-5 ../ditricore/
cmake --build .
cmake --build . --target all

I hope they work!

@XVilka
Copy link

XVilka commented Jun 21, 2023

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.

@XVilka
Copy link

XVilka commented Jun 21, 2023

We also use this new Capstone support (not yet released) in the capstone-ng branch of Rizin, which you can use for the high-level disassembly (opened https://github.com/hamma96/ERIKA-OS-on-TriCore/blob/master/out/erika3app.elf):

Screenshot 2023-06-21 at 14 29 38 Screenshot 2023-06-21 at 14 30 07 Screenshot 2023-06-21 at 18 01 07

It will take some time (a couple months probably) until capstone-ng will be merged into the dev and be a part of a new Rizin & Cutter release due to the incomplete auto-sync for other architectures, like ARM, PPC, etc: capstone-engine/capstone#2015

See rizinorg/rizin#3564

@XVilka
Copy link

XVilka commented Jan 14, 2024

Just a heads up - mainline Capstone now has merged Tricore support, and it's well-tested through Rizin. If you meet any bugs during the use (please be sure to use the capstone version from the next branch or Rizin from dev until capstone-6.0 and rizin-0.7.0 respective versions are released) - feel free to open an issue in the corresponding repositories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants