Skip to content

addr2line prints addresses in hex if given in decimal #2328

@catamorphism

Description

@catamorphism
$ wasm-tools addr2line --generate-dwarf lines foo.wasm 255 512
0xff: main foo.c:21:9
0x200: main foo.c:25:9

It's a bit unclear if this should be considered a bug or not, but I'm leaning towards thinking that if someone provides the addresses in decimal, they probably want to see the results in decimal.

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