[PATCH] D119296: KCFI sanitizer
Sami Tolvanen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 29 11:12:57 PDT 2022
samitolvanen updated this revision to Diff 418933.
samitolvanen added a comment.
Herald added subscribers: llvm-commits, pengfei, MaskRay, hiraditya.
Herald added projects: LLVM, All.
- Split the `kcfi_unchecked` attribute into a separate patch.
- Based on feedback from kernel developers, switched to 32-bit type identifiers, added the `llvm.kcfi.check` intrinsic with arch-specific lowering, and added sections for locating both type identifiers and traps.
- Addressed the remaining review comments.
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/CodeGenOptions.def
clang/include/clang/Basic/Features.def
clang/include/clang/Basic/Sanitizers.def
clang/include/clang/Driver/Options.td
clang/include/clang/Driver/SanitizerArgs.h
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/test/CodeGen/AArch64/kcfi-check.ll
llvm/test/CodeGen/X86/kcfi-check.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119296.418933.patch
Type: text/x-patch
Size: 39466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220329/56b5aac5/attachment-0001.bin>
More information about the cfe-commits
mailing list