Skip to content
Commit fb6e8c5d authored by Rafael Auler's avatar Rafael Auler Committed by Maksim Panchenko
Browse files

Don't touch functions whose internal BBs are targets of interprocedural branches

Summary:
In a test binary, we found 8 cases where code in a function A would jump to the
middle of another function B. In this case, we cannot reorder function B because
this would change instruction offsets and break the program. This is pretty rare
but can happen in code written in assembly.

(cherry picked from FBD2719850)
parent 9a73a8c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment