MCPcopy Create free account
hub / github.com/avast/retdec / hasFunctionWithName

Method hasFunctionWithName

src/ctypes/module.cpp:26–29  ·  view source on GitHub ↗

* @brief Checks if module contains function. */

Source from the content-addressed store, hash-verified

24* @brief Checks if module contains function.
25*/
26bool Module::hasFunctionWithName(const std::string &name) const
27{
28 return retdec::utils::mapHasKey(functions, name);
29}
30
31/**
32* @brief Returns function from module.

Callers 5

TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 1

mapHasKeyFunction · 0.85

Tested by 5

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36