asr::file_format::elf

Function symbols

Source
pub fn symbols(
    process: &Process,
    module_address: Address,
) -> impl FusedIterator<Item = Symbol> + '_
Expand description

Recovers and iterates over the exported symbols for a given module. Returns an empty iterator if no symbols are exported into the current module.

By using this function, the user must be aware of the following limitations:

  • Only allocatable symbols and symbols used by the dynamic linker are exported (.symtab is not loaded in memory at runtime)
  • Only 64-bit ELFs are supported (an empty iterator will be returned for 32-bit ELFs)