graph.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:bokken 作者: thestr4ng3r 项目源码 文件源码
def __init__(self, core, main):

        self.uicore = core
        self.main = main
        self.last_fcn = ''

        #dotcode = self.uicore.get_callgraph()
        #GObject.GObject.__init__(self, False, 1)
        # MEOW
        GObject.GObject.__init__(self)
        self.side_vb = Gtk.VBox(False, 1)
        self.side_hb = Gtk.HBox(False, 1)

        #self.dot_widget = DotWidget()
        self.dot_widget = mydot_widget.MyDotWidget(self.uicore, self.main)
        self.create_tree()
        self.create_preview()
        self.pack_start(self.dot_widget, True, True, 0)
        self.bar = graph_bar.GraphBar(self.dot_widget, self, self.uicore)
        #self.pack_start(self.bar, False, False, 0)
        self.side_hb.pack_start(self.bar, False, False, 1)
        if self.uicore.backend == 'radare':
            self.pack_start(self.side_vb, False, False, 1)
            self.side_hb.pack_start(self.sw, True, True, 1)
            self.side_vb.pack_start(self.side_hb, True, True, 1)
            self.side_vb.pack_start(self.preview, False, False, 0)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号