|
LLVM
10.0.0
|
#include "WinCFGuard.h"#include "llvm/CodeGen/AsmPrinter.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineModuleInfo.h"#include "llvm/CodeGen/MachineOperand.h"#include "llvm/IR/Constants.h"#include "llvm/IR/Metadata.h"#include "llvm/IR/Instructions.h"#include "llvm/MC/MCAsmInfo.h"#include "llvm/MC/MCObjectFileInfo.h"#include "llvm/MC/MCStreamer.h"#include <vector>Go to the source code of this file.
Functions | |
| static bool | isPossibleIndirectCallTarget (const Function *F) |
| Returns true if this function's address is escaped in a way that might make it an indirect call target. More... | |
Returns true if this function's address is escaped in a way that might make it an indirect call target.
Function::hasAddressTaken gives different results when a function is called directly with a function prototype mismatch, which requires a cast.
Definition at line 49 of file WinCFGuard.cpp.
References C, F(), llvm::Value::stripPointerCasts(), Users, and llvm::Value::uses().
Referenced by llvm::WinCFGuard::endModule().
1.8.13