Skip to content

abenkhadra/dithumb

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 

dithumb

A demo ARM/Thumb disassembler. Given an ARM ELF file as input, we look into the symbol table for ARM code mapping symbols, namely, $a, $t, and $d. Available instructions are disassembled based on code symbols and printed to stdout. When symbol table is not found, disassmebly 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:

./dithumb -t -f coreutils/echo

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

Dependencies

The project depends on Capstone disassembly library.

About

Minimal ARM/Thumb linear sweep disassembler similar to objdump

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published