* @brief Returns function from module. * * @return Requested function. If it is not in module return @c null. */
| 34 | * @return Requested function. If it is not in module return @c null. |
| 35 | */ |
| 36 | std::shared_ptr<Function> Module::getFunctionWithName(const std::string &name) const |
| 37 | { |
| 38 | return retdec::utils::mapGetValueOrDefault(functions, name); |
| 39 | } |
| 40 | |
| 41 | /** |
| 42 | * @brief Adds new function to module. |