jakev / dtfmods-core

Core content for Android device testing
Apache License 2.0
6 stars 2 forks source link

Update `classsearch` #43

Closed jakev closed 7 years ago

jakev commented 8 years ago

classsearch will be restructured to be more flexible and easy to use. It will be renamed as dexsearch going forward.

One such inprovement, is the ability to search frameworks/apps for strings (per capabilities added here: https://github.com/jakev/DexDumpSql/commit/d1367335af64af017529858be0bd0f11285f09a9).

analyst$ dtf dexsearch --apps --hasString "sys\.persist"
jakev commented 8 years ago

New dexdumpsql.jar merged: https://github.com/jakev/dtfmods-core/commit/28ef4a928f2d5ea336937e857edbd4fd819a6e74

jakev commented 8 years ago

I've been using a local dexsearch, the module that will ultimately replace classsearch, and I think I've decided on a format I want to use.

dexsearch will support the following sub commands:

Each of these will provide options to make it more powerful.

For example, searching for the method "openFile" in a class that implements ContentProvider:

$ dtf dexsearch m openFile --class-imp ContentProvider
jakev commented 8 years ago

This will also add a new library, DexDb, which will be used as a interface for searching through DEX databases.

jakev commented 7 years ago

Reopened in new repo: https://github.com/android-dtf/core_dex_db/issues/1