[all-commits] [llvm/llvm-project] 470db5: [DFSan] Add flag to insert event callbacks.

Matt Morehouse via All-commits all-commits at lists.llvm.org
Thu Feb 27 17:14:49 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 470db54cbdf1ce65e7084aa42a8c5e9f1c41a9bd
      https://github.com/llvm/llvm-project/commit/470db54cbdf1ce65e7084aa42a8c5e9f1c41a9bd
  Author: Matt Morehouse <mascasa at google.com>
  Date:   2020-02-27 (Thu, 27 Feb 2020)

  Changed paths:
    A compiler-rt/test/dfsan/event_callbacks.c
    M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp

  Log Message:
  -----------
  [DFSan] Add flag to insert event callbacks.

Summary:
For now just insert the callback for stores, similar to how MSan tracks
origins.  In the future we may want to add callbacks for loads, memcpy,
function calls, CMPs, etc.

Reviewers: pcc, vitalybuka, kcc, eugenis

Reviewed By: vitalybuka, kcc, eugenis

Subscribers: eugenis, hiraditya, #sanitizers, llvm-commits, kcc

Tags: #sanitizers, #llvm

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




More information about the All-commits mailing list