Skip to content

read/pe: dynamic_symbols iterator is empty #457

@afonso360

Description

@afonso360

👋 Hey,

When reading Windows DLL's the dynamic_symbols() API returns an empty iterator. I tried running the objdump example and it correctly detects the symbols as Exports.

It also looks like its somewhat intentional?

object/src/read/pe/file.rs

Lines 244 to 247 in 40d77b2

CoffSymbolIterator {
file: &self.common,
// Hack: don't return any.
index: self.common.symbols.len(),

So I'm not sure if we should be using some other API?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions