ivision-research / banjo

Android Dex disassembler and Binary Ninja plugin
MIT License
52 stars 7 forks source link

Test more against baksmali #21

Open austin-ralls-cs opened 4 years ago

austin-ralls-cs commented 4 years ago

I've tested this against a relatively small corpus of dex files that I have lying around. It needs to be tested against way more.

Locally I've been using

#!/bin/sh

fn=$1
[ -z $fn ] && exit 1
bn=$(basename -s .dex -s .cdex "$fn")

set -e

time java -jar baksmali.jar d --parameter-registers false -o "$bn"_baksmali "$fn"
time disas_to_files.py -o "$bn"_banjo "$fn"
diff -r "$bn"_*