workflow_objc
workflow_objc copied to clipboard
_objc_msgSend parser to call doesn't work when you have multiple function name
Lets say there are two class. Employee class and Student class. They are not related at all but they both have function called print. current _objc_msgSend resolver doesn't account for that and sets everyone function to just one function.
You can see below its calling a function from Student when Employee is not even related to it

I think it should only set the address when you know for sure which object it is. maybe do sink -> init source analysis to know which class it is. and only change the call when it is likely correct.