[PATCH] D119296: KCFI sanitizer

Joao Moreira via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 21 17:15:34 PDT 2022


joaomoreira added a comment.

Oh, one other tiny detail I forgot to mention. I noticed that the tag is pushing the functions 6 bytes forward, regardless of any prepending padding nops that were added to ensure 16b alignment. It would be cool to care about the proper function alignment and also to not emit dummy padding nops when the padding area can be filled with the tag itself.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119296/new/

https://reviews.llvm.org/D119296



More information about the llvm-commits mailing list