Open DarrylC03 opened 4 years ago
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!
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.
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):
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: https://github.com/capstone-engine/capstone/issues/2015
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.
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.