libabigail
|
The symtab filter is the object passed to the symtab object in order to iterate over the symbols in the symtab while applying filters. More...
#include <abg-symtab-reader.h>
Public Member Functions | |
bool | matches (const elf_symbol &symbol) const |
symtab_filter implementations More... | |
void | set_functions (bool new_value=true) |
Enable or disable function filtering. More... | |
void | set_kernel_symbols (bool new_value=true) |
Enable or disable kernel symbol filtering. More... | |
void | set_public_symbols (bool new_value=true) |
Enable or disable public symbol filtering. More... | |
void | set_undefined_symbols (bool new_value=true) |
Enable or disable undefined symbol filtering. More... | |
void | set_variables (bool new_value=true) |
Enable or disable variable filtering. More... | |
The symtab filter is the object passed to the symtab object in order to iterate over the symbols in the symtab while applying filters.
The general idea is that it consists of a set of optionally enforced flags, such as 'functions' or 'variables'. If not set, those are not filtered for, neither inclusive nor exclusive. If set they are all ANDed together.
Definition at line 37 of file abg-symtab-reader.h.
bool matches | ( | const elf_symbol & | symbol | ) | const |
symtab_filter implementations
Determine whether a symbol is matching the filter criteria of this filter object. In terms of a filter functionality, you would _not_ filter out this symbol if it passes this (i.e. returns true).
symbol | The Elf symbol under test. |
Definition at line 45 of file abg-symtab-reader.cc.
|
inline |
Enable or disable function filtering.
new_value | whether to filter for functions |
Definition at line 50 of file abg-symtab-reader.h.
|
inline |
Enable or disable kernel symbol filtering.
new_value | whether to filter for kernel symbols |
Definition at line 78 of file abg-symtab-reader.h.
|
inline |
Enable or disable public symbol filtering.
new_value | whether to filter for public symbols |
Definition at line 64 of file abg-symtab-reader.h.
|
inline |
Enable or disable undefined symbol filtering.
new_value | whether to filter for undefined symbols |
Definition at line 71 of file abg-symtab-reader.h.
|
inline |
Enable or disable variable filtering.
new_value | whether to filter for variables |
Definition at line 57 of file abg-symtab-reader.h.