Exploit database

GH-1917e82ea4e17d91152ad921475048a4

automateforceai/cve-2018-0202

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2018-0202

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files13

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

clamav-0.99.3-fix/libclamav/c++/llvm/include/llvm/Transforms/Utils/FunctionUtils.h

Text · 1,283 bytes
//===-- Transform/Utils/FunctionUtils.h - Function Utils --------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This family of transformations manipulate LLVM functions.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_TRANSFORMS_UTILS_FUNCTION_H
#define LLVM_TRANSFORMS_UTILS_FUNCTION_H

#include <vector>

namespace llvm {
  class BasicBlock;
  class DominatorTree;
  class Function;
  class Loop;

  /// ExtractCodeRegion - rip out a sequence of basic blocks into a new function
  ///
  Function* ExtractCodeRegion(DominatorTree& DT,
                              const std::vector<BasicBlock*> &code,
                              bool AggregateArgs = false);

  /// ExtractLoop - rip out a natural loop into a new function
  ///
  Function* ExtractLoop(DominatorTree& DT, Loop *L,
                        bool AggregateArgs = false);

  /// ExtractBasicBlock - rip out a basic block into a new function
  ///
  Function* ExtractBasicBlock(BasicBlock *BB, bool AggregateArgs = false);
}

#endif