[all-commits] [llvm/llvm-project] a47d43: [dfsan] Propagate origins for callsites

Z via All-commits all-commits at lists.llvm.org
Fri Feb 26 11:13:23 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a47d435bc4307ca71612dd03f09f12f7ff6b461f
      https://github.com/llvm/llvm-project/commit/a47d435bc4307ca71612dd03f09f12f7ff6b461f
  Author: Jianzhou Zhao <jianzhouzh at google.com>
  Date:   2021-02-26 (Fri, 26 Feb 2021)

  Changed paths:
    M compiler-rt/lib/dfsan/dfsan.syms.extra
    M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
    A llvm/test/Instrumentation/DataFlowSanitizer/origin_abilist.ll
    A llvm/test/Instrumentation/DataFlowSanitizer/origin_call.ll

  Log Message:
  -----------
  [dfsan] Propagate origins for callsites

This is a part of https://reviews.llvm.org/D95835.

Each customized function has two wrappers. The
first one dfsw is for the normal shadow propagation. The second one dfso is used
when origin tracking is on. It calls the first one, and does additional
origin propagation. Which one to use can be decided at instrumentation
time. This is to ensure minimal additional overhead when origin tracking
is off.

Reviewed-by: morehouse

Differential Revision: https://reviews.llvm.org/D97483




More information about the All-commits mailing list