16#ifndef LIEF_ABSTRACT_FUNCTION_H
17#define LIEF_ABSTRACT_FUNCTION_H
65 Function(
const std::string& name, uint64_t address);
Class that represents a function in the binary.
Definition Abstract/Function.hpp:29
void address(uint64_t address)
Function & operator=(const Function &)
Function(const Function &)
Function(const std::string &name, uint64_t address)
std::set< FLAGS > flags_t
Definition Abstract/Function.hpp:59
FLAGS
Flags used to characterize the semantic of the function.
Definition Abstract/Function.hpp:33
void accept(Visitor &visitor) const override
Method so that the visitor can visit us.
std::vector< FLAGS > flags_list_t
Definition Abstract/Function.hpp:58
Function(const std::string &name)
friend std::ostream & operator<<(std::ostream &os, const Function &entry)
flags_list_t flags() const
List of FLAGS.
Function(uint64_t address)
uint64_t address() const
Address of the current function. For functions that are set with the FLAGS::IMPORTED flag,...
Function(const std::string &name, uint64_t address, const flags_list_t &flags)
Function & add(FLAGS f)
Add a flag to the current function.
This class represents a symbol in an executable format.
Definition Abstract/Symbol.hpp:28
Definition Visitor.hpp:225
LIEF namespace.
Definition Abstract/Binary.hpp:32
#define LIEF_API
Definition visibility.h:41