Lines Matching refs:elf_symbol

1677 // <elf_symbol stuff>
1678 struct elf_symbol::priv
1684 elf_symbol::type type_;
1685 elf_symbol::binding binding_;
1686 elf_symbol::version version_;
1687 elf_symbol::visibility visibility_;
1731 type_(elf_symbol::NOTYPE_TYPE),
1732 binding_(elf_symbol::GLOBAL_BINDING),
1733 visibility_(elf_symbol::DEFAULT_VISIBILITY),
1746 elf_symbol::type t,
1747 elf_symbol::binding b,
1750 const elf_symbol::version& ve,
1751 elf_symbol::visibility vi,
1774 }; // end struct elf_symbol::priv
1776 /// Constructor of the @ref elf_symbol type.
1779 /// it to create instances of @ref elf_symbol. Rather, client code
1780 /// should use the @ref elf_symbol::create() function to create
1781 /// instances of @ref elf_symbol instead.
1806 elf_symbol::elf_symbol(const environment& e,
1836 /// Factory of instances of @ref elf_symbol.
1838 /// This is the function to use to create instances of @ref elf_symbol.
1865 /// elf_symbol.
1867 elf_symbol::create(const environment& e,
1882 elf_symbol_sptr sym(new elf_symbol(e, i, s, n, t, b, d, c, ve, vi,
1896 textually_equals(const elf_symbol&l,
1897 const elf_symbol&r)
1919 /// elf_symbol.
1921 /// @return the enviroment used by the current instance of @ref elf_symbol.
1923 elf_symbol::get_environment() const
1930 elf_symbol::get_index() const
1937 elf_symbol::set_index(size_t s)
1940 /// Getter for the name of the @ref elf_symbol.
1944 elf_symbol::get_name() const
1947 /// Setter for the name of the current intance of @ref elf_symbol.
1951 elf_symbol::set_name(const string& n)
1957 /// Getter for the type of the current instance of @ref elf_symbol.
1960 elf_symbol::type
1961 elf_symbol::get_type() const
1964 /// Setter for the type of the current instance of @ref elf_symbol.
1968 elf_symbol::set_type(type t)
1975 elf_symbol::get_size() const
1982 elf_symbol::set_size(size_t size)
1985 /// Getter for the binding of the current instance of @ref elf_symbol.
1988 elf_symbol::binding
1989 elf_symbol::get_binding() const
1992 /// Setter for the binding of the current instance of @ref elf_symbol.
1996 elf_symbol::set_binding(binding b)
1999 /// Getter for the version of the current instanc of @ref elf_symbol.
2002 elf_symbol::version&
2003 elf_symbol::get_version() const
2006 /// Setter for the version of the current instance of @ref elf_symbol.
2010 elf_symbol::set_version(const version& v)
2017 /// elf_symbol.
2021 elf_symbol::set_visibility(visibility v)
2025 /// elf_symbol.
2028 elf_symbol::visibility
2029 elf_symbol::get_visibility() const
2032 /// Test if the current instance of @ref elf_symbol is defined or not.
2034 /// @return true if the current instance of @ref elf_symbol is
2037 elf_symbol::is_defined() const
2040 /// Sets a flag saying if the current instance of @ref elf_symbol is
2045 elf_symbol::is_defined(bool d)
2048 /// Test if the current instance of @ref elf_symbol is public or not.
2056 /// return true if the current instance of @ref elf_symbol is public,
2059 elf_symbol::is_public() const
2069 /// Test if the current instance of @ref elf_symbol is a function
2072 /// @return true if the current instance of @ref elf_symbol is a
2075 elf_symbol::is_function() const
2078 /// Test if the current instance of @ref elf_symbol is a variable
2081 /// @return true if the current instance of @ref elf_symbol is a
2084 elf_symbol::is_variable() const
2092 elf_symbol::is_in_ksymtab() const
2100 elf_symbol::set_is_in_ksymtab(bool is_in_ksymtab)
2107 elf_symbol::get_crc() const
2114 elf_symbol::set_crc(const abg_compat::optional<uint32_t>& crc)
2121 elf_symbol::get_namespace() const
2128 elf_symbol::set_namespace(const abg_compat::optional<std::string>& ns)
2137 elf_symbol::is_suppressed() const
2146 elf_symbol::set_is_suppressed(bool is_suppressed)
2153 /// elf_symbol::get_next_alias() method.
2163 /// Thus, when looping over the aliases of an elf_symbol A, detecting
2167 /// Accessing and adding aliases for instances of elf_symbol is done
2176 elf_symbol::get_main_symbol() const
2183 elf_symbol::get_main_symbol()
2190 elf_symbol::is_main_symbol() const
2197 elf_symbol::get_next_alias() const
2201 /// Check if the current elf_symbol has an alias.
2203 ///@return true iff the current elf_symbol has an alias.
2205 elf_symbol::has_aliases() const
2212 elf_symbol::get_number_of_aliases() const
2226 /// @param alias the new alias. Note that this elf_symbol should *NOT*
2229 elf_symbol::add_alias(const elf_symbol_sptr& alias)
2273 /// @return the new main elf_symbol
2275 elf_symbol::update_main_symbol(const std::string& name)
2308 elf_symbol::is_common_symbol() const
2324 elf_symbol::has_other_common_instances() const
2339 elf_symbol::get_next_common_instance() const
2350 elf_symbol::add_common_instance(const elf_symbol_sptr& common)
2383 /// Get a string that is representative of a given elf_symbol.
2395 elf_symbol::get_id_string() const
2422 elf_symbol::get_alias_from_name(const string& name) const
2444 elf_symbol::get_alias_which_equals(const elf_symbol& other) const
2465 elf_symbol::get_aliases_id_string(const string_elf_symbols_map_type& syms,
2497 elf_symbol::get_aliases_id_string(bool include_symbol_itself) const
2531 elf_symbol::get_name_and_version_from_id(const string& id,
2576 elf_symbol::operator==(const elf_symbol& other) const
2590 elf_symbol::does_alias(const elf_symbol& o) const
2608 /// Equality operator for smart pointers to elf_symbol.
2627 /// Inequality operator for smart pointers to elf_symbol.
2646 elf_symbols_alias(const elf_symbol& s1, const elf_symbol& s2)
2650 compute_aliases_for_elf_symbol(const elf_symbol& sym,
2688 elf_symbols_alias(const elf_symbol* s1, const elf_symbol* s2)
2715 operator<<(std::ostream& o, elf_symbol::type t)
2721 case elf_symbol::NOTYPE_TYPE:
2724 case elf_symbol::OBJECT_TYPE:
2727 case elf_symbol::FUNC_TYPE:
2730 case elf_symbol::SECTION_TYPE:
2733 case elf_symbol::FILE_TYPE:
2736 case elf_symbol::COMMON_TYPE:
2739 case elf_symbol::TLS_TYPE:
2742 case elf_symbol::GNU_IFUNC_TYPE:
2765 operator<<(std::ostream& o, elf_symbol::binding b)
2771 case elf_symbol::LOCAL_BINDING:
2774 case elf_symbol::GLOBAL_BINDING:
2777 case elf_symbol::WEAK_BINDING:
2780 case elf_symbol::GNU_UNIQUE_BINDING:
2796 /// Serialize an instance of @ref elf_symbol::visibility and stream it
2803 operator<<(std::ostream& o, elf_symbol::visibility v)
2809 case elf_symbol::DEFAULT_VISIBILITY:
2812 case elf_symbol::PROTECTED_VISIBILITY:
2815 case elf_symbol::HIDDEN_VISIBILITY:
2818 case elf_symbol::INTERNAL_VISIBILITY:
2835 /// elf_symbol::type.
2839 ///@param t the resulting elf_symbol::type.
2843 string_to_elf_symbol_type(const string& s, elf_symbol::type& t)
2846 t = elf_symbol::NOTYPE_TYPE;
2848 t = elf_symbol::OBJECT_TYPE;
2850 t = elf_symbol::FUNC_TYPE;
2852 t = elf_symbol::SECTION_TYPE;
2854 t = elf_symbol::FILE_TYPE;
2856 t = elf_symbol::COMMON_TYPE;
2858 t = elf_symbol::TLS_TYPE;
2860 t = elf_symbol::GNU_IFUNC_TYPE;
2868 /// elf_symbol::binding.
2872 /// @param b the resulting elf_symbol::binding.
2876 string_to_elf_symbol_binding(const string& s, elf_symbol::binding& b)
2879 b = elf_symbol::LOCAL_BINDING;
2881 b = elf_symbol::GLOBAL_BINDING;
2883 b = elf_symbol::WEAK_BINDING;
2885 b = elf_symbol::GNU_UNIQUE_BINDING;
2893 /// elf_symbol::visibility.
2897 /// @param b the resulting elf_symbol::visibility.
2901 string_to_elf_symbol_visibility(const string& s, elf_symbol::visibility& v)
2904 v = elf_symbol::DEFAULT_VISIBILITY;
2906 v = elf_symbol::PROTECTED_VISIBILITY;
2908 v = elf_symbol::HIDDEN_VISIBILITY;
2910 v = elf_symbol::INTERNAL_VISIBILITY;
2924 elf_symbol_is_function(elf_symbol::type t)
2925 {return t == elf_symbol::FUNC_TYPE;}
2934 elf_symbol_is_variable(elf_symbol::type t)
2935 {return t == elf_symbol::OBJECT_TYPE;}
2937 // <elf_symbol::version stuff>
2939 struct elf_symbol::version::priv
2953 }; // end struct elf_symbol::version::priv
2955 elf_symbol::version::version()
2962 elf_symbol::version::version(const string& v,
2967 elf_symbol::version::version(const elf_symbol::version& v)
2972 elf_symbol::version::~version() = default;
2977 elf_symbol::version::operator const string&() const
2984 elf_symbol::version::str() const
2991 elf_symbol::version::str(const string& s)
2998 elf_symbol::version::is_default() const
3005 elf_symbol::version::is_default(bool f)
3009 elf_symbol::version::is_empty() const
3018 elf_symbol::version::operator==(const elf_symbol::version& o) const
3027 elf_symbol::version::operator!=(const version& o) const
3035 elf_symbol::version&
3036 elf_symbol::version::operator=(const elf_symbol::version& o)
3043 // </elf_symbol::version stuff>
3045 // </elf_symbol stuff>