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 files31

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

clamav-0.99.3/libclamav/c++/llvm/include/llvm/MC/MachObjectWriter.h

Text · 1,270 bytes
//===-- llvm/MC/MachObjectWriter.h - Mach-O File Writer ---------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_MC_MACHOBJECTWRITER_H
#define LLVM_MC_MACHOBJECTWRITER_H

#include "llvm/MC/MCObjectWriter.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>

namespace llvm {
class MCAssembler;
class MCFragment;
class MCFixup;
class MCValue;
class raw_ostream;

class MachObjectWriter : public MCObjectWriter {
  void *Impl;

public:
  MachObjectWriter(raw_ostream &OS, bool Is64Bit, bool IsLittleEndian = true);
  virtual ~MachObjectWriter();

  virtual void ExecutePostLayoutBinding(MCAssembler &Asm);

  virtual void RecordRelocation(const MCAssembler &Asm,
                                const MCAsmLayout &Layout,
                                const MCFragment *Fragment,
                                const MCFixup &Fixup, MCValue Target,
                                uint64_t &FixedValue);

  virtual void WriteObject(const MCAssembler &Asm, const MCAsmLayout &Layout);
};

} // End llvm namespace

#endif