uroboros-diversification/src/disasm/func_slicer.py
def check_text(self, e):
        """
        Check if function in .text section
        :param e: expression
        """
        if isinstance(e, Types.CallDes) and not e.is_lib:
            n = int(e.func_name[2:], 16)
            return self.text_b_addr <= n < self.text_e_addr
        return False

        Check if function in .text section
        :param e: expression
        
Check if function in .text section
Check if function in . text section
def check_text(self, e):
        if isinstance(e, Types.CallDes) and not e.is_lib:
            n = int(e.func_name[2:], 16)
            return self.text_b_addr <= n < self.text_e_addr
        return False
def check_text ( self , e ) : if isinstance ( e , Types . CallDes ) and not e . is_lib : n = int ( e . func_name [ 2 : ] , 16 ) return self . text_b_addr <= n < self . text_e_addr return False
Check if function in .text section
Check if function in . text section
"""
        Check if function in .text section
        :param e: expression
        """
self
e
None