dorneanu / smalisca

Static Code Analysis for Smali files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Empty db after parsing

philipphager opened this issue · comments

Hey!
I just tried smalisca, and while I found it very convenient to use (good job on that!),
my parsing results in an empty sqlite db.
I used apktool to convert an .apk to smali files and
then used smalisca like that:

smalisca parser -l /path/to/app/smali/ -s java -f sqlite -o /apk.sqlite -d 1

It parses without errors and commits the results, but the db is empty:

...
Exporting results to SQLite
:: INFO       	Extract classes ...
:: INFO       	Extract class properties ...
:: INFO       	Extract class const-strings ...
:: INFO       	Extract class methods ...
:: INFO       	Extract calls ...
:: INFO       	Commit changes to SQLite DB
:: INFO       	Wrote results to /apk.sqlite
:: INFO       Finished scanning

Nevermid, I forgot to change the suffix to smali... Works great!