retdec
Static Public Member Functions | List of all members
retdec::llvmir2hll::HeadersForDeclaredFuncs Class Reference

Retrieval of header files for all the declared functions in a module. More...

#include <headers_for_declared_funcs.h>

Inheritance diagram for retdec::llvmir2hll::HeadersForDeclaredFuncs:
Inheritance graph
[legend]
Collaboration diagram for retdec::llvmir2hll::HeadersForDeclaredFuncs:
Collaboration graph
[legend]

Static Public Member Functions

static StringSet getHeaders (ShPtr< Module > module)
 Returns the header files for all the declared functions in module. More...
 
static bool hasAssocHeader (ShPtr< Module > module, ShPtr< Function > func)
 Returns true if the given function has associated a header file, false otherwise. More...
 

Additional Inherited Members

- Private Member Functions inherited from retdec::utils::NonCopyable
 NonCopyable (const NonCopyable &)=delete
 
NonCopyableoperator= (const NonCopyable &)=delete
 
 NonCopyable ()=default
 
 ~NonCopyable ()=default
 

Detailed Description

Retrieval of header files for all the declared functions in a module.

For more information, see the description of getHeaders().

This class implements the "static helper" (or "library") design pattern (it has just static functions and no public instances can be created).

Member Function Documentation

◆ getHeaders()

StringSet retdec::llvmir2hll::HeadersForDeclaredFuncs::getHeaders ( ShPtr< Module module)
static

Returns the header files for all the declared functions in module.

Parameters
[in]moduleModule in which the declarations are considered.

To obtain the header files, this the semantics used by module is utilized.

Preconditions
  • module is non-null

◆ hasAssocHeader()

bool retdec::llvmir2hll::HeadersForDeclaredFuncs::hasAssocHeader ( ShPtr< Module module,
ShPtr< Function func 
)
static

Returns true if the given function has associated a header file, false otherwise.


The documentation for this class was generated from the following files: