llvm-project
b6b40e9a - [BOLT] Gadget scanner: reformulate the state for data-flow analysis (#131898)

Commit
224 days ago
[BOLT] Gadget scanner: reformulate the state for data-flow analysis (#131898) In preparation for implementing support for detection of non-protected call instructions, refine the definition of state which is computed for each register by data-flow analysis. Explicitly marking the registers which are known to be trusted at function entry is crucial for finding non-protected calls. In addition, it fixes less-common false negatives for pac-ret, such as `ret x1` in `f_nonx30_ret_non_auted` test case.
Author
Parents
Loading