Analyzer

Analyzer

new Analyzer(encoding, finder)

Source:

Represents the Application map and the entrypoint for all analysis tasks

Parameters:
Name Type Description
encoding string

The file encoding to use when the bytecode is read (default: raw)

finder Finder

The instance of search engine

Methods

_updateWithEachFileOf()

Source:

cfg()

Source:
Deprecated:
  • Yes

findBasicBlocks()

Source:
Deprecated:
  • Yes

findBBbyLabel()

Source:
Deprecated:
  • Yes

To find a basic block by its label into a basic block list

flattening()

Source:
Deprecated:
  • Yes

getData()

Source:

To get the internal database

getInternalDB() → {AnalyzerDatabase}

Source:

To get the absolute DB

Returns:

DB instance

Type
AnalyzerDatabase

makeTree()

Source:
Deprecated:
  • Yes

Naive bb tree build by following only conditions and gotos (no try/catch, no switch, ...)

showBlock()

Source:
Deprecated:
  • Yes

Use by graph builder

showCFG()

Source:
Deprecated:
  • Yes

showCFG_old()

Source:
Deprecated:
  • Yes

Use by graph builder

system(path)

Source:

To analyze the decompiled class of Android.jar

Parameters:
Name Type Description
path String

Path of the folder containing .smali files

updateDataBlock()

Source:

To scan for new DataBlock and index them

updateFiles()

Source:
Deprecated:
  • Yes

updateWithClass(cls)

Source:

TODO

Parameters:
Name Type Description
cls Class

New class to insert into the model

useSyscalls(syscalls)

Source:

To initialize the list of syscalls to use

Parameters:
Name Type Description
syscalls *