LLVM
15.0.0git
|
#include "ExecutionEngine/RuntimeDyld/RuntimeDyldCheckerImpl.h"
Public Member Functions | |
RuntimeDyldCheckerImpl (IsSymbolValidFunction IsSymbolValid, GetSymbolInfoFunction GetSymbolInfo, GetSectionInfoFunction GetSectionInfo, GetStubInfoFunction GetStubInfo, GetGOTInfoFunction GetGOTInfo, support::endianness Endianness, MCDisassembler *Disassembler, MCInstPrinter *InstPrinter, llvm::raw_ostream &ErrStream) | |
bool | check (StringRef CheckExpr) const |
bool | checkAllRulesInBuffer (StringRef RulePrefix, MemoryBuffer *MemBuf) const |
Friends | |
class | RuntimeDyldChecker |
class | RuntimeDyldCheckerExprEval |
Definition at line 16 of file RuntimeDyldCheckerImpl.h.
RuntimeDyldCheckerImpl::RuntimeDyldCheckerImpl | ( | IsSymbolValidFunction | IsSymbolValid, |
GetSymbolInfoFunction | GetSymbolInfo, | ||
GetSectionInfoFunction | GetSectionInfo, | ||
GetStubInfoFunction | GetStubInfo, | ||
GetGOTInfoFunction | GetGOTInfo, | ||
support::endianness | Endianness, | ||
MCDisassembler * | Disassembler, | ||
MCInstPrinter * | InstPrinter, | ||
llvm::raw_ostream & | ErrStream | ||
) |
Definition at line 703 of file RuntimeDyldChecker.cpp.
bool RuntimeDyldCheckerImpl::check | ( | StringRef | CheckExpr | ) | const |
Definition at line 716 of file RuntimeDyldChecker.cpp.
References llvm::dbgs(), LLVM_DEBUG, P, and llvm::StringRef::trim().
Referenced by checkAllRulesInBuffer().
bool RuntimeDyldCheckerImpl::checkAllRulesInBuffer | ( | StringRef | RulePrefix, |
MemoryBuffer * | MemBuf | ||
) | const |
Definition at line 728 of file RuntimeDyldChecker.cpp.
References check(), llvm::MemoryBuffer::getBufferEnd(), llvm::MemoryBuffer::getBufferStart(), llvm::StringRef::size(), llvm::StringRef::startswith(), llvm::StringRef::str(), and llvm::StringRef::substr().
|
friend |
Definition at line 17 of file RuntimeDyldCheckerImpl.h.
|
friend |
Definition at line 18 of file RuntimeDyldCheckerImpl.h.