|
LLVM 22.0.0git
|
#include "WinCFGuard.h"#include "llvm/CodeGen/AsmPrinter.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineModuleInfo.h"#include "llvm/IR/InstrTypes.h"#include "llvm/IR/Module.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. | |
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 45 of file WinCFGuard.cpp.
References Call, llvm::dyn_cast(), F, G, llvm::isa(), Users, and llvm::Value::uses().
Referenced by llvm::WinCFGuard::endModule().