template <class Observer, ElfDynTag... Tags>
struct DynamicTagObserver
Defined at line 49 of file ../../src/lib/elfldltl/include/lib/elfldltl/dynamic.h
This is the base class for Dynamic*Observer classes.
Each Observer subclass should define these two methods:
* template
<class
DiagnosticsType, class Memory>
bool Observe(DiagnosticsType
&
diagnostics, Memory
&
memory,
DynamicTagMatch
<Tag
> tag, Addr val);
* template
<class
DiagnosticsType, class Memory>
bool Finish(DiagnosticsType
&
diagnostics, Memory
&
memory);
Observe will be called with each entry matching any Tag of the Tags... list.
Then Finish will be called at the end of all entries unless processing was
terminated early for some reason, in which case the observer object is
usually going to be destroyed without checking its results. Both return
false if processing the dynamic section should be terminated early.