uroboros-diversification/src/analysis/visit.py
def bb_instrs(self, b):
        """
        get the instruction list of the basic block
        :param b: the basic block needs to disassemble
        :return: the instructions list of 'b'
        """
        b_addr = b.bblock_begin_loc.loc_addr
        e_addr = b.bblock_end_loc.loc_addr
        b_idx = self._binary_search_instr_idx(b_addr, True)
        e_idx = self._binary_search_instr_idx(e_addr, False)
        assert b_idx >= 0 and e_idx >= 0 and b_idx <= e_idx, 'wrong block info (%d, %d)' % (b_idx, e_idx)
        res = self.instrs[b_idx:(e_idx + 1)]
        return res

        get the instruction list of the basic block
        :param b: the basic block needs to disassemble
        :return: the instructions list of 'b'
        
get the instruction list of the basic block
get the instruction list of the basic block
def bb_instrs(self, b):
        b_addr = b.bblock_begin_loc.loc_addr
        e_addr = b.bblock_end_loc.loc_addr
        b_idx = self._binary_search_instr_idx(b_addr, True)
        e_idx = self._binary_search_instr_idx(e_addr, False)
        assert b_idx >= 0 and e_idx >= 0 and b_idx <= e_idx, 'wrong block info (%d, %d)' % (b_idx, e_idx)
        res = self.instrs[b_idx:(e_idx + 1)]
        return res
def bb_instrs ( self , b ) : b_addr = b . bblock_begin_loc . loc_addr e_addr = b . bblock_end_loc . loc_addr b_idx = self . _binary_search_instr_idx ( b_addr , True ) e_idx = self . _binary_search_instr_idx ( e_addr , False ) assert b_idx >= 0 and e_idx >= 0 and b_idx <= e_idx , 'wrong block info (%d, %d)' % ( b_idx , e_idx ) res = self . instrs [ b_idx : ( e_idx + 1 ) ] return res
get the instruction list of the basic block
get the instruction list of the basic block
"""
        get the instruction list of the basic block
        :param b: the basic block needs to disassemble
        :return: the instructions list of 'b'
        """
the instructions list of 'b'
the instructions list of ' b '
self
b
the basic block needs to disassemble
the basic block needs to disassemble