summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/main.cpp
diff options
context:
space:
mode:
authorScott Constable <scott.d.constable@intel.com>2020-05-11 10:25:35 -0700
committerTom Stellard <tstellar@redhat.com>2020-06-24 09:31:04 -0700
commit363720c2b0f60b512c5f5b8bfbf010f86d078152 (patch)
tree997f055b25a0b6f44a34e5c2e3acc0e5e9adebd9 /lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/main.cpp
parent1d8639336d961f6d04142e935be5da16f24e4503 (diff)
downloadbcm5719-llvm-363720c2b0f60b512c5f5b8bfbf010f86d078152.tar.gz
bcm5719-llvm-363720c2b0f60b512c5f5b8bfbf010f86d078152.zip
[X86] Add a Pass that builds a Condensed CFG for Load Value Injection (LVI) Gadgets
Adds a new data structure, ImmutableGraph, and uses RDF to find LVI gadgets and add them to a MachineGadgetGraph. More specifically, a new X86 machine pass finds Load Value Injection (LVI) gadgets consisting of a load from memory (i.e., SOURCE), and any operation that may transmit the value loaded from memory over a covert channel, or use the value loaded from memory to determine a branch/call target (i.e., SINK). Also adds a new target feature to X86: +lvi-load-hardening The feature can be added via the clang CLI using -mlvi-hardening. Differential Revision: https://reviews.llvm.org/D75936
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud