You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BOLT] Bugfix: CFIs can be placed before the first Instruction
- This caused a crash when trying to Annotate RAState-changing CFIs
(RememberState, RestoreState, NegateRAState).
- The fix introduces an InitialRAState for each BinaryFunction.
- If we have a NegateRAState before the first Instr, we set that to
True.
- In MarkRAStates, we push the InitialRAState to the RAStateStack: as we
may have omitted the RememberState at the function start, its RestoreState
pair would try to pop an empty stack otherwise.
0 commit comments