uroboros-diversification/src/analysis/share_lib_helper.py
def check_sec(self, addr):
        """
        Find the section an address belongs to
        :param addr: address
        :return: section object, None on failure
        """
        for h in self.sec:
            b = h.sec_begin_addr
            e = b + h.sec_size
            if b <= addr < e: return h
        return None

        Find the section an address belongs to
        :param addr: address
        :return: section object, None on failure
        
Find the section an address belongs to
Find the section an address belongs to
def check_sec(self, addr):
        for h in self.sec:
            b = h.sec_begin_addr
            e = b + h.sec_size
            if b <= addr < e: return h
        return None
def check_sec ( self , addr ) : for h in self . sec : b = h . sec_begin_addr e = b + h . sec_size if b <= addr < e : return h return None
Find the section an address belongs to
Find the section an address belongs to
"""
        Find the section an address belongs to
        :param addr: address
        :return: section object, None on failure
        """
section object, None on failure
section object None on failure
self
addr
None