def __init__(self, parent, info, close_open=True): self.cur_arena = parent.cur_arena self.heap = parent.heap self.info = info self.bin_type = info['type'] self.SetCurrentRendererType(idaapi.TCCRT_GRAPH) GraphViewer.__init__(self, self.title, close_open)
def __init__(self, title, father, session): GraphViewer.__init__(self, title, False) self.father = father self.result = session self.nodes = {} self.totals = {} self.last_level = [] self.max_level = 3 self.parents = False self.is_new_father = False self.old_father = False self.show_runtime_functions = True self.show_string = True self.commands = {} self.hidden = [] self.mynav = None # initialize ubigraph self.ubi_vertex = [] self.ubi_callback_srv_addr = "http://" + ubiconfig.ubi_local_addr + ":11631/RPC2/vertex_callback" print "[+] FunctionsBrowser.__init__()" UbiConnect()
def __init__(self, title, nodes, start, target, hits=[]): GraphViewer.__init__(self, title, False) if type(start) is not type([]): self.start = [start] else: self.start = start if type(target) is not type([]): self.target = [target] else: self.target = target self.result = nodes self.nodes = {} self.added = [] self.hits = []
def __init__(self, title, father, session): GraphViewer.__init__(self, title, False) self.father = father self.result = session self.nodes = {} self.totals = {} self.last_level = [] self.max_level = 3 self.parents = False self.is_new_father = False self.old_father = False self.show_runtime_functions = True self.show_string = True self.commands = {} self.hidden = [] self.mynav = None
def __init__(self, title, nodes, start, target, hits = []): GraphViewer.__init__(self, title, False) if type(start) is not type([]): self.start = [start] else: self.start = start if type(target) is not type([]): self.target = [target] else: self.target = target self.result = nodes self.nodes = {} self.added = [] self.hits = []
def __init__(self, title, elements): GraphViewer.__init__(self, title, False) self.elements = elements self.nodes = {} self.added_names = []
def __init__(self, ir_arch, title, result): GraphViewer.__init__(self, title) print 'init' self.ir_arch = ir_arch self.result = result self.names = {}
def __init__(self, flow_graph, title, result): GraphViewer.__init__(self, title) print 'init' self.flow_graph = flow_graph self.result = result self.names = {}
def __init__(self, callgraph): GraphViewer.__init__(self, "Call graph of " + idaapi.get_root_filename()) self.callgraph = callgraph
def __init__(self, title, result): GraphViewer.__init__(self, title) self.result = result self.names = {} # ea -> name
def __init__(self, graph): GraphViewer.__init__(self, "Recomp", True) self.g = graph
def __init__(self, title, classes): self.classes = self.transitive_reduction(classes) GraphViewer.__init__(self, title)
def __init__(self, bm): GraphViewer.__init__(self, 'BBL graph') self.bm=bm
def __init__(self, bm, level=1): GraphViewer.__init__(self, 'BBL graph') self.bm = bm self.level = level
def __init__(self, funcname, result): GraphViewer.__init__(self, "call graph of " + funcname) self.funcname = funcname self.result = result
def __init__(self, juice): if juice is not None: GraphViewer.__init__( self, 'Diassassembly for procedure %s of %s' % (juice['procName'], juice['binary_id'])) self.juice = juice
def __init__(self, juice): if juice is not None: GraphViewer.__init__(self, 'Diassassembly for procedure %s of %s' % (juice['procName'], juice['binary_id'])) self.juice = juice
def __init__(self, flow_graph, title): GraphViewer.__init__(self, title) self.flow_graph = flow_graph self.result = None self.names = {}