Skip to content

TriDis/ditricore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ditricore

A demo TriCore disassembler. Given a TriCore ELF file as input, we look into the symbol table for TriCore code mapping symbols. Available instructions are disassembled based on code symbols and printed to stdout. When symbol table is not found, disassembly is done using linear sweep similar to objdump.

Additionally, the tool displays some useful statistics such as the number of basic blocks, direct jumps and indirect jumps found in the binary.

Trying it

Build the project and try it on one of the binaries available here, for example:

./ditricore -t -f coreutils/echo

It's possible to use linear sweep directly using -l option.

Dependencies

The project depends on our forked Capstone disassembly library and on our llvm-tricore.

About

A demo TriCore disassembler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages