diff options
author | Scott Constable <scott.d.constable@intel.com> | 2020-04-03 12:12:51 -0700 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2020-06-24 09:31:04 -0700 |
commit | e3ba468fc3c123880cfd03dfbc9d1ed61d5904c6 (patch) | |
tree | f6c12a064fd12233966a2d7968f736db35379d14 /lldb/packages/Python/lldbsuite/test/sample_test/TestSampleInlineTest.py | |
parent | 6a4589599d74cae8c4ac7b0ff7ae14aeeb2f988b (diff) | |
download | bcm5719-llvm-e3ba468fc3c123880cfd03dfbc9d1ed61d5904c6.tar.gz bcm5719-llvm-e3ba468fc3c123880cfd03dfbc9d1ed61d5904c6.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/sample_test/TestSampleInlineTest.py')
0 files changed, 0 insertions, 0 deletions