1ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks//== TaintTag.h - Path-sensitive "State" for tracking values -*- C++ -*--=//
2ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks//
3ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks//                     The LLVM Compiler Infrastructure
4ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks//
5ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks// This file is distributed under the University of Illinois Open Source
6ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks// License. See LICENSE.TXT for details.
7ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks//
8ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks//===----------------------------------------------------------------------===//
9ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks//
10ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks// Defines a set of taint tags. Several tags are used to differentiate kinds
11ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks// of taint.
12ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks//
13ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks//===----------------------------------------------------------------------===//
14ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks#ifndef LLVM_CLANG_TAINTTAG_H
15ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks#define LLVM_CLANG_TAINTTAG_H
16ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks
17ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaksnamespace clang {
18ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaksnamespace ento {
19ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks
20ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks/// The type of taint, which helps to differentiate between different types of
21ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks/// taint.
22ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zakstypedef unsigned TaintTagType;
23ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaksstatic const TaintTagType TaintTagGeneric = 0;
24ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks
25ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks}}
26ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks
27ceac1d6e0521161adf7ac9834b1a7ad79d73fea4Anna Zaks#endif
28