Did I find the right examples for you? yes no

All Samples(22)  |  Call(22)  |  Derive(0)  |  Import(0)

        def vd_error(msg):
    print "\n " + msg
    sys.exit(2)
        


src/v/i/VirtualDeobfuscator-HEAD/cluster.py   VirtualDeobfuscator(Download)
    from collections import defaultdict
except ImportError:
    utils.vd_error("import defaultdict failed")
 
try:
    from collections import OrderedDict
except ImportError:
    utils.vd_error("import OrderedDict failed")
        else:
            print "<!> must have a unique cluster id ", cluster_id
            utils.vd_error("Internal error - add_cluster_id()")
 
 
        except:
            print "id, idx: ", id, idx
            utils.vd_error("idx out of range - compress_create_new_cluster()")
 
 
        out_s = va + " " + mnem.ljust(30) + "  " + thread + "\n"
    else:
        utils.vd_error("Make sure to declare a debugger -d switch")
 
    return out_s

src/v/i/VirtualDeobfuscator-HEAD/VirtualDeobfuscator.py   VirtualDeobfuscator(Download)
def pre_run(isClustering, testfile):
 
    # check version of python running
    if not sys.version_info[:2] == (2, 7):
        u.vd_error("U need python 2.7 installed to run Virtual Deobfuscator")
    # verify parameters are correct
    if not os.path.exists(runtrace):
        u.vd_error("No such runtrace file: " + runtrace)
 
    try:
    if run_clustering == False:
        if not os.path.exists(runtrace):
            u.vd_error("No such runtrace file: " + runtrace)
 
        if dbgr > 3:
            u.vd_error("Unknown <debugger>: supported OllyDbg 2.0 = 1, " \
 
        if build_sections and section <=0:
            u.vd_error("Cluster section filter must be greater than zero")
 
        try: