Beispiel #1
0
def cg(output,
       show,
       verbose,
       classname,
       methodname,
       descriptor,
       accessflag,
       no_isolated,
       apk):
    """
    Create a call graph and export it into a graph format.

    classnames are found in the type "Lfoo/bar/bla;".

    Example:

    \b
        $ androguard cg APK
    """
    androcg_main(verbose=verbose,
                 APK=apk,
                 classname=classname,
                 methodname=methodname,
                 descriptor=descriptor,
                 accessflag=accessflag,
                 no_isolated=no_isolated,
                 show=show,
                 output=output)
Beispiel #2
0
def cg(output,
       show,
       verbose,
       classname,
       methodname,
       descriptor,
       accessflag,
       no_isolated,
       apk):
    """
    Create a call graph and export it into a graph format.

    Example:

    \b
        $ androguard cg APK
    """
    androcg_main(verbose=verbose,
                 APK=apk,
                 classname=classname,
                 methodname=methodname,
                 descriptor=descriptor,
                 accessflag=accessflag,
                 no_isolated=no_isolated,
                 show=show,
                 output=output)
Beispiel #3
0
def main():
    parser = create_parser()
    args = parser.parse_args()
    androcg_main(args.verbose,
                 args.APK[0],
                 args.classname,
                 args.methodname,
                 args.descriptor,
                 args.accessflag,
                 args.no_isolated,
                 args.show,
                 args.output)
Beispiel #4
0
def cg(output, show, verbose, classname, methodname, descriptor, accessflag,
       no_isolated, apk):
    """
    Create a call graph and export it into a graph format.

    The default is to create a file called callgraph.gml in the current
    directory!

    classnames are found in the type "Lfoo/bar/bla;".

    Example:

    \b
        $ androguard cg examples/tests/hello-world.apk
    """
    androcg_main(verbose=verbose,
                 APK=apk,
                 classname=classname,
                 methodname=methodname,
                 descriptor=descriptor,
                 accessflag=accessflag,
                 no_isolated=no_isolated,
                 show=show,
                 output=output)
def main():
    parser = create_parser()
    args = parser.parse_args()
    androcg_main(args.verbose, args.APK[0], args.classname, args.methodname,
                 args.descriptor, args.accessflag, args.no_isolated, args.show,
                 args.output)