[mips] Implement NaCl sandboxing of loads, stores and SP changes:

Press ? to show keyboard shortcuts.
Status
Audited
Auditors
dsanders
H39 MIPS Backend Audit Triggered Audit
Committed
sstankovicMar 10 2014, 1:34 PM
Differential Revision
D2904: Patch that adds address-masking instructions before loads and stores, and after the instructions that change stack-pointer.
Parents
rL203483: Make sure NVPTX doesn't emit symbol names that aren't valid in PTX.
Branches
Unknown
Tags
Unknown
Description

[mips] Implement NaCl sandboxing of loads, stores and SP changes:

  • Add masking instructions before loads and stores (in MC layer).
  • Add masking instructions after SP changes (in MC layer).
  • Forbid loads, stores and SP changes in delay slots (in MI layer).

Differential Revision: http://llvm-reviews.chandlerc.com/D2904

Apr 25 2014, 4:44 AM ยท #1
dsanders accepted this commit.

rL203484

llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCNaCl.h

Loading...

llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsNaClELFStreamer.cpp

Loading...

llvm/trunk/lib/Target/Mips/MipsDelaySlotFiller.cpp

Loading...

llvm/trunk/test/CodeGen/Mips/nacl-branch-delay.ll

Loading...

llvm/trunk/test/MC/Mips/nacl-mask.s

Loading...

Add Comment