LLVM  5.0.0
Functions | Variables
X86AsmInstrumentation.cpp File Reference
#include "X86AsmInstrumentation.h"
#include "MCTargetDesc/X86MCTargetDesc.h"
#include "X86Operand.h"
#include "llvm/ADT/Triple.h"
#include "llvm/ADT/Twine.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCDwarf.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstBuilder.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCParser/MCParsedAsmOperand.h"
#include "llvm/MC/MCParser/MCTargetAsmParser.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MCTargetOptions.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/SMLoc.h"
#include <algorithm>
#include <cassert>
#include <cstdint>
#include <limits>
#include <memory>
#include <vector>
Include dependency graph for X86AsmInstrumentation.cpp:

Go to the source code of this file.

Functions

static int64_t ApplyDisplacementBounds (int64_t Displacement)
 
static void CheckDisplacementBounds (int64_t Displacement)
 
static bool IsStackReg (unsigned Reg)
 
static bool IsSmallMemAccess (unsigned AccessSize)
 

Variables

static cl::opt< bool > ClAsanInstrumentAssembly ("asan-instrument-assembly", cl::desc("instrument assembly with AddressSanitizer checks"), cl::Hidden, cl::init(false))
 
static const int64_t MinAllowedDisplacement
 
static const int64_t MaxAllowedDisplacement
 

Function Documentation

static int64_t ApplyDisplacementBounds ( int64_t  Displacement)
static
static void CheckDisplacementBounds ( int64_t  Displacement)
static
static bool IsSmallMemAccess ( unsigned  AccessSize)
static

Definition at line 127 of file X86AsmInstrumentation.cpp.

static bool IsStackReg ( unsigned  Reg)
static

Definition at line 123 of file X86AsmInstrumentation.cpp.

Variable Documentation

cl::opt<bool> ClAsanInstrumentAssembly("asan-instrument-assembly", cl::desc("instrument assembly with AddressSanitizer checks"), cl::Hidden, cl::init(false))
static
const int64_t MaxAllowedDisplacement
static
Initial value:
=
GCNRegPressure max(const GCNRegPressure &P1, const GCNRegPressure &P2)

Definition at line 110 of file X86AsmInstrumentation.cpp.

Referenced by ApplyDisplacementBounds(), and CheckDisplacementBounds().

const int64_t MinAllowedDisplacement
static
Initial value:
=
Maximum length of the test input libFuzzer tries to guess a good value based on the corpus and reports it always prefer smaller inputs during the corpus shuffle When libFuzzer itself reports a bug this exit code will be used If indicates the maximal total time in seconds to run the fuzzer minimizes the provided crash input Use with tries to cleanse the provided crash input to make it contain fewer original bytes Use with exact_artifact_path to specify the output Experimental Use value profile to guide fuzzing Number of jobs to run If min(jobs, NumberOfCpuCores()/2)\" is used.") FUZZER_FLAG_INT(reload

Definition at line 108 of file X86AsmInstrumentation.cpp.

Referenced by ApplyDisplacementBounds(), and CheckDisplacementBounds().