Crate ldcache_rs[][src]

Expand description

Library to parse ld.so.cache according to the numerous format define in glibc

This library doesn’t use any c bindings or doesn’t try to create a structure to match it over the data, it uses plain parsing and thus allow the definition of endianness. As parsing ld.so.cache is useful to get access to the symbol, the parsing is done stringently as well as fastly.

If you want to make a dirt cheap parser for ld.so.cache a simple call to strings /etc/ld.so.cache will do.

Structs

Cache
Entry

Enums

CacheError
TargetEndian

Constants

CURRENT_VERSION
HEADER
HEADER_LEN
LD_SO_CACHE
OLD_HEADER
OLD_VERSION
PADDING_NEW
PADDING_OLD
U8_SIZE
U32_SIZE
U64_SIZE
VERSION_SIZE