mirror of
https://github.com/opnsense/src.git
synced 2026-04-08 19:06:52 -04:00
23 lines
641 B
C++
23 lines
641 B
C++
//== TaintManager.cpp ------------------------------------------ -*- C++ -*--=//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "clang/StaticAnalyzer/Core/PathSensitive/TaintManager.h"
|
|
|
|
using namespace clang;
|
|
using namespace ento;
|
|
|
|
void *ProgramStateTrait<TaintMap>::GDMIndex() {
|
|
static int index = 0;
|
|
return &index;
|
|
}
|
|
|
|
void *ProgramStateTrait<DerivedSymTaint>::GDMIndex() {
|
|
static int index;
|
|
return &index;
|
|
}
|