Ejemplo n.º 1
0
 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)
Ejemplo n.º 2
0
    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()
Ejemplo n.º 3
0
    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()
Ejemplo n.º 4
0
    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 = []
Ejemplo n.º 5
0
 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
Ejemplo n.º 6
0
 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
Ejemplo n.º 7
0
 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 = []
Ejemplo n.º 8
0
 def __init__(self, title, elements):
     GraphViewer.__init__(self, title, False)
     self.elements = elements
     self.nodes = {}
     self.added_names = []
Ejemplo n.º 9
0
Archivo: test_ida.py Proyecto: 8l/miasm
 def __init__(self, ir_arch, title, result):
     GraphViewer.__init__(self, title)
     print 'init'
     self.ir_arch = ir_arch
     self.result = result
     self.names = {}
Ejemplo n.º 10
0
Archivo: test_ida.py Proyecto: 8l/miasm
 def __init__(self, flow_graph, title, result):
     GraphViewer.__init__(self, title)
     print 'init'
     self.flow_graph = flow_graph
     self.result = result
     self.names = {}
Ejemplo n.º 11
0
 def __init__(self, callgraph):
     GraphViewer.__init__(self,
                          "Call graph of " + idaapi.get_root_filename())
     self.callgraph = callgraph
Ejemplo n.º 12
0
 def __init__(self, flow_graph, title, result):
     GraphViewer.__init__(self, title)
     print 'init'
     self.flow_graph = flow_graph
     self.result = result
     self.names = {}
Ejemplo n.º 13
0
 def __init__(self, title, result):
     GraphViewer.__init__(self, title)
     self.result = result
     self.names  = {} # ea -> name
Ejemplo n.º 14
0
	def __init__(self, graph):
		GraphViewer.__init__(self, "Recomp", True)
                self.g = graph
Ejemplo n.º 15
0
 def __init__(self, title, classes):
     self.classes = self.transitive_reduction(classes)
     GraphViewer.__init__(self, title)
Ejemplo n.º 16
0
 def __init__(self, title, result):
     GraphViewer.__init__(self, title)
     self.result = result
     self.names  = {} # ea -> name
Ejemplo n.º 17
0
 def __init__(self, bm):
     GraphViewer.__init__(self, 'BBL graph')
     self.bm=bm
Ejemplo n.º 18
0
 def __init__(self, bm, level=1):
     GraphViewer.__init__(self, 'BBL graph')
     self.bm = bm
     self.level = level
Ejemplo n.º 19
0
 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
Ejemplo n.º 21
0
 def __init__(self, title, elements):
     GraphViewer.__init__(self, title, False)
     self.elements = elements
     self.nodes = {}
     self.added_names = []
 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
Ejemplo n.º 23
0
 def __init__(self, ir_arch, title, result):
     GraphViewer.__init__(self, title)
     print 'init'
     self.ir_arch = ir_arch
     self.result = result
     self.names = {}
Ejemplo n.º 24
0
 def __init__(self, flow_graph, title):
     GraphViewer.__init__(self, title)
     self.flow_graph = flow_graph
     self.result = None
     self.names = {}