angr/analyses/bindiff.py
def functions_probably_identical(self, func_a_addr, func_b_addr, check_consts=False):
        """
        Compare two functions and return True if they appear identical.

        :param func_a_addr: The address of the first function (in the first binary).
        :param func_b_addr: The address of the second function (in the second binary).
        :returns:           Whether or not the functions appear to be identical.
        """
        if self.cfg_a.project.is_hooked(func_a_addr) and self.cfg_b.project.is_hooked(func_b_addr):
            return self.cfg_a.project._sim_procedures[func_a_addr] == self.cfg_b.project._sim_procedures[func_b_addr]

        func_diff = self.get_function_diff(func_a_addr, func_b_addr)
        if check_consts:
            return func_diff.probably_identical_with_consts

        return func_diff.probably_identical

        Compare two functions and return True if they appear identical.

        :param func_a_addr: The address of the first function (in the first binary).
        :param func_b_addr: The address of the second function (in the second binary).
        :returns:           Whether or not the functions appear to be identical.
        
Compare two functions and return True if they appear identical.
Compare two functions and return True if they appear identical .
def functions_probably_identical(self, func_a_addr, func_b_addr, check_consts=False):
        if self.cfg_a.project.is_hooked(func_a_addr) and self.cfg_b.project.is_hooked(func_b_addr):
            return self.cfg_a.project._sim_procedures[func_a_addr] == self.cfg_b.project._sim_procedures[func_b_addr]
        func_diff = self.get_function_diff(func_a_addr, func_b_addr)
        if check_consts:
            return func_diff.probably_identical_with_consts
        return func_diff.probably_identical
def functions_probably_identical ( self , func_a_addr , func_b_addr , check_consts = False ) : if self . cfg_a . project . is_hooked ( func_a_addr ) and self . cfg_b . project . is_hooked ( func_b_addr ) : return self . cfg_a . project . _sim_procedures [ func_a_addr ] == self . cfg_b . project . _sim_procedures [ func_b_addr ] func_diff = self . get_function_diff ( func_a_addr , func_b_addr ) if check_consts : return func_diff . probably_identical_with_consts return func_diff . probably_identical
Compare two functions and return True if they appear identical.
Compare two functions and return True if they appear identical .
"""
        Compare two functions and return True if they appear identical.

        :param func_a_addr: The address of the first function (in the first binary).
        :param func_b_addr: The address of the second function (in the second binary).
        :returns:           Whether or not the functions appear to be identical.
        """
Whether or not the functions appear to be identical.
Whether or not the functions appear to be identical .
self
func_a_addr
The address of the first function (in the first binary).
The address of the first function ( in the first binary ) .
func_b_addr
The address of the second function (in the second binary).
The address of the second function ( in the second binary ) .
check_consts