MCPcopy Create free account
hub / github.com/HexHive/NASS / GetFnPtr

Function GetFnPtr

fuzz/libfuzzer/FuzzerExtFunctionsWindows.cpp:60–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58
59template <typename T>
60static T *GetFnPtr(T *Fun, T *FunDef, const char *FnName, bool WarnIfMissing) {
61 if (Fun == FunDef) {
62 if (WarnIfMissing)
63 Printf("WARNING: Failed to find function \"%s\".\n", FnName);
64 return nullptr;
65 }
66 return Fun;
67}
68
69namespace fuzzer {
70

Callers

nothing calls this directly

Calls 1

PrintfFunction · 0.70

Tested by

no test coverage detected