(self, analyzed_addrs)
Process function hints in the binary.

        :return: None
Process function hints in the binary.
Process function hints in the binary .
def _process_hints(self, analyzed_addrs):
        """
        Process function hints in the binary.

        :return: None
        """

        # Function hints!
        # Now let's see how many new functions we can get here...
        while self._pending_function_hints:
            f = self._pending_function_hints.pop()
            if f not in analyzed_addrs:
                new_state = self.project.factory.entry_state(mode='fastpath')
                new_state.ip = new_state.solver.BVV(f, self.project.arch.bits)

                # TOOD: Specially for MIPS
                if new_state.arch.name in ('MIPS32', 'MIPS64'):
                    # Properly set t9
                    new_state.registers.store('t9', f)

                new_path_wrapper = CFGJob(f,
                                          new_state,
                                          self._context_sensitivity_level
                                          )
                self._insert_job(new_path_wrapper)
                self._register_analysis_job(f, new_path_wrapper)
                l.debug('Picking a function 0x%x from pending function hints.', f)
                self.kb.functions.function(new_path_wrapper.func_addr, create=True)
                break
def _process_hints ( self , analyzed_addrs ) : # Function hints! # Now let's see how many new functions we can get here... while self . _pending_function_hints : f = self . _pending_function_hints . pop ( ) if f not in analyzed_addrs : new_state = self . project . factory . entry_state ( mode = 'fastpath' ) new_state . ip = new_state . solver . BVV ( f , self . project . arch . bits ) # TOOD: Specially for MIPS if new_state . arch . name in ( 'MIPS32' , 'MIPS64' ) : # Properly set t9 new_state . registers . store ( 't9' , f ) new_path_wrapper = CFGJob ( f , new_state , self . _context_sensitivity_level ) self . _insert_job ( new_path_wrapper ) self . _register_analysis_job ( f , new_path_wrapper ) l . debug ( 'Picking a function 0x%x from pending function hints.' , f ) self . kb . functions . function ( new_path_wrapper . func_addr , create = True ) break