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 files104
automateforceai/cve-2018-0202Revision 9964c381baf5
- ↑..Parent directory
- PBQP/
- SelectionDAG/
- AggressiveAntiDepBreaker.cpp
- AggressiveAntiDepBreaker.h
- Analysis.cpp
- AntiDepBreaker.h
- BranchFolding.cpp
- BranchFolding.h
- CMakeLists.txt
- CalcSpillWeights.cpp
- CallingConvLower.cpp
- CodePlacementOpt.cpp
- CriticalAntiDepBreaker.cpp
- CriticalAntiDepBreaker.h
- DeadMachineInstructionElim.cpp
- DwarfEHPrepare.cpp
- ELF.h
- ELFCodeEmitter.cpp
- ELFCodeEmitter.h
- ELFWriter.cpp
- ELFWriter.h
- GCMetadata.cpp
- GCMetadataPrinter.cpp
- GCStrategy.cpp
- IfConversion.cpp
- InlineSpiller.cpp
- IntrinsicLowering.cpp
- LLVMTargetMachine.cpp
- LatencyPriorityQueue.cpp
- LiveInterval.cpp
- LiveIntervalAnalysis.cpp
- LiveStackAnalysis.cpp
- LiveVariables.cpp
- LocalStackSlotAllocation.cpp
- LowerSubregs.cpp
- MachineBasicBlock.cpp
- MachineCSE.cpp
- MachineDominators.cpp
- MachineFunction.cpp
- MachineFunctionAnalysis.cpp
- MachineFunctionPass.cpp
- MachineFunctionPrinterPass.cpp
- MachineInstr.cpp
- MachineLICM.cpp
- MachineLoopInfo.cpp
- MachineModuleInfo.cpp
- MachineModuleInfoImpls.cpp
- MachinePassRegistry.cpp
- MachineRegisterInfo.cpp
- MachineSSAUpdater.cpp
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
clamav-0.99.3-fix/libclamav/c++/llvm/lib/CodeGen/MachineModuleInfoImpls.cpp
C++ · 1,678 bytes//===-- llvm/CodeGen/MachineModuleInfoImpls.cpp ---------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file implements object-file format specific implementations of
// MachineModuleInfoImpl.
//
//===----------------------------------------------------------------------===//
#include "llvm/CodeGen/MachineModuleInfoImpls.h"
#include "llvm/MC/MCSymbol.h"
using namespace llvm;
//===----------------------------------------------------------------------===//
// MachineModuleInfoMachO
//===----------------------------------------------------------------------===//
// Out of line virtual method.
void MachineModuleInfoMachO::Anchor() {}
void MachineModuleInfoELF::Anchor() {}
static int SortSymbolPair(const void *LHS, const void *RHS) {
typedef std::pair<MCSymbol*, MachineModuleInfoImpl::StubValueTy> PairTy;
const MCSymbol *LHSS = ((const PairTy *)LHS)->first;
const MCSymbol *RHSS = ((const PairTy *)RHS)->first;
return LHSS->getName().compare(RHSS->getName());
}
/// GetSortedStubs - Return the entries from a DenseMap in a deterministic
/// sorted orer.
MachineModuleInfoImpl::SymbolListTy
MachineModuleInfoImpl::GetSortedStubs(const DenseMap<MCSymbol*,
MachineModuleInfoImpl::StubValueTy>&Map) {
MachineModuleInfoImpl::SymbolListTy List(Map.begin(), Map.end());
if (!List.empty())
qsort(&List[0], List.size(), sizeof(List[0]), SortSymbolPair);
return List;
}