[PATCH] D119296: KCFI sanitizer
Sami Tolvanen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 6 15:02:28 PDT 2022
samitolvanen updated this revision to Diff 427764.
samitolvanen added a comment.
Based on LKML feedback:
- Fixed a bug in `Twine` usage.
- Changed AArch64 to encode register information into the ESR and dropped `.kcfi_traps` generation for the arch.
- Changed X86 to generate valid instructions for the type data.
- Dropped the `.kcfi_types` section entirely.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119296/new/
https://reviews.llvm.org/D119296
Files:
clang/docs/ClangCommandLineReference.rst
clang/docs/ControlFlowIntegrity.rst
clang/docs/UsersManual.rst
clang/include/clang/Basic/Features.def
clang/include/clang/Basic/Sanitizers.def
clang/lib/CodeGen/CGExpr.cpp
clang/lib/CodeGen/CodeGenFunction.h
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/CodeGenModule.h
clang/lib/Driver/SanitizerArgs.cpp
clang/lib/Driver/ToolChain.cpp
clang/test/CodeGen/kcfi.c
clang/test/Driver/fsanitize.c
llvm/include/llvm/CodeGen/AsmPrinter.h
llvm/include/llvm/IR/Intrinsics.td
llvm/include/llvm/MC/MCObjectFileInfo.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/MC/MCObjectFileInfo.cpp
llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/lib/Target/X86/X86AsmPrinter.cpp
llvm/lib/Target/X86/X86AsmPrinter.h
llvm/lib/Target/X86/X86InstrCompiler.td
llvm/lib/Target/X86/X86MCInstLower.cpp
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/test/CodeGen/AArch64/kcfi.ll
llvm/test/CodeGen/X86/kcfi.ll
llvm/test/Transforms/InstCombine/kcfi_check.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119296.427764.patch
Type: text/x-patch
Size: 38773 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220506/f295c101/attachment-0001.bin>
More information about the cfe-commits
mailing list