Exploit database

GH-90ee35ea451d72b3be1eb23f54e9e44a

040840308-liu/icse2025-olasan-artifact

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2016-10271

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files4

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

SPEC-Performance/instrumentation-infra/llvm-passes/11.1.0/include/builtin/Utils/NoInstrument.h

Text · 1,349 bytes
#ifndef BUILTIN_NO_INSTRUMENT_H
#define BUILTIN_NO_INSTRUMENT_H

#include <llvm/IR/Value.h>
#include <llvm/IR/Module.h>
#include <llvm/IR/Function.h>
#include <llvm/ADT/StringRef.h>

#define NOINSTRUMENT_PREFIX "__noinstrument_"

bool isNoInstrument(llvm::Value *V);

void setNoInstrument(llvm::Value *V);

bool shouldInstrument(llvm::Function &F);

static inline bool shouldInstrument(llvm::Function *F) {
    assert(F);
    return !shouldInstrument(*F);
}

llvm::Function *createNoInstrumentFunction(llvm::Module &M,
                                           llvm::FunctionType *FnTy,
                                           llvm::StringRef Name,
                                           bool AlwaysInline=true);

llvm::Function *getNoInstrumentFunction(llvm::Module &M,
                                        llvm::StringRef Name,
                                        bool AllowMissing=false);

llvm::Function *getOrInsertNoInstrumentFunction(llvm::Module &M,
                                                llvm::StringRef Name,
                                                llvm::FunctionType *Ty);

llvm::GlobalVariable *getNoInstrumentGlobal(llvm::Module &M,
                                            llvm::StringRef Name,
                                            bool AllowMissing=false);

#endif // BUILTIN_NO_INSTRUMENT_H