struct Rel
Defined at line 464 of file ../../src/lib/elfldltl/include/lib/elfldltl/layout.h
These two classes are copied so that these types can be both easily
aggregate initialized and designated initialized. We can't have both
if we opt to use inheritance to save some code duplication in these
two classes. Note, Phdr and Sym types use inheritance in this way
and the syntax to aggregate initialize them is ugly {{}, fields...}.
In practice, those types are never aggregate initialized because their
layout differs between elf classes. The Rel types do not so we wish
for them to be easily aggregate initializable. Likewise, we want
these types to follow Phdr and Sym and be designated initializable
even if this pattern is unlikely to be used on these types.
Public Members
Addr offset
Addr info
static const auto kSymndxShift
static const auto kTypeMask
Public Methods
uint32_t symndx ()
Defined at line 465 of file ../../src/lib/elfldltl/include/lib/elfldltl/layout.h
uint32_t type ()
Defined at line 466 of file ../../src/lib/elfldltl/include/lib/elfldltl/layout.h
Addr MakeInfo (Addr sym_name, uint32_t type)
Defined at line 471 of file ../../src/lib/elfldltl/include/lib/elfldltl/layout.h