|Search symbol with the buckets and chains tables.
The hash computed from the symbol name gives an index in the buckets
table. The corresponding value in the bucket table is an index in the
symbols table and in the chains table.
If the corresponding symbol in the symbols table matches, we're done.
Otherwise, the corresponding value in the chains table is a new index
in both tables, which corresponding symbol is tested and so on and so
|Base class for ELF libraries. This class includes things that will be
common between SystemElfs and CustomElfs.
|TODO: Fill ElfLoader::Singleton.lastError on errors.
|Library Handle class for ELF libraries we don't let the system linker
|Return the current Android version, or 0 on failure.
|dlfcn.h replacement functions
|Android system headers have two different elf.h file. The one under linux/
is the most complete on older Android API versions without unified headers.
|Expand to 1 or m depending on whether there is one argument or more
|Close file ; equivalent to close(fd.forget())
|Helper class to mmap plain files.
|On architectures that are little endian and that support unaligned reads,
we can use direct type, but on others, we want to have a special class
to handle conversion and alignment issues.