Exploit databaseDownload repository ZIP
GH-1917e82ea4e17d91152ad921475048a4
automateforceai/cve-2018-0202
Sources for CVE-2018-0202
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files53
automateforceai/cve-2018-0202Revision 9964c381baf5
- ↑..Parent directory
- IPA/
- AliasAnalysis.cpp
- AliasAnalysisCounter.cpp
- AliasAnalysisEvaluator.cpp
- AliasDebugger.cpp
- AliasSetTracker.cpp
- Analysis.cpp
- BasicAliasAnalysis.cpp
- CFGPrinter.cpp
- CMakeLists.txt
- CaptureTracking.cpp
- ConstantFolding.cpp
- DbgInfoPrinter.cpp
- DebugInfo.cpp
- DomPrinter.cpp
- IVUsers.cpp
- InlineCost.cpp
- InstCount.cpp
- InstructionSimplify.cpp
- Interval.cpp
- IntervalPartition.cpp
- LazyValueInfo.cpp
- LibCallAliasAnalysis.cpp
- LibCallSemantics.cpp
- Lint.cpp
- LiveValues.cpp
- Loads.cpp
- LoopDependenceAnalysis.cpp
- LoopInfo.cpp
- LoopPass.cpp
- Makefile
- MemoryBuiltins.cpp
- MemoryDependenceAnalysis.cpp
- ModuleDebugInfoPrinter.cpp
- PHITransAddr.cpp
- PointerTracking.cpp
- PostDominators.cpp
- ProfileEstimatorPass.cpp
- ProfileInfo.cpp
- ProfileInfoLoader.cpp
- ProfileInfoLoaderPass.cpp
- ProfileVerifierPass.cpp
- README.txt
- RegionInfo.cpp
- RegionPrinter.cpp
- ScalarEvolution.cpp
- ScalarEvolutionAliasAnalysis.cpp
- ScalarEvolutionExpander.cpp
- ScalarEvolutionNormalization.cpp
- SparsePropagation.cpp
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
clamav-0.99.3-fix/libclamav/c++/llvm/lib/Analysis/Trace.cpp
C++ · 1,676 bytes//===- Trace.cpp - Implementation of Trace class --------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This class represents a single trace of LLVM basic blocks. A trace is a
// single entry, multiple exit, region of code that is often hot. Trace-based
// optimizations treat traces almost like they are a large, strange, basic
// block: because the trace path is assumed to be hot, optimizations for the
// fall-through path are made at the expense of the non-fall-through paths.
//
//===----------------------------------------------------------------------===//
#include "llvm/Analysis/Trace.h"
#include "llvm/Function.h"
#include "llvm/Assembly/Writer.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
using namespace llvm;
Function *Trace::getFunction() const {
return getEntryBasicBlock()->getParent();
}
Module *Trace::getModule() const {
return getFunction()->getParent();
}
/// print - Write trace to output stream.
///
void Trace::print(raw_ostream &O) const {
Function *F = getFunction();
O << "; Trace from function " << F->getNameStr() << ", blocks:\n";
for (const_iterator i = begin(), e = end(); i != e; ++i) {
O << "; ";
WriteAsOperand(O, *i, true, getModule());
O << "\n";
}
O << "; Trace parent function: \n" << *F;
}
/// dump - Debugger convenience method; writes trace to standard error
/// output stream.
///
void Trace::dump() const {
print(dbgs());
}