(self, overlay_state=None)
Perform xref recovery on all functions.

        :param SimState overlay:    An overlay state for loading constant data.
        :return:                    None
Perform xref recovery on all functions.
Perform xref recovery on all functions .
def do_full_xrefs(self, overlay_state=None):
        """
        Perform xref recovery on all functions.

        :param SimState overlay:    An overlay state for loading constant data.
        :return:                    None
        """

        l.info("Building cross-references...")
        # Time to make our CPU hurt
        state = self.project.factory.blank_state() if overlay_state is None else overlay_state
        for f_addr in self.functions:
            f = None
            try:
                f = self.functions[f_addr]
                if f.is_simprocedure:
                    continue
                l.debug("\tFunction %s", f.name)
                # constant prop
                prop = self.project.analyses.Propagator(func=f, base_state=state)
                # Collect all the refs
                self.project.analyses.XRefs(func=f, replacements=prop.replacements)
            except Exception:  # pylint: disable=broad-except
                if f is not None:
                    l.exception("Error collecting XRefs for function %s.", f.name, exc_info=True)
                else:
                    l.exception("Error collecting XRefs for function %#x.", f_addr, exc_info=True)
def do_full_xrefs ( self , overlay_state = None ) : l . info ( "Building cross-references..." ) # Time to make our CPU hurt state = self . project . factory . blank_state ( ) if overlay_state is None else overlay_state for f_addr in self . functions : f = None try : f = self . functions [ f_addr ] if f . is_simprocedure : continue l . debug ( "\tFunction %s" , f . name ) # constant prop prop = self . project . analyses . Propagator ( func = f , base_state = state ) # Collect all the refs self . project . analyses . XRefs ( func = f , replacements = prop . replacements ) except Exception : # pylint: disable=broad-except if f is not None : l . exception ( "Error collecting XRefs for function %s." , f . name , exc_info = True ) else : l . exception ( "Error collecting XRefs for function %#x." , f_addr , exc_info = True )