Storage for C functions.
More...
#include <module.h>
◆ Functions
◆ Module()
retdec::ctypes::Module::Module |
( |
const std::shared_ptr< Context > & |
context | ) |
|
|
explicit |
◆ addFunction()
void retdec::ctypes::Module::addFunction |
( |
const std::shared_ptr< Function > & |
function | ) |
|
Adds new function to module.
- Preconditions
-
◆ getContext()
std::shared_ptr< Context > retdec::ctypes::Module::getContext |
( |
| ) |
const |
◆ getFunctionWithName()
std::shared_ptr< Function > retdec::ctypes::Module::getFunctionWithName |
( |
const std::string & |
name | ) |
const |
Returns function from module.
- Returns
- Requested function. If it is not in module return
null
.
◆ hasFunctionWithName()
bool retdec::ctypes::Module::hasFunctionWithName |
( |
const std::string & |
name | ) |
const |
Checks if module contains function.
◆ context
std::shared_ptr<Context> retdec::ctypes::Module::context |
|
private |
Container for all functions and types.
◆ functions
Container for functions in this module.
The documentation for this class was generated from the following files:
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/include/retdec/ctypes/module.h
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/src/ctypes/module.cpp